Extracting prog: 9m2.085342498s Minimizing prog: 1h13m4.953000594s Simplifying prog options: 15m13.310602802s Extracting C: 5m14.800363109s Simplifying C: 0s extracting reproducer from 1 programs testing a last program of every proc single: executing 1 programs separately with timeout 30s testing program (duration=30s, {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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-openat-write-write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='./sys/class/scsi_device/0:0:0:0/device/delete\x00', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) write(0xffffffffffffffff, &(0x7f0000000240), 0x0) program did not crash single: failed to extract reproducer single: executing 1 programs separately with timeout 1m40s testing program (duration=1m40s, {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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-openat-write-write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='./sys/class/scsi_device/0:0:0:0/device/delete\x00', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) write(0xffffffffffffffff, &(0x7f0000000240), 0x0) program did not crash single: failed to extract reproducer 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-openat-write-write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='./sys/class/scsi_device/0:0:0:0/device/delete\x00', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) write(0xffffffffffffffff, &(0x7f0000000240), 0x0) program crashed: INFO: task hung in scsi_scan_host_selected single: successfully extracted reproducer found reproducer with 6 syscalls minimizing guilty program 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-openat-write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='./sys/class/scsi_device/0:0:0:0/device/delete\x00', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program crashed: INFO: task hung in scsi_scan_host_selected 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-openat detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='./sys/class/scsi_device/0:0:0:0/device/delete\x00', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='./sys/class/scsi_device/0:0:0:0/device/delete\x00', 0x1, 0x0) write(0xffffffffffffffff, &(0x7f0000000180)='- - -\x00', 0x5) program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program crashed: INFO: task hung in scsi_scan_host_selected 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) VM was preempted during syz execution: failed to run command in VM: instance is preempted, retrying program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, 0x0, &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', 0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, 0x0, 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, 0x0, 0x0) program did not crash 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180), 0x0) program did not crash extracting C reproducer testing compiled C 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:true Wifi:true IEEE802154:true 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=6m0s, {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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program crashed: INFO: task hung in scsi_scan_host_selected extracting C reproducer testing compiled C program (duration=6m0s, {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:true Wifi:true IEEE802154:true 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 testing program (duration=6m0s, {Threaded:false 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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program did not crash testing program (duration=6m0s, {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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program crashed: INFO: task hung in scsi_scan_host_selected validation run: crashed=true testing program (duration=6m0s, {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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program crashed: INFO: task hung in scsi_scan_host_selected validation run: crashed=true testing program (duration=6m0s, {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:true Wifi:true IEEE802154:true 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, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./sys\x00', &(0x7f0000000040)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000140)='./sys/class/scsi_host/host0/scan\x00', 0x1, 0x0) write(r0, &(0x7f0000000180)='- - -\x00', 0x5) program crashed: INFO: task hung in scsi_scan_host_selected validation run: crashed=true reproducing took 1h54m16.338803678s repro crashed as (corrupted=false): INFO: task syz.8.25:6366 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.25 state:D stack:27016 pid:6366 tgid:6366 ppid:6230 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5598 [inline] __schedule+0x1ba5/0x5f70 kernel/sched/core.c:7401 context_switch kernel/sched/core.c:5598 [inline] __schedule+0x1ba5/0x5f70 kernel/sched/core.c:7401 __schedule_loop kernel/sched/core.c:7478 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7493 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7550 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x7c4/0x15a0 kernel/locking/mutex.c:821 scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline] store_scan+0x4aa/0x540 drivers/scsi/scsi_sysfs.c:191 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:580 [inline] vfs_write+0x612/0xba0 fs/read_write.c:672 ksys_write+0x150/0x270 fs/read_write.c:1021 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x00007f3f50fa9559 RSP: 002b:00007ffcd5fc0f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3f51225fa0 RCX: 00007f3f50fa9559 RDX: 0000000000000005 RSI: 0000200000000180 RDI: 0000000000000003 RBP: 00007f3f51038136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3f51225fac R14: 00007f3f51225fa0 R15: 00007f3f51225fa0 Showing all locks held in the system: locks held by kworker/u8:0/13: 3, on CPU#0: #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc90000127c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90000127c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90000127c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc90000127c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff888044050820 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:7065 [inline] #2: ffff888044050820 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x430 net/wireless/core.c:595 locks held by khungtaskd/35: 1, on CPU#0: #0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871 locks held by kworker/u8:3/55: 3, on CPU#0: #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff88807c912258 (&devlink->lock_key#30){+.+.}-{4:4}, at: nsim_dev_trap_report_work+0x57/0xb30 drivers/net/netdevsim/dev.c:834 locks held by kworker/u9:0/57: 3, last CPU#1: #0: ffff888078613950 ((wq_completion)hci12){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff888078613950 ((wq_completion)hci12){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff888078613950 ((wq_completion)hci12){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff888078613950 ((wq_completion)hci12){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc9000122fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000122fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000122fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc9000122fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff88807dc64f40 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x242/0x430 net/bluetooth/hci_sync.c:339 locks held by kworker/u8:9/3357: 4, on CPU#1: #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc9000e4afc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000e4afc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000e4afc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc9000e4afc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff8880549d0820 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:7065 [inline] #2: ffff8880549d0820 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x430 net/wireless/core.c:595 #3: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1224 [inline] #3: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550 arch/x86/kernel/unwind_orc.c:495 locks held by getty/5396: 2, last CPU#0: #0: ffff8880344840a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000323b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211 locks held by kworker/u9:3/5817: 3, last CPU#0: #0: ffff8880764a2150 ((wq_completion)hci11){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff8880764a2150 ((wq_completion)hci11){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff8880764a2150 ((wq_completion)hci11){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff8880764a2150 ((wq_completion)hci11){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc900045f7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc900045f7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc900045f7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc900045f7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff888056348f40 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x242/0x430 net/bluetooth/hci_sync.c:339 locks held by syz.7.24/6157: 7, on CPU#0: #0: ffff88805504a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88805504a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888056b6cc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 #4: ffff88801cfd82b8 (&set->tag_list_lock){+.+.}-{4:4}, at: blk_mq_init_allocated_queue+0x3b0/0x1770 block/blk-mq.c:4703 #5: ffff88802834a5a0 (&q->q_usage_counter(io)#67){++++}-{0:0}, at: blk_mq_add_queue_tag_set block/blk-mq.c:4383 [inline] #5: ffff88802834a5a0 (&q->q_usage_counter(io)#67){++++}-{0:0}, at: blk_mq_init_allocated_queue+0x1185/0x1770 block/blk-mq.c:4724 #6: ffff88802834a5d8 (&q->q_usage_counter(queue)#50){++++}-{0:0}, at: blk_mq_add_queue_tag_set block/blk-mq.c:4383 [inline] #6: ffff88802834a5d8 (&q->q_usage_counter(queue)#50){++++}-{0:0}, at: blk_mq_init_allocated_queue+0x1185/0x1770 block/blk-mq.c:4724 locks held by syz.8.25/6366: 4, last CPU#0: #0: ffff88803658c478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88803658c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888058ce7c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.9.26/6470: 4, last CPU#0: #0: ffff888035448478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888035448478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888058dbfc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.1.28/6482: 4, last CPU#1: #0: ffff888027376478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888027376478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88805d195480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.0.27/6492: 4, last CPU#0: #0: ffff888054b3a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888054b3a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88807b442080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.2.29/6651: 4, last CPU#1: #0: ffff88807c8e8478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807c8e8478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff8880373ce080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.3.30/6726: 4, last CPU#1: #0: ffff888057c0a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888057c0a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888052a0b880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.5.32/6767: 4, last CPU#1: #0: ffff88807c5ca478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807c5ca478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888052b63480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.4.31/6772: 4, last CPU#1: #0: ffff8880589e2478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff8880589e2478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888076deec80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.6.33/6815: 4, last CPU#1: #0: ffff888059732478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888059732478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88805251bc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.7.34/6870: 4, last CPU#0: #0: ffff888036d8a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888036d8a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888056296880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.8.35/6935: 4, last CPU#0: #0: ffff888053f1a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888053f1a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888052646080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.9.36/6941: 4, last CPU#0: #0: ffff888052370478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888052370478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804f057080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.0.37/6978: 4, last CPU#1: #0: ffff888050d4e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888050d4e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88807e785080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.1.38/7016: 4, last CPU#1: #0: ffff88807f60c478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807f60c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888058423880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.2.39/7083: 4, last CPU#0: #0: ffff888037534478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888037534478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804fb96480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.3.40/7089: 4, last CPU#0: #0: ffff888054e26478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888054e26478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804c7b8c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.5.41/7130: 4, last CPU#1: #0: ffff888057396478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888057396478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804fe7a080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.4.42/7173: 4, last CPU#0: #0: ffff888055962478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888055962478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88805e3c5480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.6.43/7253: 4, last CPU#0: #0: ffff888055a80478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888055a80478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff8880527c8c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.7.44/7266: 4, last CPU#0: #0: ffff88807c1d6478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807c1d6478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff8880497f9880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.8.45/7296: 4, last CPU#0: #0: ffff888036eea478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888036eea478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88807aee7c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.9.46/7339: 4, last CPU#1: #0: ffff88805fe02478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88805fe02478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888070e46080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by kworker/u9:5/7340: 3, last CPU#1: #0: ffff88807ea5d950 ((wq_completion)hci13){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88807ea5d950 ((wq_completion)hci13){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88807ea5d950 ((wq_completion)hci13){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff88807ea5d950 ((wq_completion)hci13){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc9000623fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000623fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000623fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc9000623fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff88805994cf40 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x242/0x430 net/bluetooth/hci_sync.c:339 locks held by syz.0.47/7433: 4, last CPU#0: #0: ffff888035872478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888035872478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888045617880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.1.48/7434: 4, last CPU#1: #0: ffff888053f0a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888053f0a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888055a62c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.2.49/7451: 4, last CPU#1: #0: ffff88807c7bc478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807c7bc478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888044ebac80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.3.50/7486: 4, last CPU#1: #0: ffff8880441b0478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff8880441b0478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804b78dc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.5.51/7594: 4, last CPU#1: #0: ffff888053874478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888053874478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888057d7f080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.4.52/7606: 4, last CPU#1: #0: ffff8880487a6478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff8880487a6478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804ce81c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.7.53/7643: 4, last CPU#1: #0: ffff88807b79a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807b79a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88807dd9c880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.6.54/7660: 4, last CPU#0: #0: ffff88804702a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88804702a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888057b58080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 35 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123 nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66 trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x13a/0x180 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:377 [inline] watchdog+0x1073/0x10f0 kernel/hung_task.c:598 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 34 Comm: pr/ttyS0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:preempt_count_sub+0x73/0x180 kernel/sched/core.c:6115 Code: 0f 94 c1 81 ff ff 00 00 00 0f 92 c2 45 84 f6 0f 94 c0 84 ca 75 02 31 c0 84 c0 75 57 f7 df 48 63 c7 65 48 01 05 de 02 7c 13 5b <41> 5e 5d c3 cc cc cc cc cc 90 e8 8e ce 70 03 85 c0 74 33 48 c7 c0 RSP: 0018:ffffc90000aa78a0 EFLAGS: 00000093 RAX: ffffffffffffffff RBX: 0000000000000899 RCX: ffffffff9c1b7a01 RDX: 0000000000000001 RSI: ffffffff8cb04160 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: ffffffff8c2f11d0 R12: 1ffffffff38a2555 R13: 00000000ffffffff R14: 8000000000000002 R15: 000000000000046a FS: 0000000000000000(0000) GS:ffff8881230fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557594a81a88 CR3: 0000000059000000 CR4: 00000000003526f0 Call Trace: delay_tsc+0x4e/0xd0 arch/x86/lib/delay.c:75 udelay include/asm-generic/delay.h:62 [inline] wait_for_lsr+0x147/0x2f0 drivers/tty/serial/8250/8250_port.c:2042 serial8250_fifo_wait_for_lsr_thre drivers/tty/serial/8250/8250_port.c:3294 [inline] __serial8250_console_fifo_write+0xcd/0x3e0 drivers/tty/serial/8250/8250_port.c:3369 serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3402 [inline] __serial8250_console_write drivers/tty/serial/8250/8250_port.c:3456 [inline] serial8250_console_write+0xa7e/0x1200 drivers/tty/serial/8250/8250_port.c:3520 nbcon_emit_next_record+0xef5/0x1a90 kernel/printk/nbcon.c:-1 nbcon_emit_one kernel/printk/nbcon.c:1157 [inline] nbcon_kthread_func+0x6d9/0x8d0 kernel/printk/nbcon.c:1271 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 final repro crashed as (corrupted=false): INFO: task syz.8.25:6366 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.25 state:D stack:27016 pid:6366 tgid:6366 ppid:6230 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5598 [inline] __schedule+0x1ba5/0x5f70 kernel/sched/core.c:7401 context_switch kernel/sched/core.c:5598 [inline] __schedule+0x1ba5/0x5f70 kernel/sched/core.c:7401 __schedule_loop kernel/sched/core.c:7478 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7493 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7550 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x7c4/0x15a0 kernel/locking/mutex.c:821 scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline] store_scan+0x4aa/0x540 drivers/scsi/scsi_sysfs.c:191 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:580 [inline] vfs_write+0x612/0xba0 fs/read_write.c:672 ksys_write+0x150/0x270 fs/read_write.c:1021 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x00007f3f50fa9559 RSP: 002b:00007ffcd5fc0f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3f51225fa0 RCX: 00007f3f50fa9559 RDX: 0000000000000005 RSI: 0000200000000180 RDI: 0000000000000003 RBP: 00007f3f51038136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3f51225fac R14: 00007f3f51225fa0 R15: 00007f3f51225fa0 Showing all locks held in the system: locks held by kworker/u8:0/13: 3, on CPU#0: #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc90000127c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90000127c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90000127c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc90000127c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff888044050820 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:7065 [inline] #2: ffff888044050820 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x430 net/wireless/core.c:595 locks held by khungtaskd/35: 1, on CPU#0: #0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871 locks held by kworker/u8:3/55: 3, on CPU#0: #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff88807c912258 (&devlink->lock_key#30){+.+.}-{4:4}, at: nsim_dev_trap_report_work+0x57/0xb30 drivers/net/netdevsim/dev.c:834 locks held by kworker/u9:0/57: 3, last CPU#1: #0: ffff888078613950 ((wq_completion)hci12){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff888078613950 ((wq_completion)hci12){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff888078613950 ((wq_completion)hci12){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff888078613950 ((wq_completion)hci12){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc9000122fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000122fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000122fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc9000122fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff88807dc64f40 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x242/0x430 net/bluetooth/hci_sync.c:339 locks held by kworker/u8:9/3357: 4, on CPU#1: #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff88801c8ac150 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc9000e4afc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000e4afc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000e4afc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc9000e4afc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff8880549d0820 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:7065 [inline] #2: ffff8880549d0820 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x430 net/wireless/core.c:595 #3: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1224 [inline] #3: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550 arch/x86/kernel/unwind_orc.c:495 locks held by getty/5396: 2, last CPU#0: #0: ffff8880344840a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000323b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211 locks held by kworker/u9:3/5817: 3, last CPU#0: #0: ffff8880764a2150 ((wq_completion)hci11){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff8880764a2150 ((wq_completion)hci11){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff8880764a2150 ((wq_completion)hci11){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff8880764a2150 ((wq_completion)hci11){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc900045f7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc900045f7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc900045f7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc900045f7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff888056348f40 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x242/0x430 net/bluetooth/hci_sync.c:339 locks held by syz.7.24/6157: 7, on CPU#0: #0: ffff88805504a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88805504a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888056b6cc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 #4: ffff88801cfd82b8 (&set->tag_list_lock){+.+.}-{4:4}, at: blk_mq_init_allocated_queue+0x3b0/0x1770 block/blk-mq.c:4703 #5: ffff88802834a5a0 (&q->q_usage_counter(io)#67){++++}-{0:0}, at: blk_mq_add_queue_tag_set block/blk-mq.c:4383 [inline] #5: ffff88802834a5a0 (&q->q_usage_counter(io)#67){++++}-{0:0}, at: blk_mq_init_allocated_queue+0x1185/0x1770 block/blk-mq.c:4724 #6: ffff88802834a5d8 (&q->q_usage_counter(queue)#50){++++}-{0:0}, at: blk_mq_add_queue_tag_set block/blk-mq.c:4383 [inline] #6: ffff88802834a5d8 (&q->q_usage_counter(queue)#50){++++}-{0:0}, at: blk_mq_init_allocated_queue+0x1185/0x1770 block/blk-mq.c:4724 locks held by syz.8.25/6366: 4, last CPU#0: #0: ffff88803658c478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88803658c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888058ce7c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.9.26/6470: 4, last CPU#0: #0: ffff888035448478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888035448478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888058dbfc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.1.28/6482: 4, last CPU#1: #0: ffff888027376478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888027376478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88805d195480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.0.27/6492: 4, last CPU#0: #0: ffff888054b3a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888054b3a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88807b442080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.2.29/6651: 4, last CPU#1: #0: ffff88807c8e8478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807c8e8478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff8880373ce080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.3.30/6726: 4, last CPU#1: #0: ffff888057c0a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888057c0a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888052a0b880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.5.32/6767: 4, last CPU#1: #0: ffff88807c5ca478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807c5ca478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888052b63480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.4.31/6772: 4, last CPU#1: #0: ffff8880589e2478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff8880589e2478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888076deec80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.6.33/6815: 4, last CPU#1: #0: ffff888059732478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888059732478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88805251bc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.7.34/6870: 4, last CPU#0: #0: ffff888036d8a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888036d8a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888056296880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.8.35/6935: 4, last CPU#0: #0: ffff888053f1a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888053f1a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888052646080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.9.36/6941: 4, last CPU#0: #0: ffff888052370478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888052370478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804f057080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.0.37/6978: 4, last CPU#1: #0: ffff888050d4e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888050d4e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88807e785080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.1.38/7016: 4, last CPU#1: #0: ffff88807f60c478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807f60c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888058423880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.2.39/7083: 4, last CPU#0: #0: ffff888037534478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888037534478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804fb96480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.3.40/7089: 4, last CPU#0: #0: ffff888054e26478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888054e26478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804c7b8c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.5.41/7130: 4, last CPU#1: #0: ffff888057396478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888057396478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804fe7a080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.4.42/7173: 4, last CPU#0: #0: ffff888055962478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888055962478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88805e3c5480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.6.43/7253: 4, last CPU#0: #0: ffff888055a80478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888055a80478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff8880527c8c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.7.44/7266: 4, last CPU#0: #0: ffff88807c1d6478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807c1d6478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff8880497f9880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.8.45/7296: 4, last CPU#0: #0: ffff888036eea478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888036eea478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88807aee7c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.9.46/7339: 4, last CPU#1: #0: ffff88805fe02478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88805fe02478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888070e46080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by kworker/u9:5/7340: 3, last CPU#1: #0: ffff88807ea5d950 ((wq_completion)hci13){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88807ea5d950 ((wq_completion)hci13){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88807ea5d950 ((wq_completion)hci13){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #0: ffff88807ea5d950 ((wq_completion)hci13){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #1: ffffc9000623fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc9000623fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc9000623fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline] #1: ffffc9000623fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594 #2: ffff88805994cf40 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x242/0x430 net/bluetooth/hci_sync.c:339 locks held by syz.0.47/7433: 4, last CPU#0: #0: ffff888035872478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888035872478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888045617880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.1.48/7434: 4, last CPU#1: #0: ffff888053f0a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888053f0a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888055a62c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.2.49/7451: 4, last CPU#1: #0: ffff88807c7bc478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807c7bc478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888044ebac80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.3.50/7486: 4, last CPU#1: #0: ffff8880441b0478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff8880441b0478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804b78dc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.5.51/7594: 4, last CPU#1: #0: ffff888053874478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff888053874478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888057d7f080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.4.52/7606: 4, last CPU#1: #0: ffff8880487a6478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff8880487a6478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88804ce81c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.7.53/7643: 4, last CPU#1: #0: ffff88807b79a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88807b79a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff88807dd9c880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 locks held by syz.6.54/7660: 4, last CPU#0: #0: ffff88804702a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline] #0: ffff88804702a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668 #1: ffff888057b58080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880284464b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffff88801cfd80d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 35 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123 nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66 trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x13a/0x180 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:377 [inline] watchdog+0x1073/0x10f0 kernel/hung_task.c:598 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 34 Comm: pr/ttyS0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:preempt_count_sub+0x73/0x180 kernel/sched/core.c:6115 Code: 0f 94 c1 81 ff ff 00 00 00 0f 92 c2 45 84 f6 0f 94 c0 84 ca 75 02 31 c0 84 c0 75 57 f7 df 48 63 c7 65 48 01 05 de 02 7c 13 5b <41> 5e 5d c3 cc cc cc cc cc 90 e8 8e ce 70 03 85 c0 74 33 48 c7 c0 RSP: 0018:ffffc90000aa78a0 EFLAGS: 00000093 RAX: ffffffffffffffff RBX: 0000000000000899 RCX: ffffffff9c1b7a01 RDX: 0000000000000001 RSI: ffffffff8cb04160 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: ffffffff8c2f11d0 R12: 1ffffffff38a2555 R13: 00000000ffffffff R14: 8000000000000002 R15: 000000000000046a FS: 0000000000000000(0000) GS:ffff8881230fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557594a81a88 CR3: 0000000059000000 CR4: 00000000003526f0 Call Trace: delay_tsc+0x4e/0xd0 arch/x86/lib/delay.c:75 udelay include/asm-generic/delay.h:62 [inline] wait_for_lsr+0x147/0x2f0 drivers/tty/serial/8250/8250_port.c:2042 serial8250_fifo_wait_for_lsr_thre drivers/tty/serial/8250/8250_port.c:3294 [inline] __serial8250_console_fifo_write+0xcd/0x3e0 drivers/tty/serial/8250/8250_port.c:3369 serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3402 [inline] __serial8250_console_write drivers/tty/serial/8250/8250_port.c:3456 [inline] serial8250_console_write+0xa7e/0x1200 drivers/tty/serial/8250/8250_port.c:3520 nbcon_emit_next_record+0xef5/0x1a90 kernel/printk/nbcon.c:-1 nbcon_emit_one kernel/printk/nbcon.c:1157 [inline] nbcon_kthread_func+0x6d9/0x8d0 kernel/printk/nbcon.c:1271 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245