Extracting prog: 1m3.945936423s
Minimizing prog: 16m39.929185064s
Simplifying prog options: 1m52.844178845s
Extracting C: 49.264173319s
Simplifying C: 4m55.901595037s
extracting reproducer from 51 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}}): mkdirat-mount-mkdirat-mkdirat-rmdir-socket$inet6_tcp-setsockopt$inet6_tcp_int-setsockopt$inet6_tcp_TCP_REPAIR_QUEUE-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000400)='./config/usb_gadget/g1/functions/SourceSink.f1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
r0 = socket$inet6_tcp(0xa, 0x1, 0x0)
setsockopt$inet6_tcp_int(r0, 0x6, 0x13, &(0x7f0000000000)=0x100000001, 0x4)
setsockopt$inet6_tcp_TCP_REPAIR_QUEUE(r0, 0x6, 0x14, &(0x7f0000000540)=0x3, 0x4)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove
single: successfully extracted reproducer
found reproducer with 9 syscalls
minimizing guilty program
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-rmdir-socket$inet6_tcp-setsockopt$inet6_tcp_int-setsockopt$inet6_tcp_TCP_REPAIR_QUEUE
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000400)='./config/usb_gadget/g1/functions/SourceSink.f1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
r0 = socket$inet6_tcp(0xa, 0x1, 0x0)
setsockopt$inet6_tcp_int(r0, 0x6, 0x13, &(0x7f0000000000)=0x100000001, 0x4)
setsockopt$inet6_tcp_TCP_REPAIR_QUEUE(r0, 0x6, 0x14, &(0x7f0000000540)=0x3, 0x4)
program did not crash
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-rmdir-socket$inet6_tcp-setsockopt$inet6_tcp_int-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000400)='./config/usb_gadget/g1/functions/SourceSink.f1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
r0 = socket$inet6_tcp(0xa, 0x1, 0x0)
setsockopt$inet6_tcp_int(r0, 0x6, 0x13, &(0x7f0000000000)=0x100000001, 0x4)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-rmdir-socket$inet6_tcp-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000400)='./config/usb_gadget/g1/functions/SourceSink.f1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
socket$inet6_tcp(0xa, 0x1, 0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000400)='./config/usb_gadget/g1/functions/SourceSink.f1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-mkdirat-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000400)='./config/usb_gadget/g1/functions/SourceSink.f1\x00', 0x1ff)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program did not crash
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program did not crash
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program did not crash
testing program (duration=35.50956024s, {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-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program did not crash
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, 0x0, 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program did not crash
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, 0x0, &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program did not crash
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', 0x0, 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program did not crash
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, 0x0, 0x1ff)
rmdir(&(0x7f0000000500)='./config/usb_gadget/g1/functions/SourceSink.f1\x00')
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program did not crash
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(0x0)
rmdir(0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=35.50956024s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_drain
a never seen crash title: BUG: scheduling while atomic in kernfs_drain, ignore
simplifying guilty program options
testing program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove
extracting C reproducer
testing compiled C program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-mkdirat-rmdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
simplifying C reproducer
testing compiled C program (duration=35.50956024s, {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}}): mkdirat-mount-mkdirat-rmdir-rmdir
program did not crash
testing compiled C program (duration=35.50956024s, {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}}): mkdirat-mount-mkdirat-rmdir-rmdir
program crashed: BUG: scheduling while atomic in __kernfs_remove
a never seen crash title: BUG: scheduling while atomic in __kernfs_remove, ignore
testing compiled C program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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}}): mkdirat-mount-mkdirat-rmdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing compiled C program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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}}): mkdirat-mount-mkdirat-rmdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing compiled C program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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}}): mkdirat-mount-mkdirat-rmdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing compiled C program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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}}): mkdirat-mount-mkdirat-rmdir-rmdir
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
testing program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
validation run: crashed=true
testing program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
validation run: crashed=true
testing program (duration=35.50956024s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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}}): mkdirat-mount-mkdirat-rmdir-rmdir
detailed listing:
executing program 0:
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff)
mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000200)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/usb_gadget/g1\x00', 0x1ff)
rmdir(0x0)
rmdir(&(0x7f0000000600)='./config/usb_gadget/g1\x00')
program crashed: BUG: scheduling while atomic in kernfs_remove_by_name_ns
validation run: crashed=true
reproducing took 27m34.70919912s
repro crashed as (corrupted=false):
BUG: scheduling while atomic: syz.1.25/411/0x00000002
Modules linked in:
CPU: 1 UID: 0 PID: 411 Comm: syz.1.25 Not tainted syzkaller #0 851f5cb62ab9f9c24538876695daf6a72142c571
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:0x7fa4ca19e0d9
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:00007ffe88c1b428 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007fa4ca425fa0 RCX: 00007fa4ca19e0d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000600
RBP: 00007fa4ca235024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa4ca425fac R14: 00007fa4ca425fa0 R15: 00007fa4ca425fa0
BUG: scheduling while atomic: syz.1.25/411/0x00000000
Modules linked in:
CPU: 0 UID: 0 PID: 411 Comm: syz.1.25 Tainted: G W syzkaller #0 851f5cb62ab9f9c24538876695daf6a72142c571
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
final repro crashed as (corrupted=false):
BUG: scheduling while atomic: syz.1.25/411/0x00000002
Modules linked in:
CPU: 1 UID: 0 PID: 411 Comm: syz.1.25 Not tainted syzkaller #0 851f5cb62ab9f9c24538876695daf6a72142c571
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:0x7fa4ca19e0d9
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:00007ffe88c1b428 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007fa4ca425fa0 RCX: 00007fa4ca19e0d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000600
RBP: 00007fa4ca235024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa4ca425fac R14: 00007fa4ca425fa0 R15: 00007fa4ca425fa0
BUG: scheduling while atomic: syz.1.25/411/0x00000000
Modules linked in:
CPU: 0 UID: 0 PID: 411 Comm: syz.1.25 Tainted: G W syzkaller #0 851f5cb62ab9f9c24538876695daf6a72142c571
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace: