Extracting prog: 4m3.245953144s
Minimizing prog: 55m51.054870784s
Simplifying prog options: 9m3.560716843s
Extracting C: 5m10.05321027s
Simplifying C: 0s
extracting reproducer from 1 programs
testing a last program of every proc
single: executing 1 programs separately with timeout 6m0s
testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program crashed: WARNING: kobject bug in __scsi_remove_device
single: successfully extracted reproducer
found reproducer with 4 syscalls
minimizing guilty program
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
write(0xffffffffffffffff, &(0x7f0000001400)='- - -', 0x5)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mount-openat-write
detailed listing:
executing program 0:
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, 0x0, 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, 0x0, &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', 0x0, 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, 0x0, 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, 0x0, 0x0)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400), 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
program crashed: no output from test machine
a never seen crash title: no output from test machine, ignore
simplifying guilty program options
testing program (duration=5m32.569841464s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program crashed: INFO: task hung in scsi_scan_host_selected
a never seen crash title: INFO: task hung in scsi_scan_host_selected, ignore
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program did not crash
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program crashed: INFO: task hung in scsi_scan_host_selected
validation run: crashed=true
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program crashed: WARNING: kobject bug in __scsi_remove_device
validation run: crashed=true
testing program (duration=5m32.569841464s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./sys\x00', 0x1ff)
mount(0x0, &(0x7f0000001040)='./sys\x00', &(0x7f0000001080)='sysfs\x00', 0x0, 0x0)
r0 = openat(0xffffffffffffff9c, &(0x7f0000001300)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0)
write(r0, &(0x7f0000001400)='- - -', 0x5)
program crashed: INFO: task hung in scsi_scan_host_selected
validation run: crashed=true
reproducing took 1h22m40.397160327s
repro crashed as (corrupted=false):
INFO: task syz.6.32:486 blocked for more than 122 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.32 state:D stack:0 pid:486 tgid:485 ppid:473 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:6068 [inline]
__schedule+0x16fe/0x23d0 kernel/sched/core.c:7888
__schedule_loop kernel/sched/core.c:7965 [inline]
schedule+0xc5/0x240 kernel/sched/core.c:7980
schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:8037
__mutex_lock_common kernel/locking/mutex.c:707 [inline]
__mutex_lock+0x902/0x1b90 kernel/locking/mutex.c:806
__mutex_lock_slowpath+0xe/0x20 kernel/locking/mutex.c:1136
mutex_lock+0x113/0x1d0 kernel/locking/mutex.c:285
scsi_scan_host_selected+0x15f/0x610 drivers/scsi/scsi_scan.c:1863
scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline]
store_scan+0x4ba/0x550 drivers/scsi/scsi_sysfs.c:191
dev_attr_store+0x73/0xa0 drivers/base/core.c:2440
sysfs_kf_write+0x141/0x160 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x762/0xfd0 fs/read_write.c:684
ksys_write+0x145/0x260 fs/read_write.c:737
__do_sys_write fs/read_write.c:749 [inline]
__se_sys_write fs/read_write.c:746 [inline]
__x64_sys_write+0x7f/0x90 fs/read_write.c:746
x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fac88b9f559
RSP: 002b:00007fac89ae9028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fac88e25fa0 RCX: 00007fac88b9f559
RDX: 0000000000000005 RSI: 0000200000001400 RDI: 0000000000000003
RBP: 00007fac88c36b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fac88e26038 R14: 00007fac88e25fa0 R15: 00007fff8b8c6ea8
INFO: task syz.4.31:488 blocked for more than 123 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.31 state:D stack:0 pid:488 tgid:487 ppid:472 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:6068 [inline]
__schedule+0x16fe/0x23d0 kernel/sched/core.c:7888
__schedule_loop kernel/sched/core.c:7965 [inline]
schedule+0xc5/0x240 kernel/sched/core.c:7980
schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:8037
__mutex_lock_common kernel/locking/mutex.c:707 [inline]
__mutex_lock+0x902/0x1b90 kernel/locking/mutex.c:806
__mutex_lock_slowpath+0xe/0x20 kernel/locking/mutex.c:1136
mutex_lock+0x113/0x1d0 kernel/locking/mutex.c:285
scsi_scan_host_selected+0x15f/0x610 drivers/scsi/scsi_scan.c:1863
scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline]
store_scan+0x4ba/0x550 drivers/scsi/scsi_sysfs.c:191
dev_attr_store+0x73/0xa0 drivers/base/core.c:2440
sysfs_kf_write+0x141/0x160 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x762/0xfd0 fs/read_write.c:684
ksys_write+0x145/0x260 fs/read_write.c:737
__do_sys_write fs/read_write.c:749 [inline]
__se_sys_write fs/read_write.c:746 [inline]
__x64_sys_write+0x7f/0x90 fs/read_write.c:746
x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f694fd9f559
RSP: 002b:00007f6950bec028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6950025fa0 RCX: 00007f694fd9f559
RDX: 0000000000000005 RSI: 0000200000001400 RDI: 0000000000000003
RBP: 00007f694fe36b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6950026038 R14: 00007f6950025fa0 R15: 00007ffeb0a0ccf8
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 37 Comm: khungtaskd Not tainted syzkaller #0 790d506eeb1243e613a7e15525cb861d28cb7486
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
dump_stack+0x19/0x20 lib/dump_stack.c:129
nmi_cpu_backtrace+0x2ba/0x2d0 lib/nmi_backtrace.c:114
nmi_trigger_cpumask_backtrace+0x142/0x2c0 lib/nmi_backtrace.c:63
arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:41
cpumask_backtrace+0x1f/0x30 lib/nmi_backtrace.c:127
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:267 [inline]
watchdog+0xe45/0xf90 kernel/hung_task.c:423
kthread+0x2c7/0x360 kernel/kthread.c:389
ret_from_fork+0x67/0xa0 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #0 790d506eeb1243e613a7e15525cb861d28cb7486
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:pv_native_safe_halt+0x13/0x20 arch/x86/kernel/paravirt.c:116
Code: cc cc cc cc cc cc cc b8 2d 9f f1 a1 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 d9 3e 00 55 48 89 e5 fb f4 <5d> c3 cc cc cc cc cc cc cc cc cc cc cc b8 00 00 00 00 90 90 90 90
RSP: 0018:ffffc900001a7e00 EFLAGS: 000002c2
RAX: ffff8881f6d00000 RBX: ffff8881036693c0 RCX: ffffffff85a8853d
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 00000000001029ac
RBP: ffffc900001a7e00 R08: ffff8881f6d396fb R09: 1ffff1103eda72df
R10: dffffc0000000000 R11: ffffed103eda72e0 R12: 0000000000000000
R13: 1ffff110206cd278 R14: dffffc0000000000 R15: ffffffff886da7e8
FS: 0000000000000000(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555576bbe4e8 CR3: 000000010d78e000 CR4: 00000000003526b0
Call Trace:
arch_safe_halt arch/x86/include/asm/paravirt.h:-1 [inline]
default_idle+0x17/0x30 arch/x86/kernel/process.c:754
arch_cpu_idle+0xd/0x20 arch/x86/kernel/process.c:791
default_idle_call+0x3e/0x80 kernel/sched/idle.c:117
cpuidle_idle_call kernel/sched/idle.c:193 [inline]
do_idle+0x2fc/0x570 kernel/sched/idle.c:346
cpu_startup_entry+0x47/0x60 kernel/sched/idle.c:445
start_secondary+0x12e/0x140 arch/x86/kernel/smpboot.c:314
common_startup_64+0x13b/0x157
final repro crashed as (corrupted=false):
INFO: task syz.6.32:486 blocked for more than 122 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.32 state:D stack:0 pid:486 tgid:485 ppid:473 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:6068 [inline]
__schedule+0x16fe/0x23d0 kernel/sched/core.c:7888
__schedule_loop kernel/sched/core.c:7965 [inline]
schedule+0xc5/0x240 kernel/sched/core.c:7980
schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:8037
__mutex_lock_common kernel/locking/mutex.c:707 [inline]
__mutex_lock+0x902/0x1b90 kernel/locking/mutex.c:806
__mutex_lock_slowpath+0xe/0x20 kernel/locking/mutex.c:1136
mutex_lock+0x113/0x1d0 kernel/locking/mutex.c:285
scsi_scan_host_selected+0x15f/0x610 drivers/scsi/scsi_scan.c:1863
scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline]
store_scan+0x4ba/0x550 drivers/scsi/scsi_sysfs.c:191
dev_attr_store+0x73/0xa0 drivers/base/core.c:2440
sysfs_kf_write+0x141/0x160 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x762/0xfd0 fs/read_write.c:684
ksys_write+0x145/0x260 fs/read_write.c:737
__do_sys_write fs/read_write.c:749 [inline]
__se_sys_write fs/read_write.c:746 [inline]
__x64_sys_write+0x7f/0x90 fs/read_write.c:746
x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fac88b9f559
RSP: 002b:00007fac89ae9028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fac88e25fa0 RCX: 00007fac88b9f559
RDX: 0000000000000005 RSI: 0000200000001400 RDI: 0000000000000003
RBP: 00007fac88c36b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fac88e26038 R14: 00007fac88e25fa0 R15: 00007fff8b8c6ea8
INFO: task syz.4.31:488 blocked for more than 123 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.31 state:D stack:0 pid:488 tgid:487 ppid:472 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:6068 [inline]
__schedule+0x16fe/0x23d0 kernel/sched/core.c:7888
__schedule_loop kernel/sched/core.c:7965 [inline]
schedule+0xc5/0x240 kernel/sched/core.c:7980
schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:8037
__mutex_lock_common kernel/locking/mutex.c:707 [inline]
__mutex_lock+0x902/0x1b90 kernel/locking/mutex.c:806
__mutex_lock_slowpath+0xe/0x20 kernel/locking/mutex.c:1136
mutex_lock+0x113/0x1d0 kernel/locking/mutex.c:285
scsi_scan_host_selected+0x15f/0x610 drivers/scsi/scsi_scan.c:1863
scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline]
store_scan+0x4ba/0x550 drivers/scsi/scsi_sysfs.c:191
dev_attr_store+0x73/0xa0 drivers/base/core.c:2440
sysfs_kf_write+0x141/0x160 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x762/0xfd0 fs/read_write.c:684
ksys_write+0x145/0x260 fs/read_write.c:737
__do_sys_write fs/read_write.c:749 [inline]
__se_sys_write fs/read_write.c:746 [inline]
__x64_sys_write+0x7f/0x90 fs/read_write.c:746
x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f694fd9f559
RSP: 002b:00007f6950bec028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6950025fa0 RCX: 00007f694fd9f559
RDX: 0000000000000005 RSI: 0000200000001400 RDI: 0000000000000003
RBP: 00007f694fe36b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6950026038 R14: 00007f6950025fa0 R15: 00007ffeb0a0ccf8
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 37 Comm: khungtaskd Not tainted syzkaller #0 790d506eeb1243e613a7e15525cb861d28cb7486
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
dump_stack+0x19/0x20 lib/dump_stack.c:129
nmi_cpu_backtrace+0x2ba/0x2d0 lib/nmi_backtrace.c:114
nmi_trigger_cpumask_backtrace+0x142/0x2c0 lib/nmi_backtrace.c:63
arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:41
cpumask_backtrace+0x1f/0x30 lib/nmi_backtrace.c:127
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:267 [inline]
watchdog+0xe45/0xf90 kernel/hung_task.c:423
kthread+0x2c7/0x360 kernel/kthread.c:389
ret_from_fork+0x67/0xa0 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #0 790d506eeb1243e613a7e15525cb861d28cb7486
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:pv_native_safe_halt+0x13/0x20 arch/x86/kernel/paravirt.c:116
Code: cc cc cc cc cc cc cc b8 2d 9f f1 a1 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 d9 3e 00 55 48 89 e5 fb f4 <5d> c3 cc cc cc cc cc cc cc cc cc cc cc b8 00 00 00 00 90 90 90 90
RSP: 0018:ffffc900001a7e00 EFLAGS: 000002c2
RAX: ffff8881f6d00000 RBX: ffff8881036693c0 RCX: ffffffff85a8853d
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 00000000001029ac
RBP: ffffc900001a7e00 R08: ffff8881f6d396fb R09: 1ffff1103eda72df
R10: dffffc0000000000 R11: ffffed103eda72e0 R12: 0000000000000000
R13: 1ffff110206cd278 R14: dffffc0000000000 R15: ffffffff886da7e8
FS: 0000000000000000(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555576bbe4e8 CR3: 000000010d78e000 CR4: 00000000003526b0
Call Trace:
arch_safe_halt arch/x86/include/asm/paravirt.h:-1 [inline]
default_idle+0x17/0x30 arch/x86/kernel/process.c:754
arch_cpu_idle+0xd/0x20 arch/x86/kernel/process.c:791
default_idle_call+0x3e/0x80 kernel/sched/idle.c:117
cpuidle_idle_call kernel/sched/idle.c:193 [inline]
do_idle+0x2fc/0x570 kernel/sched/idle.c:346
cpu_startup_entry+0x47/0x60 kernel/sched/idle.c:445
start_secondary+0x12e/0x140 arch/x86/kernel/smpboot.c:314
common_startup_64+0x13b/0x157