syzbot


BUG: unable to handle kernel NULL pointer dereference in check_preemption_disabled (2)

Status: closed as invalid on 2020/06/16 10:33
Subsystems: usb
[Documentation on labels]
First crash: 1403d, last: 1403d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in check_preemption_disabled usb 1 1411d 1411d 0/26 closed as invalid on 2020/06/10 12:27
upstream BUG: unable to handle kernel NULL pointer dereference in check_preemption_disabled (3) ext4 3 1402d 1402d 15/26 fixed on 2020/07/17 17:58

Sample crash report:
hub 9-0:1.0: USB hub found
hub 9-0:1.0: 8 ports detected
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 5a414067 P4D 5a414067 PUD a7aa5067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 30037 Comm: syz-executor.5 Not tainted 5.7.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:252 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x3f/0x60 kernel/kcov.c:202
Code: c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 04 14 00 00 00 74 2c 8b 91 e0 13 00 00 83 fa 02 75 21 48 8b 91 e8 13 00 00 <48> 8b 32 48 8d 7e 01 8b 89 e4 13 00 00 48 39 cf 73 08 48 89 44 f2
RSP: 0018:ffffc900163f7598 EFLAGS: 00010246
RAX: ffffffff839f8336 RBX: dffffc0000000000 RCX: ffff8880952c0180
RDX: 0000000000000000 RSI: ffffffff8903523f RDI: ffffffff88e90cfe
RBP: ffffc900163f76e0 R08: ffffffff817a4660 R09: fffffbfff129ebe7
R10: fffffbfff129ebe7 R11: 0000000000000000 R12: 0000000000000001
R13: ffff8880a51b4918 R14: ffffffff8903523f R15: ffffffff88e90cfe
FS:  00007f31d9356700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000005a415000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 check_preemption_disabled+0x16/0x240 lib/smp_processor_id.c:13
 __schedule+0x2e/0xc40 kernel/sched/core.c:4082
 preempt_schedule_common kernel/sched/core.c:4312 [inline]
 preempt_schedule+0xc8/0x110 kernel/sched/core.c:4337
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:50
 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
 _raw_spin_unlock_irq+0x73/0x80 kernel/locking/spinlock.c:199
 spin_unlock_irq include/linux/spinlock.h:403 [inline]
 rh_call_control drivers/usb/core/hcd.c:739 [inline]
 rh_urb_enqueue drivers/usb/core/hcd.c:842 [inline]
 usb_hcd_submit_urb+0x9cd/0x1b50 drivers/usb/core/hcd.c:1543
 usb_start_wait_urb+0xc3/0x2a0 drivers/usb/core/message.c:58
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0x24a/0x420 drivers/usb/core/message.c:153
 hub_power_on drivers/usb/core/hub.c:916 [inline]
 hub_activate+0x3d2/0x1f40 drivers/usb/core/hub.c:1076
 hub_configure drivers/usb/core/hub.c:1680 [inline]
 hub_probe+0x1fc1/0x2700 drivers/usb/core/hub.c:1882
 usb_probe_interface+0x614/0xac0 drivers/usb/core/driver.c:374
 really_probe+0x761/0xf60 drivers/base/dd.c:524
 driver_probe_device+0xe6/0x230 drivers/base/dd.c:697
 bus_for_each_drv+0x108/0x170 drivers/base/bus.c:431
 __device_attach+0x20c/0x3a0 drivers/base/dd.c:870
 proc_ioctl+0x447/0x610 drivers/usb/core/devio.c:2245
 usbdev_do_ioctl drivers/usb/core/devio.c:2280 [inline]
 usbdev_ioctl+0x3b2b/0x6520 drivers/usb/core/devio.c:2696
 vfs_ioctl fs/ioctl.c:47 [inline]
 ksys_ioctl fs/ioctl.c:771 [inline]
 __do_sys_ioctl fs/ioctl.c:780 [inline]
 __se_sys_ioctl+0xf9/0x160 fs/ioctl.c:778
 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x45ca59
Code: 0d 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f31d9355c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004f0ca0 RCX: 000000000045ca59
RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000005
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000005eb R14: 00000000004c8b98 R15: 00007f31d93566d4
Modules linked in:
CR2: 0000000000000000
---[ end trace a7cfbafdb6d24065 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:252 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x3f/0x60 kernel/kcov.c:202
Code: c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 04 14 00 00 00 74 2c 8b 91 e0 13 00 00 83 fa 02 75 21 48 8b 91 e8 13 00 00 <48> 8b 32 48 8d 7e 01 8b 89 e4 13 00 00 48 39 cf 73 08 48 89 44 f2
RSP: 0018:ffffc900163f7598 EFLAGS: 00010246
RAX: ffffffff839f8336 RBX: dffffc0000000000 RCX: ffff8880952c0180
RDX: 0000000000000000 RSI: ffffffff8903523f RDI: ffffffff88e90cfe
RBP: ffffc900163f76e0 R08: ffffffff817a4660 R09: fffffbfff129ebe7
R10: fffffbfff129ebe7 R11: 0000000000000000 R12: 0000000000000001
R13: ffff8880a51b4918 R14: ffffffff8903523f R15: ffffffff88e90cfe
FS:  00007f31d9356700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000005a415000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/16 06:16 upstream 7ae77150d94d baca2611 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.