syzbot


BUG: using smp_processor_id() in preemptible code in usbnet_skb_return (2)

Status: upstream: reported C repro on 2024/10/25 22:57
Reported-by: syzbot+5698af965beba119b090@syzkaller.appspotmail.com
First crash: 27d, last: 12d
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-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
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/11/09 04:26 11m retest repro android13-5.10-lts report log
2024/11/09 04:26 11m retest repro android13-5.10-lts report log

Sample crash report:
BUG: using smp_processor_id() in preemptible [00000000] code: dhcpcd/133
caller is debug_smp_processor_id+0x17/0x20 lib/smp_processor_id.c:59
CPU: 0 PID: 133 Comm: dhcpcd Not tainted 5.10.226-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118
 dump_stack+0x15/0x17 lib/dump_stack.c:135
 check_preemption_disabled+0xf2/0x100 lib/smp_processor_id.c:48
 debug_smp_processor_id+0x17/0x20 lib/smp_processor_id.c:59
 usbnet_skb_return+0x48/0x270 drivers/net/usb/usbnet.c:306
 usbnet_resume_rx+0x4d/0xd0 drivers/net/usb/usbnet.c:679
 usbnet_change_mtu+0x4ed/0x670 drivers/net/usb/usbnet.c:392
 __dev_set_mtu net/core/dev.c:8600 [inline]
 dev_set_mtu_ext+0x43c/0x670 net/core/dev.c:8653
 dev_set_mtu+0xa0/0x180 net/core/dev.c:8677
 dev_ifsioc+0x3a2/0xae0 net/core/dev_ioctl.c:237
 dev_ioctl+0x526/0xb40 net/core/dev_ioctl.c:481
 sock_do_ioctl+0x295/0x3a0 net/socket.c:1090
 sock_ioctl+0x4a6/0x760 net/socket.c:1207
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl+0x114/0x190 fs/ioctl.c:739
 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f24d46dcd49
Code: 5c c3 48 8d 44 24 08 48 89 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 b8 10 00 00 00 c7 44 24 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 76 10 48 8b 15 ae 60 0d 00 f7 d8 41 83 c8
RSP: 002b:00007ffc80db7a68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f24d460e6c0 RCX: 00007f24d46dcd49
RDX: 00007ffc80dc7c58 RSI: 0000000000008922 RDI: 0000000000000012
RBP: 00007ffc80dd7e18 R08: 00007ffc80dc7c18 R09: 00007ffc80dc7bc8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc80dc7c58 R14: 0000000000000028 R15: 0000000000008922

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/25 22:55 android13-5.10-lts e5e5644ea27f 045e728d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return
2024/10/25 07:50 android13-5.10-lts e5e5644ea27f c79b8ca5 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: using smp_processor_id() in preemptible code in usbnet_skb_return
* Struck through repros no longer work on HEAD.