Extracting prog: 26.488683587s
Minimizing prog: 18m33.400935132s
Simplifying prog options: 0s
Extracting C: 32.80084703s
Simplifying C: 5m49.131121573s
extracting reproducer from 24 programs
first checking the prog from the crash report
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: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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-ioctl$KVM_CHECK_EXTENSION_VM-renameat-socket-bind$vsock_stream-connect$vsock_stream-listen-rename-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
ioctl$KVM_CHECK_EXTENSION_VM(r1, 0xae03, 0x9b)
renameat(0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0)
r2 = socket(0x28, 0x5, 0x0)
bind$vsock_stream(r2, &(0x7f0000000040)={0x28, 0x0, 0x2710, @host}, 0x10)
connect$vsock_stream(r2, &(0x7f0000000240), 0x10)
listen(r2, 0x4)
rename(&(0x7f0000000080)='none\x00', &(0x7f00000000c0)='./config\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in gadgets_drop
single: successfully extracted reproducer
found reproducer with 14 syscalls
minimizing guilty program
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-ioctl$KVM_CHECK_EXTENSION_VM-renameat-socket-bind$vsock_stream-connect$vsock_stream-listen-rename
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
ioctl$KVM_CHECK_EXTENSION_VM(r1, 0xae03, 0x9b)
renameat(0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0)
r2 = socket(0x28, 0x5, 0x0)
bind$vsock_stream(r2, &(0x7f0000000040)={0x28, 0x0, 0x2710, @host}, 0x10)
connect$vsock_stream(r2, &(0x7f0000000240), 0x10)
listen(r2, 0x4)
rename(&(0x7f0000000080)='none\x00', &(0x7f00000000c0)='./config\x00')
program did not crash
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-ioctl$KVM_CHECK_EXTENSION_VM-renameat-socket-bind$vsock_stream-connect$vsock_stream-listen-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
ioctl$KVM_CHECK_EXTENSION_VM(r1, 0xae03, 0x9b)
renameat(0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0)
r2 = socket(0x28, 0x5, 0x0)
bind$vsock_stream(r2, &(0x7f0000000040)={0x28, 0x0, 0x2710, @host}, 0x10)
connect$vsock_stream(r2, &(0x7f0000000240), 0x10)
listen(r2, 0x4)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-ioctl$KVM_CHECK_EXTENSION_VM-renameat-socket-bind$vsock_stream-connect$vsock_stream-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
ioctl$KVM_CHECK_EXTENSION_VM(r1, 0xae03, 0x9b)
renameat(0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0)
r2 = socket(0x28, 0x5, 0x0)
bind$vsock_stream(r2, &(0x7f0000000040)={0x28, 0x0, 0x2710, @host}, 0x10)
connect$vsock_stream(r2, &(0x7f0000000240), 0x10)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in gadgets_drop
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-ioctl$KVM_CHECK_EXTENSION_VM-renameat-socket-bind$vsock_stream-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
ioctl$KVM_CHECK_EXTENSION_VM(r1, 0xae03, 0x9b)
renameat(0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0)
r2 = socket(0x28, 0x5, 0x0)
bind$vsock_stream(r2, &(0x7f0000000040)={0x28, 0x0, 0x2710, @host}, 0x10)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-ioctl$KVM_CHECK_EXTENSION_VM-renameat-socket-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
ioctl$KVM_CHECK_EXTENSION_VM(r1, 0xae03, 0x9b)
renameat(0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0)
socket(0x28, 0x5, 0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-ioctl$KVM_CHECK_EXTENSION_VM-renameat-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
ioctl$KVM_CHECK_EXTENSION_VM(r1, 0xae03, 0x9b)
renameat(0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-ioctl$KVM_CHECK_EXTENSION_VM-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
ioctl$KVM_CHECK_EXTENSION_VM(r1, 0xae03, 0x9b)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-lsm_list_modules-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
lsm_list_modules(0x0, 0x0, 0x18)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-ioctl$KVM_CREATE_VM-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-openat$kvm-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
openat$kvm(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=34.687981558s, {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}}): mkdir-mount-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program did not crash
testing program (duration=34.687981558s, {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}}): mkdir-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program did not crash
testing program (duration=34.687981558s, {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-mkdir-rmdir
detailed listing:
executing program 0:
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program did not crash
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(0x0, 0x1ff)
mount(&(0x7f0000000200)=@filename='none\x00', &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program did not crash
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(0x0, 0x0, &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program did not crash
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000300)='./config\x00', 0x0, 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program did not crash
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(0x0, 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program did not crash
testing program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
simplifying C reproducer
testing compiled C program (duration=34.687981558s, {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}}): mkdir-mount-mkdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing compiled C program (duration=34.687981558s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false 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}}): mkdir-mount-mkdir-rmdir
program did not crash
testing compiled C program (duration=34.687981558s, {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: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}}): mkdir-mount-mkdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing compiled C program (duration=34.687981558s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdir-mount-mkdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove
testing compiled C program (duration=34.687981558s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdir-mount-mkdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing compiled C program (duration=34.687981558s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdir-mount-mkdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing compiled C program (duration=34.687981558s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdir-mount-mkdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=34.687981558s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_find_and_get_ns
validation run: crashed=true
testing program (duration=34.687981558s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
validation run: crashed=true
testing program (duration=34.687981558s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdir-mount-mkdir-rmdir
detailed listing:
executing program 0:
mkdir(&(0x7f0000000100)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000300)='./config\x00', &(0x7f0000000400)='configfs\x00', 0x0, 0x0)
mkdir(&(0x7f0000000500)='./config/usb_gadget/g2\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g2\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
validation run: crashed=true
reproducing took 27m44.216055862s
repro crashed as (corrupted=false):
BUG: scheduling while atomic: syz.2.17/381/0x00000002
Modules linked in:
CPU: 1 UID: 0 PID: 381 Comm: syz.2.17 Not tainted syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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
__schedule_bug+0x12b/0x200 kernel/sched/core.c:6626
schedule_debug kernel/sched/core.c:6653 [inline]
__schedule+0xb85/0x20b0 kernel/sched/core.c:7697
__schedule_loop kernel/sched/core.c:7957 [inline]
schedule+0xc5/0x240 kernel/sched/core.c:7972
schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:8029
rwsem_down_write_slowpath+0x5c9/0x1b60 kernel/locking/rwsem.c:1239
__down_write_common kernel/locking/rwsem.c:1383 [inline]
__down_write kernel/locking/rwsem.c:1392 [inline]
down_write+0x163/0x2b0 kernel/locking/rwsem.c:1659
kernfs_remove_by_name_ns+0x8c/0x180 fs/kernfs/dir.c:1737
kernfs_remove_by_name include/linux/kernfs.h:637 [inline]
remove_files fs/sysfs/group.c:28 [inline]
sysfs_remove_group+0x108/0x250 fs/sysfs/group.c:319
dpm_sysfs_remove+0x99/0xd0 drivers/base/power/sysfs.c:837
device_del+0x241/0xcf0 drivers/base/core.c:3856
device_unregister drivers/base/core.c:3922 [inline]
device_destroy+0xb0/0x100 drivers/base/core.c:4521
android_device_destroy+0x118/0x180 drivers/usb/gadget/android_configfs_uevent.c:223
gadgets_drop+0x1d/0x30 drivers/usb/gadget/configfs.c:2075
client_drop_item fs/configfs/dir.c:943 [inline]
configfs_rmdir+0x8b7/0x9b0 fs/configfs/dir.c:1546
vfs_rmdir+0x3de/0x560 fs/namei.c:4348
do_rmdir+0x29a/0x590 fs/namei.c:4407
__do_sys_rmdir fs/namei.c:4426 [inline]
__se_sys_rmdir fs/namei.c:4424 [inline]
__x64_sys_rmdir+0x4b/0x60 fs/namei.c:4424
x64_sys_call+0xaf7/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:85
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:0x7fa2bed9e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdf4a5d5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007fa2bf025fa0 RCX: 00007fa2bed9e019
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000600
RBP: 00007fa2bee3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa2bf025fac R14: 00007fa2bf025fa0 R15: 00007fa2bf025fa0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 381 at lib/stackdepot.c:635 stack_depot_save_flags+0x266/0x800 lib/stackdepot.c:633
Modules linked in:
CPU: 0 UID: 0 PID: 381 Comm: syz.2.17 Tainted: G W syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:stack_depot_save_flags+0x266/0x800 lib/stackdepot.c:635
Code: 48 83 3d f4 f2 db 05 00 0f 84 00 04 00 00 48 c7 45 c0 00 00 00 00 48 89 d3 65 8b 05 0c a4 1e 7d 4d 89 d7 a9 00 00 f0 00 74 2d <0f> 0b 48 c7 45 c8 00 00 00 00 9c 8f 45 c8 4c 8b 6d c8 fa 48 c7 c7
RSP: 0018:ffffc90001abf980 EFLAGS: 00010206
RAX: 000000007fffffff RBX: ffff8881f5e690a0 RCX: 0000000000c690a0
RDX: ffff8881f5e690a0 RSI: 0000000000000001 RDI: 0000000020423465
RBP: ffffc90001abf9e0 R08: 00000000ffd63c09 R09: 00000000ba511339
R10: 000000000000000d R11: ffffffff81759ed0 R12: 00000000114c690a
R13: 0000000000000000 R14: ffffc90001abf9f0 R15: 000000000000000d
FS: 000055555e989500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000194b4ce03000 CR3: 000000010fb6a000 CR4: 00000000003526b0
Call Trace:
kasan_save_stack mm/kasan/common.c:50 [inline]
kasan_save_track+0x4f/0x80 mm/kasan/common.c:70
kasan_save_free_info+0x44/0x50 mm/kasan/generic.c:579
poison_slab_object mm/kasan/common.c:249 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:266
kasan_slab_free include/linux/kasan.h:234 [inline]
slab_free_hook mm/slub.c:2445 [inline]
slab_free mm/slub.c:4714 [inline]
kfree+0x158/0x440 mm/slub.c:4875
gadget_info_attr_release+0xcb/0x130 drivers/usb/gadget/configfs.c:412
config_item_cleanup fs/configfs/item.c:128 [inline]
config_item_release fs/configfs/item.c:137 [inline]
kref_put include/linux/kref.h:65 [inline]
config_item_put+0x178/0x240 fs/configfs/item.c:149
configfs_rmdir+0x8e8/0x9b0 fs/configfs/dir.c:1550
vfs_rmdir+0x3de/0x560 fs/namei.c:4348
do_rmdir+0x29a/0x590 fs/namei.c:4407
__do_sys_rmdir fs/namei.c:4426 [inline]
__se_sys_rmdir fs/namei.c:4424 [inline]
__x64_sys_rmdir+0x4b/0x60 fs/namei.c:4424
x64_sys_call+0xaf7/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:85
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:0x7fa2bed9e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdf4a5d5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007fa2bf025fa0 RCX: 00007fa2bed9e019
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000600
RBP: 00007fa2bee3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa2bf025fac R14: 00007fa2bf025fa0 R15: 00007fa2bf025fa0
---[ end trace 0000000000000000 ]---
BUG: scheduling while atomic: syz.2.17/381/0x00000000
Modules linked in:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 381 Comm: syz.2.17 Tainted: G W syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:schedule_debug kernel/sched/core.c:6636 [inline]
RIP: 0010:__schedule+0x14e/0x20b0 kernel/sched/core.c:7697
Code: 00 00 48 89 04 24 4c 8d 70 20 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 2c e1 3b fc 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 f7 e8 13 e1 3b fc 49 81 3e 9d 6e ac 57
RSP: 0018:ffffc90001abf4c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8881f6f4fa40 RCX: ffff888116911300
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90001abf690 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff0e9f34c R12: 1ffff92000357eb0
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1103edea0c9
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34463fff CR3: 00000001220c2000 CR4: 00000000003526b0
Call Trace:
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:schedule_debug kernel/sched/core.c:6636 [inline]
RIP: 0010:__schedule+0x14e/0x20b0 kernel/sched/core.c:7697
Code: 00 00 48 89 04 24 4c 8d 70 20 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 2c e1 3b fc 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 f7 e8 13 e1 3b fc 49 81 3e 9d 6e ac 57
RSP: 0018:ffffc90001abf4c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8881f6f4fa40 RCX: ffff888116911300
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90001abf690 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff0e9f34c R12: 1ffff92000357eb0
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1103edea0c9
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34463fff CR3: 00000001220c2000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 48 89 04 24 mov %rax,(%rsp)
6: 4c 8d 70 20 lea 0x20(%rax),%r14
a: 4c 89 f0 mov %r14,%rax
d: 48 c1 e8 03 shr $0x3,%rax
11: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
16: 74 08 je 0x20
18: 4c 89 f7 mov %r14,%rdi
1b: e8 2c e1 3b fc call 0xfc3be14c
20: 4d 8b 36 mov (%r14),%r14
23: 4c 89 f0 mov %r14,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 4c 89 f7 mov %r14,%rdi
34: e8 13 e1 3b fc call 0xfc3be14c
39: 49 81 3e 9d 6e ac 57 cmpq $0x57ac6e9d,(%r14)
final repro crashed as (corrupted=false):
BUG: scheduling while atomic: syz.2.17/381/0x00000002
Modules linked in:
CPU: 1 UID: 0 PID: 381 Comm: syz.2.17 Not tainted syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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
__schedule_bug+0x12b/0x200 kernel/sched/core.c:6626
schedule_debug kernel/sched/core.c:6653 [inline]
__schedule+0xb85/0x20b0 kernel/sched/core.c:7697
__schedule_loop kernel/sched/core.c:7957 [inline]
schedule+0xc5/0x240 kernel/sched/core.c:7972
schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:8029
rwsem_down_write_slowpath+0x5c9/0x1b60 kernel/locking/rwsem.c:1239
__down_write_common kernel/locking/rwsem.c:1383 [inline]
__down_write kernel/locking/rwsem.c:1392 [inline]
down_write+0x163/0x2b0 kernel/locking/rwsem.c:1659
kernfs_remove_by_name_ns+0x8c/0x180 fs/kernfs/dir.c:1737
kernfs_remove_by_name include/linux/kernfs.h:637 [inline]
remove_files fs/sysfs/group.c:28 [inline]
sysfs_remove_group+0x108/0x250 fs/sysfs/group.c:319
dpm_sysfs_remove+0x99/0xd0 drivers/base/power/sysfs.c:837
device_del+0x241/0xcf0 drivers/base/core.c:3856
device_unregister drivers/base/core.c:3922 [inline]
device_destroy+0xb0/0x100 drivers/base/core.c:4521
android_device_destroy+0x118/0x180 drivers/usb/gadget/android_configfs_uevent.c:223
gadgets_drop+0x1d/0x30 drivers/usb/gadget/configfs.c:2075
client_drop_item fs/configfs/dir.c:943 [inline]
configfs_rmdir+0x8b7/0x9b0 fs/configfs/dir.c:1546
vfs_rmdir+0x3de/0x560 fs/namei.c:4348
do_rmdir+0x29a/0x590 fs/namei.c:4407
__do_sys_rmdir fs/namei.c:4426 [inline]
__se_sys_rmdir fs/namei.c:4424 [inline]
__x64_sys_rmdir+0x4b/0x60 fs/namei.c:4424
x64_sys_call+0xaf7/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:85
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:0x7fa2bed9e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdf4a5d5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007fa2bf025fa0 RCX: 00007fa2bed9e019
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000600
RBP: 00007fa2bee3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa2bf025fac R14: 00007fa2bf025fa0 R15: 00007fa2bf025fa0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 381 at lib/stackdepot.c:635 stack_depot_save_flags+0x266/0x800 lib/stackdepot.c:633
Modules linked in:
CPU: 0 UID: 0 PID: 381 Comm: syz.2.17 Tainted: G W syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:stack_depot_save_flags+0x266/0x800 lib/stackdepot.c:635
Code: 48 83 3d f4 f2 db 05 00 0f 84 00 04 00 00 48 c7 45 c0 00 00 00 00 48 89 d3 65 8b 05 0c a4 1e 7d 4d 89 d7 a9 00 00 f0 00 74 2d <0f> 0b 48 c7 45 c8 00 00 00 00 9c 8f 45 c8 4c 8b 6d c8 fa 48 c7 c7
RSP: 0018:ffffc90001abf980 EFLAGS: 00010206
RAX: 000000007fffffff RBX: ffff8881f5e690a0 RCX: 0000000000c690a0
RDX: ffff8881f5e690a0 RSI: 0000000000000001 RDI: 0000000020423465
RBP: ffffc90001abf9e0 R08: 00000000ffd63c09 R09: 00000000ba511339
R10: 000000000000000d R11: ffffffff81759ed0 R12: 00000000114c690a
R13: 0000000000000000 R14: ffffc90001abf9f0 R15: 000000000000000d
FS: 000055555e989500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000194b4ce03000 CR3: 000000010fb6a000 CR4: 00000000003526b0
Call Trace:
kasan_save_stack mm/kasan/common.c:50 [inline]
kasan_save_track+0x4f/0x80 mm/kasan/common.c:70
kasan_save_free_info+0x44/0x50 mm/kasan/generic.c:579
poison_slab_object mm/kasan/common.c:249 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:266
kasan_slab_free include/linux/kasan.h:234 [inline]
slab_free_hook mm/slub.c:2445 [inline]
slab_free mm/slub.c:4714 [inline]
kfree+0x158/0x440 mm/slub.c:4875
gadget_info_attr_release+0xcb/0x130 drivers/usb/gadget/configfs.c:412
config_item_cleanup fs/configfs/item.c:128 [inline]
config_item_release fs/configfs/item.c:137 [inline]
kref_put include/linux/kref.h:65 [inline]
config_item_put+0x178/0x240 fs/configfs/item.c:149
configfs_rmdir+0x8e8/0x9b0 fs/configfs/dir.c:1550
vfs_rmdir+0x3de/0x560 fs/namei.c:4348
do_rmdir+0x29a/0x590 fs/namei.c:4407
__do_sys_rmdir fs/namei.c:4426 [inline]
__se_sys_rmdir fs/namei.c:4424 [inline]
__x64_sys_rmdir+0x4b/0x60 fs/namei.c:4424
x64_sys_call+0xaf7/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:85
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:0x7fa2bed9e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdf4a5d5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007fa2bf025fa0 RCX: 00007fa2bed9e019
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000600
RBP: 00007fa2bee3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa2bf025fac R14: 00007fa2bf025fa0 R15: 00007fa2bf025fa0
---[ end trace 0000000000000000 ]---
BUG: scheduling while atomic: syz.2.17/381/0x00000000
Modules linked in:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 381 Comm: syz.2.17 Tainted: G W syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:schedule_debug kernel/sched/core.c:6636 [inline]
RIP: 0010:__schedule+0x14e/0x20b0 kernel/sched/core.c:7697
Code: 00 00 48 89 04 24 4c 8d 70 20 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 2c e1 3b fc 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 f7 e8 13 e1 3b fc 49 81 3e 9d 6e ac 57
RSP: 0018:ffffc90001abf4c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8881f6f4fa40 RCX: ffff888116911300
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90001abf690 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff0e9f34c R12: 1ffff92000357eb0
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1103edea0c9
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34463fff CR3: 00000001220c2000 CR4: 00000000003526b0
Call Trace:
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:schedule_debug kernel/sched/core.c:6636 [inline]
RIP: 0010:__schedule+0x14e/0x20b0 kernel/sched/core.c:7697
Code: 00 00 48 89 04 24 4c 8d 70 20 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 2c e1 3b fc 4d 8b 36 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 f7 e8 13 e1 3b fc 49 81 3e 9d 6e ac 57
RSP: 0018:ffffc90001abf4c0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8881f6f4fa40 RCX: ffff888116911300
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90001abf690 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff0e9f34c R12: 1ffff92000357eb0
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1103edea0c9
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34463fff CR3: 00000001220c2000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 48 89 04 24 mov %rax,(%rsp)
6: 4c 8d 70 20 lea 0x20(%rax),%r14
a: 4c 89 f0 mov %r14,%rax
d: 48 c1 e8 03 shr $0x3,%rax
11: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
16: 74 08 je 0x20
18: 4c 89 f7 mov %r14,%rdi
1b: e8 2c e1 3b fc call 0xfc3be14c
20: 4d 8b 36 mov (%r14),%r14
23: 4c 89 f0 mov %r14,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 4c 89 f7 mov %r14,%rdi
34: e8 13 e1 3b fc call 0xfc3be14c
39: 49 81 3e 9d 6e ac 57 cmpq $0x57ac6e9d,(%r14)