syzbot


BUG: using smp_processor_id() in preemptible code in usbnet_skb_return

Status: auto-obsoleted due to no activity on 2023/10/09 13:39
Reported-by: syzbot+d062e7b7d76a11f049bb@syzkaller.appspotmail.com
First crash: 968d, last: 509d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return origin:lts C 4 15d 111d 0/2 upstream: reported C repro on 2024/08/02 16:26
android-5-10 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return syz error error 2 488d 968d 0/2 auto-obsoleted due to no activity on 2023/10/20 12:45
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/09 13:55 12m retest repro android12-5.4 OK log
2023/07/01 13:18 20m retest repro android12-5.4 report log
2023/04/22 09:23 21m retest repro android12-5.4 report log

Sample crash report:
BUG: using smp_processor_id() in preemptible [00000000] code: dhcpcd/193
caller is usbnet_skb_return+0x45/0x210 drivers/net/usb/usbnet.c:310
CPU: 1 PID: 193 Comm: dhcpcd Not tainted 5.4.180-syzkaller-00087-ged043095f483 #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+0x18e/0x1de lib/dump_stack.c:118
 check_preemption_disabled+0x270/0x2c0 lib/smp_processor_id.c:47
 usbnet_skb_return+0x45/0x210 drivers/net/usb/usbnet.c:310
 usbnet_resume_rx+0x4b/0xd0 drivers/net/usb/usbnet.c:683
 usbnet_change_mtu+0x4b2/0x630 drivers/net/usb/usbnet.c:396
 __dev_set_mtu net/core/dev.c:8010 [inline]
 dev_set_mtu_ext+0x33d/0x740 net/core/dev.c:8063
 dev_set_mtu+0x43/0xf0 net/core/dev.c:8087
 dev_ifsioc+0x2eb/0x960 net/core/dev_ioctl.c:233
 dev_ioctl+0x4b3/0xab0 net/core/dev_ioctl.c:483
 sock_do_ioctl+0x1d8/0x2f0 net/socket.c:1062
 sock_ioctl+0x47c/0x6b0 net/socket.c:1179
 do_vfs_ioctl+0x6fb/0x15b0 fs/ioctl.c:47
 ksys_ioctl fs/ioctl.c:742 [inline]
 __do_sys_ioctl fs/ioctl.c:749 [inline]
 __se_sys_ioctl fs/ioctl.c:747 [inline]
 __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747
 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fc3481b60e7
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:00007ffff5877008 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc3480c86c8 RCX: 00007fc3481b60e7
RDX: 00007ffff58871f8 RSI: 0000000000008922 RDI: 000000000000000e
RBP: 00007ffff58973a8 R08: 00007ffff58871b8 R09: 00007ffff5887168
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffff58871f8 R14: 0000000000000028 R15: 0000000000008922

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/29 03:59 android12-5.4 ed043095f483 6bdac766 .config console log report syz ci2-android-5-4-kasan BUG: using smp_processor_id() in preemptible code in usbnet_skb_return
* Struck through repros no longer work on HEAD.