syzbot


BUG: using smp_processor_id() in preemptible code in usbnet_skb_return

Status: auto-obsoleted due to no activity on 2023/10/20 12:45
Reported-by: syzbot+637658569e05eb589548@syzkaller.appspotmail.com
First crash: 968d, last: 488d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return syz 1 509d 968d 0/2 auto-obsoleted due to no activity on 2023/10/09 13:39
android-5-15 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return origin:lts C 4 14d 111d 0/2 upstream: reported C repro on 2024/08/02 16:26
android-6-1 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return 2 126d 126d 0/2 auto-obsoleted due to no activity on 2024/10/16 04:07
android-5-10 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return (2) C 2 12d 26d 0/2 upstream: reported C repro on 2024/10/25 22:57
Last patch testing requests (3)
Created Duration User Patch Repo Result
2023/09/30 12:51 15m retest repro android13-5.10-lts OK log
2023/07/22 12:24 14m retest repro android13-5.10-lts report log
2023/05/13 12:04 16m retest repro android13-5.10-lts report log
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2023/02/03 12:45 0m bisect fix android12-5.10-lts error job log
2022/10/13 02:31 35m (2) bisect fix android12-5.10-lts OK (0) job log log
2022/08/30 12:06 33m bisect fix android12-5.10-lts OK (0) job log log
2022/07/27 03:56 27m bisect fix android12-5.10-lts OK (0) job log log
2022/06/27 03:31 25m bisect fix android12-5.10-lts OK (0) job log log
2022/05/28 03:04 26m bisect fix android12-5.10-lts OK (0) job log log
2022/04/28 02:35 28m bisect fix android12-5.10-lts OK (0) job log log

Sample crash report:
check_preemption_disabled: 17 callbacks suppressed
BUG: using smp_processor_id() in preemptible [00000000] code: dhcpcd/198
caller is debug_smp_processor_id+0x1c/0x20 lib/smp_processor_id.c:59
CPU: 1 PID: 198 Comm: dhcpcd Not tainted 5.10.108-syzkaller-00653-gab2d1d40a128 #0
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_lvl+0x1e2/0x24b lib/dump_stack.c:118
 dump_stack+0x15/0x1d lib/dump_stack.c:135
 check_preemption_disabled+0x176/0x180 lib/smp_processor_id.c:48
 debug_smp_processor_id+0x1c/0x20 lib/smp_processor_id.c:59
 usbnet_skb_return+0x48/0x270 drivers/net/usb/usbnet.c:307
 usbnet_resume_rx+0x5b/0xd0 drivers/net/usb/usbnet.c:680
 usbnet_change_mtu+0x494/0x610 drivers/net/usb/usbnet.c:393
 __dev_set_mtu net/core/dev.c:8578 [inline]
 dev_set_mtu_ext+0x452/0x690 net/core/dev.c:8631
 dev_set_mtu+0xa0/0x180 net/core/dev.c:8655
 dev_ifsioc+0x39f/0xb00 net/core/dev_ioctl.c:261
 dev_ioctl+0x516/0xae0 net/core/dev_ioctl.c:505
 sock_do_ioctl+0x294/0x3a0 net/socket.c:1071
 sock_ioctl+0x4d1/0x760 net/socket.c:1188
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl+0x115/0x190 fs/ioctl.c:739
 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739
 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f0a5b1960e7
Code: 3c 1c e8 1c ff ff ff 85 c0 79 87 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 61 9d 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007ffc7acab8e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0a5b0a86c8 RCX: 00007f0a5b1960e7
RDX: 00007ffc7acbbad8 RSI: 0000000000008922 RDI: 000000000000000c
RBP: 00007ffc7accbc88 R08: 00007ffc7acbba98 R09: 00007ffc7acbba48
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc7acbbad8 R14: 0000000000000028 R15: 0000000000008922

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/29 01:38 android12-5.10-lts ab2d1d40a128 6bdac766 .config console log report syz ci2-android-5-10 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return
2022/03/28 23:40 android12-5.10-lts ab2d1d40a128 6bdac766 .config console log report info ci2-android-5-10 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return
* Struck through repros no longer work on HEAD.