syzbot


BUG: using smp_processor_id() in preemptible [ADDR] code: mime_typevmnet0/NUM

Status: fixed on 2019/10/15 23:40
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+55acd54b57bb4b3840a4@syzkaller.appspotmail.com
Fix commit: 00d9e47f8ec2 posix-cpu-timers: Always clear head pointer on dequeue
First crash: 1929d, last: 1929d
Discussions (3)
Title Replies (including bot) Last reply
[tip: refs/heads/timers/core] posix-cpu-timers: Always clear head pointer on dequeue 1 (1) 2019/09/05 20:49
[patch 1/6] posix-cpu-timers: Always clear head pointer on dequeue 2 (2) 2019/09/05 15:49
BUG: using smp_processor_id() in preemptible [ADDR] code: mime_typevmnet0/NUM 0 (1) 2019/09/03 19:04

Sample crash report:
Started in network mode
Own node identity ff030000000000000000000000000001, cluster identity 4711
BUG: using smp_processor_id() in preemptible [00000000] code: mime_typevmnet0/24282
caller is dst_cache_get+0x3d/0xb0 net/core/dst_cache.c:68
CPU: 0 PID: 24282 Comm: mime_typevmnet0 Not tainted 5.3.0-rc6+ #148
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 check_preemption_disabled lib/smp_processor_id.c:47 [inline]
 debug_smp_processor_id.cold+0x87/0x9d lib/smp_processor_id.c:57
 dst_cache_get+0x3d/0xb0 net/core/dst_cache.c:68
 tipc_udp_xmit.isra.0+0xc4/0xb80 net/tipc/udp_media.c:164
 tipc_udp_send_msg+0x3ea/0x490 net/tipc/udp_media.c:241
 tipc_bearer_xmit_skb+0x17e/0x370 net/tipc/bearer.c:503
 tipc_enable_bearer+0xacf/0xd30 net/tipc/bearer.c:328
 __tipc_nl_bearer_enable+0x2de/0x3a0 net/tipc/bearer.c:899
 tipc_nl_bearer_enable+0x23/0x40 net/tipc/bearer.c:907
 genl_family_rcv_msg+0x74b/0xf90 net/netlink/genetlink.c:629
 genl_rcv_msg+0xca/0x170 net/netlink/genetlink.c:654
 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2477
 genl_rcv+0x29/0x40 net/netlink/genetlink.c:665
 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]
 netlink_unicast+0x531/0x710 net/netlink/af_netlink.c:1328
 netlink_sendmsg+0x8a5/0xd60 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:657
 ___sys_sendmsg+0x803/0x920 net/socket.c:2311
 __sys_sendmsg+0x105/0x1d0 net/socket.c:2356
 __do_sys_sendmsg net/socket.c:2365 [inline]
 __se_sys_sendmsg net/socket.c:2363 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2363
 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459879
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fe5fe7f1c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe5fe7f26d4
R13: 00000000004c753c R14: 00000000004dcce8 R15: 00000000ffffffff
Enabled bearer <udp:syz0>, priority 8

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/01 17:53 upstream eea173097dfb bad3cce2 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.