syzbot


BUG: using __this_cpu_read() in preemptible code in __vmalloc_node_range (6)

Status: auto-closed as invalid on 2019/02/22 13:39
First crash: 2464d, last: 2420d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 BUG: using __this_cpu_read() in preemptible code in __vmalloc_node_range 17 2417d 2455d 0/2 auto-closed as invalid on 2019/02/22 13:09
android-49 BUG: using __this_cpu_read() in preemptible code in __vmalloc_node_range 3 2474d 2475d 0/3 closed as invalid on 2018/02/12 10:58
android-49 BUG: using __this_cpu_read() in preemptible code in __vmalloc_node_range (2) 1 2472d 2472d 0/3 closed as invalid on 2018/02/14 08:58
android-49 BUG: using __this_cpu_read() in preemptible code in __vmalloc_node_range (5) 1 2466d 2466d 0/3 closed as invalid on 2018/02/20 14:58
android-49 BUG: using __this_cpu_read() in preemptible code in __vmalloc_node_range (4) 1 2469d 2469d 0/3 closed as invalid on 2018/02/17 08:58
android-49 BUG: using __this_cpu_read() in preemptible code in __vmalloc_node_range (3) 1 2471d 2471d 0/3 closed as invalid on 2018/02/15 07:58

Sample crash report:
syz-executor6: vmalloc: allocation failure: 13214045484 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM)
CPU: 1 PID: 6746 Comm: syz-executor6 Not tainted 4.9.92-g4fb542f #2
BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor1/6755
caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801a0f877c8 ffffffff81d9c509 1ffff100341f0efb ffff8801bd67b000
 ffffffff83ab98e0 0000000000000001 0000000000400000 ffff8801a0f87910
 ffffffff81560fcc 0000000041b58ab3 ffffffff841a8ca8 ffffffff814504f0
Call Trace:
 [<ffffffff81d9c509>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d9c509>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff81560fcc>] warn_alloc.cold.123+0xd5/0x141 mm/page_alloc.c:3056
 [<ffffffff814fbce7>] __vmalloc_node_range+0x357/0x5f0 mm/vmalloc.c:1722
 [<ffffffff814fc04b>] __vmalloc_node mm/vmalloc.c:1744 [inline]
 [<ffffffff814fc04b>] __vmalloc_node_flags mm/vmalloc.c:1758 [inline]
 [<ffffffff814fc04b>] vmalloc+0x5b/0x70 mm/vmalloc.c:1773
 [<ffffffff8315b1f1>] xt_alloc_entry_offsets+0x41/0x60 net/netfilter/x_tables.c:728
 [<ffffffff833a36ce>] translate_table+0x2fe/0x1b40 net/ipv4/netfilter/arp_tables.c:552
 [<ffffffff833aa6cb>] do_replace net/ipv4/netfilter/arp_tables.c:990 [inline]
 [<ffffffff833aa6cb>] do_arpt_set_ctl+0x2cb/0x5c0 net/ipv4/netfilter/arp_tables.c:1469
 [<ffffffff830bbead>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline]
 [<ffffffff830bbead>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114
 [<ffffffff8322590a>] ip_setsockopt+0x9a/0xb0 net/ipv4/ip_sockglue.c:1249
 [<ffffffff832457a8>] tcp_setsockopt+0x88/0xe0 net/ipv4/tcp.c:2755
 [<ffffffff82efa75a>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2706
 [<ffffffff82ef7516>] SYSC_setsockopt net/socket.c:1772 [inline]
 [<ffffffff82ef7516>] SyS_setsockopt+0x166/0x260 net/socket.c:1751
 [<ffffffff81006316>] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 [<ffffffff838d58d3>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
CPU: 0 PID: 6755 Comm: syz-executor1 Not tainted 4.9.92-g4fb542f #2
Mem-Info:
active_anon:84628 inactive_anon:41 isolated_anon:0
 active_file:3809 inactive_file:8535 isolated_file:0
 unevictable:0 dirty:203 writeback:0 unstable:0
 slab_reclaimable:7122 slab_unreclaimable:58604
 mapped:73939 shmem:49 pagetables:1066 bounce:0
 free:1389690 free_pcp:417 free_cma:0
Node 0 active_anon:338512kB inactive_anon:164kB active_file:15236kB inactive_file:34140kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:295756kB dirty:812kB writeback:0kB shmem:196kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 139264kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
DMA free:15908kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
DMA32 free:2979936kB min:30592kB low:38240kB high:45888kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129292kB managed:2980696kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:760kB local_pcp:712kB free_cma:0kB
Normal free:2562916kB min:36824kB low:46028kB high:55232kB active_anon:338512kB inactive_anon:164kB active_file:15236kB inactive_file:34140kB unevictable:0kB writepending:812kB present:4718592kB managed:3585212kB mlocked:0kB slab_reclaimable:28488kB slab_unreclaimable:234416kB kernel_stack:5888kB pagetables:4264kB bounce:0kB free_pcp:908kB local_pcp:480kB free_cma:0kB
DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB
Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
12392 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap  = 0kB
Total swap = 0kB
1965969 pages RAM
0 pages HighMem/MovableOnly
320515 pages reserved
device lo entered promiscuous mode
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d8607638 ffffffff81d9c509 0000000000000000 ffffffff83c19e20
 ffffffff83f49320 ffff88019e6f9800 0000000000000003 ffff8801d8607678
 ffffffff81e51fb0 ffff8801d8607690 ffffffff83f49320 ffff8801d055af00
Call Trace:
 [<ffffffff81d9c509>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d9c509>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff81e51fb0>] check_preemption_disabled.cold.0+0x7f/0x8b lib/smp_processor_id.c:46
 [<ffffffff81e0407c>] __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
 [<ffffffff83412b36>] ipcomp_alloc_tfms net/xfrm/xfrm_ipcomp.c:286 [inline]
 [<ffffffff83412b36>] ipcomp_init_state+0x186/0x920 net/xfrm/xfrm_ipcomp.c:363
 [<ffffffff8337ffe3>] ipcomp4_init_state+0xb3/0x7c0 net/ipv4/ipcomp.c:137
 [<ffffffff833f1d69>] __xfrm_init_state+0x3f9/0xb50 net/xfrm/xfrm_state.c:2096
 [<ffffffff833f24da>] xfrm_init_state+0x1a/0x20 net/xfrm/xfrm_state.c:2122
 [<ffffffff8358c029>] pfkey_msg2xfrm_state net/key/af_key.c:1289 [inline]
 [<ffffffff8358c029>] pfkey_add+0x1ea9/0x3240 net/key/af_key.c:1506
 [<ffffffff83582e11>] pfkey_process+0x671/0x740 net/key/af_key.c:2834
 [<ffffffff83584636>] pfkey_sendmsg+0x346/0xae0 net/key/af_key.c:3678
 [<ffffffff82ef3fcc>] sock_sendmsg_nosec net/socket.c:635 [inline]
 [<ffffffff82ef3fcc>] sock_sendmsg+0xcc/0x110 net/socket.c:645
 [<ffffffff82ef5a6c>] ___sys_sendmsg+0x6fc/0x840 net/socket.c:1969
 [<ffffffff82ef7ad9>] __sys_sendmsg+0xd9/0x190 net/socket.c:2003
 [<ffffffff82ef7bbd>] SYSC_sendmsg net/socket.c:2014 [inline]
 [<ffffffff82ef7bbd>] SyS_sendmsg+0x2d/0x50 net/socket.c:2010
 [<ffffffff81006316>] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 [<ffffffff838d58d3>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
device lo left promiscuous mode
device lo entered promiscuous mode
device lo left promiscuous mode
device lo entered promiscuous mode
netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'.
netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'.
netlink: 40 bytes leftover after parsing attributes in process `syz-executor4'.
netlink: 40 bytes leftover after parsing attributes in process `syz-executor4'.
netlink: 40 bytes leftover after parsing attributes in process `syz-executor4'.
binder: 6984:6985 got transaction with invalid offset (56, min 0 max 64) or object.
binder: 6984:6985 transaction failed 29201/-22, size 64-8 line 3196
binder: BINDER_SET_CONTEXT_MGR already set
binder: 6984:6985 ioctl 40046207 0 returned -16
binder_alloc: 6984: binder_alloc_buf, no vma
binder: 6984:6986 transaction failed 29189/-3, size 64-8 line 3133
binder: undelivered TRANSACTION_ERROR: 29189
binder: undelivered TRANSACTION_ERROR: 29201
syz-executor6 uses obsolete (PF_INET,SOCK_PACKET)
PF_BRIDGE: RTM_NEWNEIGH with unknown ifindex
PF_BRIDGE: RTM_NEWNEIGH with unknown ifindex
device bridge0 entered promiscuous mode
PF_BRIDGE: RTM_NEWNEIGH with invalid ifindex
PF_BRIDGE: RTM_NEWNEIGH with invalid ifindex
binder: 7131:7133 tried to acquire reference to desc 0, got 1 instead
binder: tried to use weak ref as strong ref
binder: 7131:7133 got transaction to invalid handle
binder: 7131:7133 transaction failed 29201/-22, size 0-0 line 3010
binder: BINDER_SET_CONTEXT_MGR already set
binder: 7131:7133 ioctl 40046207 0 returned -16
binder: BINDER_SET_CONTEXT_MGR already set
binder: 7131:7133 ioctl 40046207 0 returned -16
binder: undelivered TRANSACTION_ERROR: 29201
Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
binder: 7213:7216 ioctl 4b65 0 returned -22
binder: BINDER_SET_CONTEXT_MGR already set
binder: 7213:7217 ioctl 4b65 0 returned -22
binder_alloc: 7213: binder_alloc_buf, no vma
binder: 7213:7218 transaction failed 29189/-3, size 40-8 line 3133
binder: 7213:7216 ioctl 40046207 0 returned -16
binder: undelivered TRANSACTION_ERROR: 29189
binder: release 7213:7216 transaction 23 out, still active
binder: unexpected work type, 4, not freed
binder: undelivered TRANSACTION_COMPLETE
binder: send failed reply for transaction 23, target dead
binder_alloc: binder_alloc_mmap_handler: 7227 20000000-20002000 already mapped failed -16
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
binder: BINDER_SET_CONTEXT_MGR already set
binder: 7284:7285 ioctl 40046207 0 returned -16
binder: 7247:7294 unknown command 1793
binder: 7247:7294 ioctl c0306201 20000040 returned -22
binder: 7247:7294 BC_FREE_BUFFER u000000002000c000 no match
binder: 7247:7294 ioctl c0306201 20004000 returned -14
binder: BINDER_SET_CONTEXT_MGR already set
binder: 7247:7306 ioctl 40046207 0 returned -16
binder_alloc: binder_alloc_mmap_handler: 7247 2000c000-2000e000 already mapped failed -16
binder: 7247:7306 BC_FREE_BUFFER u000000002000c000 no match
binder: 7247:7294 unknown command 1793
binder: 7247:7294 ioctl c0306201 20000040 returned -22
binder: 7284:7315 transaction failed 29189/-22, size 0-0 line 3010
binder_alloc: binder_alloc_mmap_handler: 7284 20000000-20001000 already mapped failed -16
binder_alloc: 7284: binder_alloc_buf, no vma
binder: 7284:7316 transaction failed 29189/-3, size 0-0 line 3133
binder: undelivered TRANSACTION_ERROR: 29189
IPVS: Creating netns size=2536 id=14
IPVS: Creating netns size=2536 id=15
Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable
binder: BINDER_SET_CONTEXT_MGR already set
binder: 7375:7379 ioctl 40046207 0 returned -16
Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/07 05:30 https://android.googlesource.com/kernel/common android-4.9 4fb542f2aa14 d613535f .config console log report ci-android-49-kasan-gce
2018/04/04 21:50 https://android.googlesource.com/kernel/common android-4.9 13b40d327b49 676bd07e .config console log report ci-android-49-kasan-gce
2018/04/04 20:20 https://android.googlesource.com/kernel/common android-4.9 13b40d327b49 676bd07e .config console log report ci-android-49-kasan-gce
2018/04/01 00:14 https://android.googlesource.com/kernel/common android-4.9 9c3fb9cd6e63 0174c6c8 .config console log report ci-android-49-kasan-gce
2018/03/31 23:19 https://android.googlesource.com/kernel/common android-4.9 9c3fb9cd6e63 0174c6c8 .config console log report ci-android-49-kasan-gce
2018/03/24 13:46 https://android.googlesource.com/kernel/common android-4.9 e34e3186e9e3 2e9d9054 .config console log report ci-android-49-kasan-gce
2018/03/24 03:35 https://android.googlesource.com/kernel/common android-4.9 ebc27895e954 2e9d9054 .config console log report ci-android-49-kasan-gce
2018/03/23 20:14 https://android.googlesource.com/kernel/common android-4.9 ebc27895e954 2e9d9054 .config console log report ci-android-49-kasan-gce
2018/03/22 15:18 https://android.googlesource.com/kernel/common android-4.9 960923fdc278 2e9d9054 .config console log report ci-android-49-kasan-gce
2018/03/21 10:53 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 113a43ff .config console log report ci-android-49-kasan-gce
2018/03/20 11:17 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 7e7d7ed2 .config console log report ci-android-49-kasan-gce
2018/03/19 22:14 https://android.googlesource.com/kernel/common android-4.9 bb52bba67e35 7e7d7ed2 .config console log report ci-android-49-kasan-gce
2018/03/19 19:09 https://android.googlesource.com/kernel/common android-4.9 bb52bba67e35 7e7d7ed2 .config console log report ci-android-49-kasan-gce
2018/03/19 17:55 https://android.googlesource.com/kernel/common android-4.9 bb52bba67e35 7e7d7ed2 .config console log report ci-android-49-kasan-gce
2018/03/14 10:45 https://android.googlesource.com/kernel/common android-4.9 97d7f1c7c0f0 08dacaa0 .config console log report ci-android-49-kasan-gce
2018/03/13 10:46 https://android.googlesource.com/kernel/common android-4.9 a2904940bde8 08dacaa0 .config console log report ci-android-49-kasan-gce
2018/03/12 03:00 https://android.googlesource.com/kernel/common android-4.9 a2904940bde8 36d1c454 .config console log report ci-android-49-kasan-gce
2018/03/11 12:31 https://android.googlesource.com/kernel/common android-4.9 00db063b0f88 36d1c454 .config console log report ci-android-49-kasan-gce
2018/03/09 16:33 https://android.googlesource.com/kernel/common android-4.9 00db063b0f88 36d1c454 .config console log report ci-android-49-kasan-gce
2018/03/08 06:49 https://android.googlesource.com/kernel/common android-4.9 d3a2afb9382e d50edb7e .config console log report ci-android-49-kasan-gce
2018/03/08 03:29 https://android.googlesource.com/kernel/common android-4.9 d3a2afb9382e d50edb7e .config console log report ci-android-49-kasan-gce
2018/03/02 04:08 https://android.googlesource.com/kernel/common android-4.9 4c4262aa50dc 2c6f473e .config console log report ci-android-49-kasan-gce
2018/02/27 21:13 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/24 02:39 https://android.googlesource.com/kernel/common android-4.9 72766d75b085 5c1e0207 .config console log report ci-android-49-kasan-gce
2018/02/22 16:52 https://android.googlesource.com/kernel/common android-4.9 7595d550012d 02fb4232 .config console log report ci-android-49-kasan-gce
2018/02/22 09:14 https://android.googlesource.com/kernel/common android-4.9 7595d550012d 04cbdbd1 .config console log report ci-android-49-kasan-gce
2018/04/06 07:22 https://android.googlesource.com/kernel/common android-4.9 7cd956196346 a932eae6 .config console log report ci-android-49-kasan-gce-386
2018/03/22 01:00 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 95c88d7a .config console log report ci-android-49-kasan-gce-386
2018/03/16 13:06 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/07 14:41 https://android.googlesource.com/kernel/common android-4.9 b324a701539e a5e76540 .config console log report ci-android-49-kasan-gce-386
2018/03/04 21:57 https://android.googlesource.com/kernel/common android-4.9 e0b05e693a9d 2c6f473e .config console log report ci-android-49-kasan-gce-386
2018/03/03 00:01 https://android.googlesource.com/kernel/common android-4.9 f67385227a42 2c6f473e .config console log report ci-android-49-kasan-gce-386
2018/02/27 14:14 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.