Extracting prog: 2m51.499090872s
Minimizing prog: 5m39.973397795s
Simplifying prog options: 0s
Extracting C: 1m13.985493957s
Simplifying C: 12m28.541176282s
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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
detailed listing:
executing program 0:
r0 = openat$comedi(0xffffffffffffff9c, &(0x7f0000000080)='/dev/comedi3\x00', 0x400, 0x0)
ioctl$COMEDI_DEVCONFIG(r0, 0x40946400, &(0x7f0000000180)={'c6xdigio\x00', [0x0, 0x9, 0x3, 0x3, 0x10000, 0x7ff, 0x0, 0x4, 0x3a54, 0x2, 0x8, 0x400, 0x5, 0x1, 0x4, 0x6, 0x3, 0x8, 0x0, 0x7, 0x3, 0x8, 0x3, 0xd3e, 0x200, 0x7, 0x6, 0x5, 0x9, 0xf, 0xe]})
program crashed: WARNING in driver_unregister
program crashed: WARNING in driver_unregister
single: successfully extracted reproducer
found reproducer with 2 syscalls
minimizing guilty program
testing program (duration=46.223203366s, {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}}): openat$comedi
detailed listing:
executing program 0:
openat$comedi(0xffffffffffffff9c, &(0x7f0000000080)='/dev/comedi3\x00', 0x400, 0x0)
program did not crash
testing program (duration=46.223203366s, {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}}): ioctl$COMEDI_DEVCONFIG
detailed listing:
executing program 0:
ioctl$COMEDI_DEVCONFIG(0xffffffffffffffff, 0x40946400, &(0x7f0000000180)={'c6xdigio\x00', [0x0, 0x9, 0x3, 0x3, 0x10000, 0x7ff, 0x0, 0x4, 0x3a54, 0x2, 0x8, 0x400, 0x5, 0x1, 0x4, 0x6, 0x3, 0x8, 0x0, 0x7, 0x3, 0x8, 0x3, 0xd3e, 0x200, 0x7, 0x6, 0x5, 0x9, 0xf, 0xe]})
program did not crash
testing program (duration=46.223203366s, {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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
detailed listing:
executing program 0:
r0 = openat$comedi(0xffffffffffffff9c, 0x0, 0x400, 0x0)
ioctl$COMEDI_DEVCONFIG(r0, 0x40946400, &(0x7f0000000180)={'c6xdigio\x00', [0x0, 0x9, 0x3, 0x3, 0x10000, 0x7ff, 0x0, 0x4, 0x3a54, 0x2, 0x8, 0x400, 0x5, 0x1, 0x4, 0x6, 0x3, 0x8, 0x0, 0x7, 0x3, 0x8, 0x3, 0xd3e, 0x200, 0x7, 0x6, 0x5, 0x9, 0xf, 0xe]})
program did not crash
testing program (duration=46.223203366s, {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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
detailed listing:
executing program 0:
r0 = openat$comedi(0xffffffffffffff9c, &(0x7f0000000080)='/dev/comedi3\x00', 0x400, 0x0)
ioctl$COMEDI_DEVCONFIG(r0, 0x40946400, 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=46.223203366s, {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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
program crashed: WARNING in driver_unregister
simplifying C reproducer
testing compiled C program (duration=46.223203366s, {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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
program crashed: WARNING in driver_unregister
testing compiled C program (duration=46.223203366s, {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: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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
program crashed: WARNING in driver_unregister
testing compiled C program (duration=46.223203366s, {Threaded:false Repeat:false 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:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
program crashed: WARNING in driver_unregister
testing compiled C program (duration=46.223203366s, {Threaded:false Repeat:false 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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
program crashed: WARNING in driver_unregister
testing compiled C program (duration=46.223203366s, {Threaded:false Repeat:false 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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
program crashed: WARNING in driver_unregister
testing compiled C program (duration=46.223203366s, {Threaded:false Repeat:false 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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
program crashed: WARNING in driver_unregister
testing compiled C program (duration=46.223203366s, {Threaded:false Repeat:false 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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
program crashed: WARNING in driver_unregister
testing program (duration=46.223203366s, {Threaded:false Repeat:false 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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
detailed listing:
executing program 0:
r0 = openat$comedi(0xffffffffffffff9c, &(0x7f0000000080)='/dev/comedi3\x00', 0x400, 0x0)
ioctl$COMEDI_DEVCONFIG(r0, 0x40946400, &(0x7f0000000180)={'c6xdigio\x00', [0x0, 0x9, 0x3, 0x3, 0x10000, 0x7ff, 0x0, 0x4, 0x3a54, 0x2, 0x8, 0x400, 0x5, 0x1, 0x4, 0x6, 0x3, 0x8, 0x0, 0x7, 0x3, 0x8, 0x3, 0xd3e, 0x200, 0x7, 0x6, 0x5, 0x9, 0xf, 0xe]})
program crashed: WARNING in driver_unregister
validation run: crashed=true
testing program (duration=46.223203366s, {Threaded:false Repeat:false 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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
detailed listing:
executing program 0:
r0 = openat$comedi(0xffffffffffffff9c, &(0x7f0000000080)='/dev/comedi3\x00', 0x400, 0x0)
ioctl$COMEDI_DEVCONFIG(r0, 0x40946400, &(0x7f0000000180)={'c6xdigio\x00', [0x0, 0x9, 0x3, 0x3, 0x10000, 0x7ff, 0x0, 0x4, 0x3a54, 0x2, 0x8, 0x400, 0x5, 0x1, 0x4, 0x6, 0x3, 0x8, 0x0, 0x7, 0x3, 0x8, 0x3, 0xd3e, 0x200, 0x7, 0x6, 0x5, 0x9, 0xf, 0xe]})
program crashed: WARNING in driver_unregister
validation run: crashed=true
testing program (duration=46.223203366s, {Threaded:false Repeat:false 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}}): openat$comedi-ioctl$COMEDI_DEVCONFIG
detailed listing:
executing program 0:
r0 = openat$comedi(0xffffffffffffff9c, &(0x7f0000000080)='/dev/comedi3\x00', 0x400, 0x0)
ioctl$COMEDI_DEVCONFIG(r0, 0x40946400, &(0x7f0000000180)={'c6xdigio\x00', [0x0, 0x9, 0x3, 0x3, 0x10000, 0x7ff, 0x0, 0x4, 0x3a54, 0x2, 0x8, 0x400, 0x5, 0x1, 0x4, 0x6, 0x3, 0x8, 0x0, 0x7, 0x3, 0x8, 0x3, 0xd3e, 0x200, 0x7, 0x6, 0x5, 0x9, 0xf, 0xe]})
program crashed: WARNING in driver_unregister
validation run: crashed=true
reproducing took 28m14.750191049s
repro crashed as (corrupted=false):
comedi comedi3: c6xdigio: a I/O base address must be specified
------------[ cut here ]------------
Unexpected driver unregister!
WARNING: drivers/base/driver.c:273 at driver_unregister+0x94/0xb0 drivers/base/driver.c:273, CPU#0: syz.0.17/6003
Modules linked in:
CPU: 0 UID: 0 PID: 6003 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:driver_unregister+0x94/0xb0 drivers/base/driver.c:273
Code: 13 93 fc 48 89 df 5b 41 5e 41 5f e9 56 55 ff ff e8 d1 6e f1 fb eb 05 e8 ca 6e f1 fb 90 48 c7 c7 e0 26 e8 8b e8 ad 8b b4 fb 90 <0f> 0b 90 90 5b 41 5e 41 5f e9 3e af 78 05 cc cc cc cc cc cc cc cc
RSP: 0018:ffffc90003aefa20 EFLAGS: 00010246
RAX: d09e8f6f41f1c100 RBX: ffffffff8f3bb120 RCX: ffff88802d2a8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bfa650 R12: ffff88814c7c5838
R13: ffffffff8f3bb070 R14: 0000000000000000 R15: dffffc0000000000
FS: 000055557761d500(0000) GS:ffff888125d2d000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fd63fff CR3: 0000000078620000 CR4: 00000000003526f0
Call Trace:
comedi_device_detach_locked+0x178/0x750 drivers/comedi/drivers.c:207
comedi_device_detach drivers/comedi/drivers.c:215 [inline]
comedi_device_attach+0x5d4/0x720 drivers/comedi/drivers.c:1011
do_devconfig_ioctl drivers/comedi/comedi_fops.c:872 [inline]
comedi_unlocked_ioctl+0x5ff/0x1020 drivers/comedi/comedi_fops.c:2178
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f29b718eec9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe0b7219b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f29b73e5fa0 RCX: 00007f29b718eec9
RDX: 0000200000000180 RSI: 0000000040946400 RDI: 0000000000000003
RBP: 00007f29b7211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f29b73e5fa0 R14: 00007f29b73e5fa0 R15: 0000000000000003
final repro crashed as (corrupted=false):
comedi comedi3: c6xdigio: a I/O base address must be specified
------------[ cut here ]------------
Unexpected driver unregister!
WARNING: drivers/base/driver.c:273 at driver_unregister+0x94/0xb0 drivers/base/driver.c:273, CPU#0: syz.0.17/6003
Modules linked in:
CPU: 0 UID: 0 PID: 6003 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:driver_unregister+0x94/0xb0 drivers/base/driver.c:273
Code: 13 93 fc 48 89 df 5b 41 5e 41 5f e9 56 55 ff ff e8 d1 6e f1 fb eb 05 e8 ca 6e f1 fb 90 48 c7 c7 e0 26 e8 8b e8 ad 8b b4 fb 90 <0f> 0b 90 90 5b 41 5e 41 5f e9 3e af 78 05 cc cc cc cc cc cc cc cc
RSP: 0018:ffffc90003aefa20 EFLAGS: 00010246
RAX: d09e8f6f41f1c100 RBX: ffffffff8f3bb120 RCX: ffff88802d2a8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bfa650 R12: ffff88814c7c5838
R13: ffffffff8f3bb070 R14: 0000000000000000 R15: dffffc0000000000
FS: 000055557761d500(0000) GS:ffff888125d2d000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fd63fff CR3: 0000000078620000 CR4: 00000000003526f0
Call Trace:
comedi_device_detach_locked+0x178/0x750 drivers/comedi/drivers.c:207
comedi_device_detach drivers/comedi/drivers.c:215 [inline]
comedi_device_attach+0x5d4/0x720 drivers/comedi/drivers.c:1011
do_devconfig_ioctl drivers/comedi/comedi_fops.c:872 [inline]
comedi_unlocked_ioctl+0x5ff/0x1020 drivers/comedi/comedi_fops.c:2178
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f29b718eec9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe0b7219b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f29b73e5fa0 RCX: 00007f29b718eec9
RDX: 0000200000000180 RSI: 0000000040946400 RDI: 0000000000000003
RBP: 00007f29b7211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f29b73e5fa0 R14: 00007f29b73e5fa0 R15: 0000000000000003