syzbot


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

Status: closed as invalid on 2018/02/15 07:58
First crash: 2250d, last: 2250d
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 2196d 2233d 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 (6) 33 2198d 2242d 0/3 auto-closed as invalid on 2019/02/22 13:39
android-49 BUG: using __this_cpu_read() in preemptible code in __vmalloc_node_range 3 2252d 2253d 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 2250d 2250d 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 2244d 2244d 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 2248d 2248d 0/3 closed as invalid on 2018/02/17 08:58

Sample crash report:
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801c03af828 ffffffff81d94e69 1ffff10038075f08 ffff8801b9d71800[   49.355106] BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor2/9470
caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
 ffffffff83ab9320 0000000000000001 0000000000400000 ffff8801c03af938
 ffffffff81451df2 024000c200000003 0000000041b58ab3 ffffffff8419579d
Call Trace:
 [<ffffffff81d94e69>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d94e69>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff81451df2>] warn_alloc+0x212/0x240 mm/page_alloc.c:3056
 [<ffffffff814ffdc5>] __vmalloc_node_range+0x3f5/0x5f0 mm/vmalloc.c:1722
 [<ffffffff8150008b>] __vmalloc_node mm/vmalloc.c:1744 [inline]
 [<ffffffff8150008b>] __vmalloc_node_flags mm/vmalloc.c:1758 [inline]
 [<ffffffff8150008b>] vmalloc+0x5b/0x70 mm/vmalloc.c:1773
 [<ffffffff831412e1>] xt_alloc_entry_offsets+0x41/0x60 net/netfilter/x_tables.c:722
 [<ffffffff8338f09a>] translate_table+0x2da/0x1cd0 net/ipv4/netfilter/arp_tables.c:549
 [<ffffffff810002b8>] ? 0xffffffff810002b8
 [<ffffffff83394d87>] do_replace net/ipv4/netfilter/arp_tables.c:986 [inline]
 [<ffffffff83394d87>] do_arpt_set_ctl+0x2b7/0x650 net/ipv4/netfilter/arp_tables.c:1465
 [<ffffffff830a1e57>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline]
 [<ffffffff830a1e57>] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114
 [<ffffffff83212111>] ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1248
 [<ffffffff83231bb2>] tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2746
 [<ffffffff82ede295>] sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2706
 [<ffffffff82edb250>] SYSC_setsockopt net/socket.c:1772 [inline]
 [<ffffffff82edb250>] SyS_setsockopt+0x160/0x250 net/socket.c:1751
 [<ffffffff81006505>] do_syscall_64+0x1a5/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b3dbd>] entry_SYSCALL_64_after_swapgs+0x47/0xc5
CPU: 0 PID: 9470 Comm: syz-executor2 Not tainted 4.9.81-g1a93831 #33
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801ba9af418 ffffffff81d94e69 0000000000000000 ffffffff83c18e00
 ffffffff83f45ae0 ffff8801c2658000 0000000000000003 ffff8801ba9af458
 ffffffff81dfc464 ffff8801ba9af470 ffffffff83f45ae0 dffffc0000000000
Call Trace:
 [<ffffffff81d94e69>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d94e69>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff81dfc464>] check_preemption_disabled+0x1d4/0x200 lib/smp_processor_id.c:46
 [<ffffffff81dfc4cc>] __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62
 [<ffffffff833fd268>] ipcomp_alloc_tfms net/xfrm/xfrm_ipcomp.c:286 [inline]
 [<ffffffff833fd268>] ipcomp_init_state+0x188/0x930 net/xfrm/xfrm_ipcomp.c:363
 [<ffffffff83513875>] ipcomp6_init_state+0xb5/0x820 net/ipv6/ipcomp6.c:165
 [<ffffffff833db957>] __xfrm_init_state+0x3e7/0xb30 net/xfrm/xfrm_state.c:2096
 [<ffffffff833faab6>] xfrm_state_construct net/xfrm/xfrm_user.c:590 [inline]
 [<ffffffff833faab6>] xfrm_add_sa+0x1916/0x2e40 net/xfrm/xfrm_user.c:639
 [<ffffffff833eb0fd>] xfrm_user_rcv_msg+0x40d/0x6a0 net/xfrm/xfrm_user.c:2525
 [<ffffffff8309552e>] netlink_rcv_skb+0x13e/0x370 net/netlink/af_netlink.c:2351
 [<ffffffff833e75ff>] xfrm_netlink_rcv+0x6f/0x90 net/xfrm/xfrm_user.c:2533
 [<ffffffff830940b1>] netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline]
 [<ffffffff830940b1>] netlink_unicast+0x511/0x750 net/netlink/af_netlink.c:1301
 [<ffffffff83094bd8>] netlink_sendmsg+0x8e8/0xc50 net/netlink/af_netlink.c:1847
 [<ffffffff82ed7baa>] sock_sendmsg_nosec net/socket.c:635 [inline]
 [<ffffffff82ed7baa>] sock_sendmsg+0xca/0x110 net/socket.c:645
 [<ffffffff82ed97c1>] ___sys_sendmsg+0x6d1/0x7e0 net/socket.c:1969
 [<ffffffff82edb7f6>] __sys_sendmsg+0xd6/0x190 net/socket.c:2003
 [<ffffffff82edb8dd>] SYSC_sendmsg net/socket.c:2014 [inline]
 [<ffffffff82edb8dd>] SyS_sendmsg+0x2d/0x50 net/socket.c:2010
 [<ffffffff81006505>] do_syscall_64+0x1a5/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b3dbd>] entry_SYSCALL_64_after_swapgs+0x47/0xc5
IPVS: Creating netns size=2536 id=13
Mem-Info:
active_anon:59972 inactive_anon:41 isolated_anon:0
 active_file:3545 inactive_file:8602 isolated_file:0
 unevictable:0 dirty:48 writeback:0 unstable:0
 slab_reclaimable:6683 slab_unreclaimable:59852
 mapped:24074 shmem:48 pagetables:706 bounce:0
 free:1467712 free_pcp:378 free_cma:0
Node 0 active_anon:243820kB inactive_anon:164kB active_file:14180kB inactive_file:34408kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:96296kB dirty:192kB writeback:0kB shmem:192kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 102400kB 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
lowmem_reserve[]: 0 2908 6410 6410
DMA32 free:2979952kB 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:2980720kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:768kB local_pcp:720kB free_cma:0kB
lowmem_reserve[]: 0 0 3501 3501
Normal free:2887464kB min:36824kB low:46028kB high:55232kB active_anon:227396kB inactive_anon:156kB active_file:14180kB inactive_file:34444kB unevictable:0kB writepending:216kB present:4718592kB managed:3585212kB mlocked:0kB slab_reclaimable:26724kB slab_unreclaimable:239476kB kernel_stack:5792kB pagetables:2700kB bounce:0kB free_pcp:1084kB local_pcp:468kB free_cma:0kB
lowmem_reserve[]: 0 0 0 0
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
DMA32: 2*4kB (M) 3*8kB (M) 1*16kB (M) 2*32kB (M) 2*64kB (M) 3*128kB (M) 2*256kB (M) 4*512kB (M) 1*1024kB (M) 1*2048kB (M) 726*4096kB (M) = 2979952kB
Normal: 260*4kB (UME) 261*8kB (UME) 174*16kB (UME) 67*32kB (UME) 120*64kB (UME) 41*128kB (UME) 8*256kB (M) 5*512kB (UM) 7*1024kB (UME) 3*2048kB (M) 695*4096kB (M) = 2885624kB
Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
12202 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
320509 pages reserved
SELinux: unrecognized netlink message: protocol=6 nlmsg_type=0 sclass=netlink_xfrm_socket pig=9600 comm=syz-executor4
SELinux: unrecognized netlink message: protocol=6 nlmsg_type=0 sclass=netlink_xfrm_socket pig=9607 comm=syz-executor4
binder_alloc: binder_alloc_mmap_handler: 9656 2021d000-2021f000 already mapped failed -16
binder_alloc: binder_alloc_mmap_handler: 9656 2021d000-2021f000 already mapped failed -16
binder_alloc: binder_alloc_mmap_handler: 9695 2033d000-2033e000 already mapped failed -16
binder: 9811:9814 ioctl c0406400 20de5000 returned -22
binder: 9811:9814 ERROR: BC_REGISTER_LOOPER called without request
binder: 9811:9830 ioctl 8915 20de6000 returned -22
binder: 9811:9830 ERROR: BC_REGISTER_LOOPER called without request
binder: 9811:9840 ioctl c0406400 20de5000 returned -22
binder: 9811:9830 ERROR: BC_REGISTER_LOOPER called without request
binder: 9811:9840 ioctl 8915 20de6000 returned -22
binder: 9811:9844 ERROR: BC_REGISTER_LOOPER called without request
IPv4: Oversized IP packet from 127.0.0.1
binder_alloc: binder_alloc_mmap_handler: 9851 20000000-20002000 already mapped failed -16
IPv4: Oversized IP packet from 127.0.0.1
binder: 10032:10038 got transaction with fd, 0, but target does not allow fds
binder: 10032:10038 transaction failed 29201/-1, size 72-16 line 3269
binder_alloc: binder_alloc_mmap_handler: 10032 20000000-20002000 already mapped failed -16
binder_alloc: 10032: binder_alloc_buf, no vma
binder: BINDER_SET_CONTEXT_MGR already set
binder: 10032:10038 ioctl 40046207 0 returned -16
binder: 10032:10041 transaction failed 29189/-3, size 72-16 line 3127
binder: undelivered TRANSACTION_ERROR: 29189
binder: undelivered TRANSACTION_ERROR: 29201
netlink: 17 bytes leftover after parsing attributes in process `syz-executor4'.
netlink: 17 bytes leftover after parsing attributes in process `syz-executor4'.
netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'.
netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'.
netlink: 64 bytes leftover after parsing attributes in process `syz-executor1'.
netlink: 64 bytes leftover after parsing attributes in process `syz-executor1'.
binder_alloc: 10382: binder_alloc_buf, no vma
binder: 10382:10391 transaction failed 29189/-3, size 0-0 line 3127
binder: BINDER_SET_CONTEXT_MGR already set
binder: 10382:10404 ioctl 40046207 0 returned -16
binder_alloc: 10382: binder_alloc_buf, no vma
binder: 10382:10404 transaction failed 29189/-3, size 0-0 line 3127
binder: undelivered TRANSACTION_ERROR: 29189
binder: undelivered TRANSACTION_ERROR: 29189
context_struct_compute_av: 11 callbacks suppressed
SELinux:  Invalid class 85
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=62174 sclass=netlink_route_socket pig=10443 comm=syz-executor5
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=62174 sclass=netlink_route_socket pig=10450 comm=syz-executor5
audit: type=1400 audit(1518645525.670:56): avc:  denied  { setgid } for  pid=10671 comm="syz-executor3" capability=6  scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1
device gre0 entered promiscuous mode
device gre0 entered promiscuous mode
audit: type=1400 audit(1518645526.050:57): avc:  denied  { setuid } for  pid=10762 comm="syz-executor7" capability=7  scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 1 PID: 10937 Comm: syz-executor4 Not tainted 4.9.81-g1a93831 #33
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d4e57860 ffffffff81d94e69 ffff8801d4e57b40 0000000000000000
 ffff8801c2675910 ffff8801d4e57a30 ffff8801c2675800 ffff8801d4e57a58
 ffffffff8166268a 0000000000003af1 ffff8801d517d0f0 ffff8801d517d0a0
Call Trace:
 [<ffffffff81d94e69>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d94e69>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8166268a>] handle_userfault+0xa3a/0x1310 fs/userfaultfd.c:323
 [<ffffffff814d0ef1>] do_anonymous_page mm/memory.c:2747 [inline]
 [<ffffffff814d0ef1>] handle_pte_fault mm/memory.c:3488 [inline]
 [<ffffffff814d0ef1>] __handle_mm_fault mm/memory.c:3577 [inline]
 [<ffffffff814d0ef1>] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614
 [<ffffffff810de642>] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1407
 [<ffffffff810dede7>] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470
 [<ffffffff838b4f48>] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:939
 [<ffffffff81006505>] do_syscall_64+0x1a5/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b3dbd>] entry_SYSCALL_64_after_swapgs+0x47/0xc5
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 0 PID: 10937 Comm: syz-executor4 Not tainted 4.9.81-g1a93831 #33
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d4e57860 ffffffff81d94e69 ffff8801d4e57b40 0000000000000000
 ffff8801bd2ceb90 ffff8801d4e57a30 ffff8801bd2cea80 ffff8801d4e57a58
 ffffffff8166268a 0000000000003af1 ffff8801d517d0f0 ffff8801d517d0a0
Call Trace:
 [<ffffffff81d94e69>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d94e69>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8166268a>] handle_userfault+0xa3a/0x1310 fs/userfaultfd.c:323
 [<ffffffff814d0ef1>] do_anonymous_page mm/memory.c:2747 [inline]
 [<ffffffff814d0ef1>] handle_pte_fault mm/memory.c:3488 [inline]
 [<ffffffff814d0ef1>] __handle_mm_fault mm/memory.c:3577 [inline]
 [<ffffffff814d0ef1>] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614
 [<ffffffff810de642>] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1407
 [<ffffffff810dede7>] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470
 [<ffffffff838b4f48>] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:939
 [<ffffffff81006505>] do_syscall_64+0x1a5/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b3dbd>] entry_SYSCALL_64_after_swapgs+0x47/0xc5
SELinux: unrecognized netlink message: protocol=9 nlmsg_type=82 sclass=netlink_audit_socket pig=11026 comm=syz-executor4
SELinux: unrecognized netlink message: protocol=9 nlmsg_type=82 sclass=netlink_audit_socket pig=11029 comm=syz-executor4
skbuff: bad partial csum: csum=65535/1 len=45
binder_alloc: binder_alloc_mmap_handler: 11113 20000000-20002000 already mapped failed -16
binder: BINDER_SET_CONTEXT_MGR already set
binder: 11113:11116 ioctl 40046207 0 returned -16
binder_alloc: 11113: binder_alloc_buf, no vma
binder: 11113:11120 transaction failed 29189/-3, size 40-8 line 3127
binder: undelivered TRANSACTION_ERROR: 29189
binder: release 11113:11116 transaction 53 out, still active
binder: unexpected work type, 4, not freed
audit: type=1400 audit(1518645528.330:58): avc:  denied  { lock } for  pid=11148 comm="syz-executor4" path="socket:[24728]" dev="sockfs" ino=24728 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1
binder: undelivered TRANSACTION_COMPLETE
binder: send failed reply for transaction 53, target dead
binder: release 11163:11166 transaction 58 out, still active
binder: unexpected work type, 4, not freed
binder: undelivered TRANSACTION_COMPLETE
binder: BINDER_SET_CONTEXT_MGR already set
binder: 11163:11172 ioctl 40046207 0 returned -16
binder_alloc: 11163: binder_alloc_buf, no vma
binder: 11163:11166 transaction failed 29189/-3, size 40-8 line 3127
binder: undelivered TRANSACTION_ERROR: 29189
binder: send failed reply for transaction 58, target dead
audit: type=1400 audit(1518645529.050:59): avc:  denied  { fsetid } for  pid=11278 comm="syz-executor2" capability=4  scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1
netlink: 21 bytes leftover after parsing attributes in process `syz-executor1'.
netlink: 21 bytes leftover after parsing attributes in process `syz-executor1'.
cgroup: cgroup2: unknown option ""
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=19048 sclass=netlink_route_socket pig=11469 comm=syz-executor2
: renamed from gre0
cgroup: cgroup2: unknown option ""
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=19048 sclass=netlink_route_socket pig=11469 comm=syz-executor2
audit: type=1400 audit(1518645529.780:60): avc:  denied  { setpcap } for  pid=11505 comm="syz-executor3" capability=8  scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1
FAULT_FLAG_ALLOW_RETRY missing 30
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 0 PID: 11530 Comm: syz-executor7 Not tainted 4.9.81-g1a93831 #33
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801cf557880 ffffffff81d94e69 ffff8801cf557b60 0000000000000000
 ffff8801d4624290 ffff8801cf557a50 ffff8801d4624180 ffff8801cf557a78
 ffffffff8166268a 0000000000003af1 ffff8801d036b8f0 ffff8801d036b8a0
Call Trace:
 [<ffffffff81d94e69>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d94e69>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8166268a>] handle_userfault+0xa3a/0x1310 fs/userfaultfd.c:323
 [<ffffffff814d0ef1>] do_anonymous_page mm/memory.c:2747 [inline]
 [<ffffffff814d0ef1>] handle_pte_fault mm/memory.c:3488 [inline]
 [<ffffffff814d0ef1>] __handle_mm_fault mm/memory.c:3577 [inline]
 [<ffffffff814d0ef1>] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614
 [<ffffffff810de642>] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1407
 [<ffffffff810dede7>] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470
 [<ffffffff838b4f48>] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:939
 [<ffffffff81006505>] do_syscall_64+0x1a5/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b3dbd>] entry_SYSCALL_64_after_swapgs+0x47/0xc5

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/02/14 21:58 https://android.googlesource.com/kernel/common android-4.9 1a938310b8af 17061fc0 .config console log report ci-android-49-kasan-gce
* Struck through repros no longer work on HEAD.