[v6.1] WARNING in driver_unregister

4 views
Skip to first unread message

syzbot

unread,
Jul 20, 2025, 11:31:37 AM7/20/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3369c6df2fae Linux 6.1.146
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12c7a38c580000
kernel config: https://syzkaller.appspot.com/x/.config?x=23408fa0371522c8
dashboard link: https://syzkaller.appspot.com/bug?extid=a1778b11304a198d618d
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ffd1a897d15e/disk-3369c6df.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/3901d2261137/vmlinux-3369c6df.xz
kernel image: https://storage.googleapis.com/syzbot-assets/dc1910a86639/bzImage-3369c6df.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+a1778b...@syzkaller.appspotmail.com

comedi comedi0: c6xdigio: I/O port conflict (0x4000109,3)
------------[ cut here ]------------
Unexpected driver unregister!
WARNING: CPU: 0 PID: 6071 at drivers/base/driver.c:270 driver_unregister+0x8e/0xa0 drivers/base/driver.c:270
Modules linked in:
CPU: 0 PID: 6071 Comm: syz.3.404 Not tainted 6.1.146-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:driver_unregister+0x8e/0xa0 drivers/base/driver.c:270
Code: e8 37 37 01 fd 48 89 df 5b 41 5e 41 5f e9 fa 5c ff ff e8 05 1d 7d fc eb 05 e8 fe 1c 7d fc 48 c7 c7 80 bf 02 8b e8 82 3e 49 fc <0f> 0b 5b 41 5e 41 5f c3 00 00 cc cc 00 00 cc cc 00 00 41 57 41 56
RSP: 0018:ffffc900048efa58 EFLAGS: 00010246
RAX: eda368bc3b4a8800 RBX: ffffffff8dc2a4a0 RCX: 0000000000080000
RDX: ffffc9000e47b000 RSI: 000000000000617b RDI: 000000000000617c
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffff5200091dedd
R10: fffff5200091dedd R11: 1ffff9200091dedc R12: ffff88802f0a4000
R13: ffff88802f0a4120 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007fd45025e6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3a6ab71de0 CR3: 000000007c66b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
comedi_device_detach+0x12d/0x6e0 drivers/comedi/drivers.c:206
comedi_device_attach+0x55d/0x650 drivers/comedi/drivers.c:999
do_devconfig_ioctl drivers/comedi/comedi_fops.c:851 [inline]
comedi_unlocked_ioctl+0x5ec/0xe90 drivers/comedi/comedi_fops.c:2131
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd44f38e9a9
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:00007fd45025e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fd44f5b5fa0 RCX: 00007fd44f38e9a9
RDX: 0000200000000540 RSI: 0000000040946400 RDI: 0000000000000003
RBP: 00007fd44f410d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fd44f5b5fa0 R15: 00007ffe7fad72a8
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jul 20, 2025, 11:52:29 AM7/20/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 3369c6df2fae Linux 6.1.146
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13b784f0580000
kernel config: https://syzkaller.appspot.com/x/.config?x=23408fa0371522c8
dashboard link: https://syzkaller.appspot.com/bug?extid=a1778b11304a198d618d
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15b377d4580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13b377d4580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ffd1a897d15e/disk-3369c6df.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/3901d2261137/vmlinux-3369c6df.xz
kernel image: https://storage.googleapis.com/syzbot-assets/dc1910a86639/bzImage-3369c6df.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+a1778b...@syzkaller.appspotmail.com

comedi comedi0: c6xdigio: I/O port conflict (0x4000109,3)
------------[ cut here ]------------
Unexpected driver unregister!
WARNING: CPU: 1 PID: 4427 at drivers/base/driver.c:270 driver_unregister+0x8e/0xa0 drivers/base/driver.c:270
Modules linked in:
CPU: 1 PID: 4427 Comm: syz.0.16 Not tainted 6.1.146-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:driver_unregister+0x8e/0xa0 drivers/base/driver.c:270
Code: e8 37 37 01 fd 48 89 df 5b 41 5e 41 5f e9 fa 5c ff ff e8 05 1d 7d fc eb 05 e8 fe 1c 7d fc 48 c7 c7 80 bf 02 8b e8 82 3e 49 fc <0f> 0b 5b 41 5e 41 5f c3 00 00 cc cc 00 00 cc cc 00 00 41 57 41 56
RSP: 0018:ffffc90003477a58 EFLAGS: 00010246
RAX: 03c581da46f4be00 RBX: ffffffff8dc2a4a0 RCX: ffff8880255e9dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffff5200068eeed
R10: fffff5200068eeed R11: 1ffff9200068eeec R12: ffff88802f882000
R13: ffff88802f882120 R14: 0000000000000000 R15: dffffc0000000000
FS: 000055557780b500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c25ffff CR3: 0000000023ef3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
comedi_device_detach+0x12d/0x6e0 drivers/comedi/drivers.c:206
comedi_device_attach+0x55d/0x650 drivers/comedi/drivers.c:999
do_devconfig_ioctl drivers/comedi/comedi_fops.c:851 [inline]
comedi_unlocked_ioctl+0x5ec/0xe90 drivers/comedi/comedi_fops.c:2131
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f01f598e9a9
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:00007ffe476df048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f01f5bb5fa0 RCX: 00007f01f598e9a9
RDX: 0000200000000540 RSI: 0000000040946400 RDI: 0000000000000003
RBP: 00007f01f5a10d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f01f5bb5fa0 R14: 00007f01f5bb5fa0 R15: 0000000000000003
</TASK>


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Jul 20, 2025, 11:57:32 PM7/20/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: d96eb99e2f0e Linux 6.6.99
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16e6e38c580000
kernel config: https://syzkaller.appspot.com/x/.config?x=bfd82343ac39d3b
dashboard link: https://syzkaller.appspot.com/bug?extid=92a0463a25892f22f014
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11b332f11d00/disk-d96eb99e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/8a063193b98f/vmlinux-d96eb99e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b36214b822e5/bzImage-d96eb99e.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+92a046...@syzkaller.appspotmail.com

comedi comedi0: c6xdigio: I/O port conflict (0x4000109,3)
------------[ cut here ]------------
Unexpected driver unregister!
WARNING: CPU: 0 PID: 6683 at drivers/base/driver.c:270 driver_unregister+0x92/0xa0 drivers/base/driver.c:270
Modules linked in:
CPU: 0 PID: 6683 Comm: syz.1.153 Not tainted 6.6.99-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:driver_unregister+0x92/0xa0 drivers/base/driver.c:270
Code: e8 f3 9c db fc 48 89 df 5b 41 5e 41 5f e9 e6 5a ff ff e8 b1 28 4e fc eb 05 e8 aa 28 4e fc 48 c7 c7 40 15 21 8b e8 3e 9d 18 fc <0f> 0b 5b 41 5e 41 5f c3 cc cc cc cc cc cc 66 0f 1f 00 41 57 41 56
RSP: 0018:ffffc9000fe17a58 EFLAGS: 00010246
RAX: 51a8d7a7ea402600 RBX: ffffffff8de9a140 RCX: 0000000000080000
RDX: ffffc9000d10a000 RSI: 000000000000b997 RDI: 000000000000b998
RBP: 0000000000000001 R08: ffffc9000fe17667 R09: 1ffff92001fc2ecc
R10: dffffc0000000000 R11: fffff52001fc2ecd R12: ffff88814bd5a000
R13: ffff88814bd5a120 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007f7a47bee6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8d4f1fa33c CR3: 0000000077de5000 CR4: 00000000003506f0
Call Trace:
<TASK>
comedi_device_detach+0x131/0x6f0 drivers/comedi/drivers.c:206
comedi_device_attach+0x561/0x660 drivers/comedi/drivers.c:999
do_devconfig_ioctl drivers/comedi/comedi_fops.c:855 [inline]
comedi_unlocked_ioctl+0x68d/0xf00 drivers/comedi/comedi_fops.c:2136
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7a46d8e9a9
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:00007f7a47bee038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f7a46fb5fa0 RCX: 00007f7a46d8e9a9
RDX: 0000200000000540 RSI: 0000000040946400 RDI: 0000000000000003
RBP: 00007f7a46e10d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7a46fb5fa0 R15: 00007fffb5ee80f8

syzbot

unread,
Jul 21, 2025, 12:20:36 AM7/21/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: d96eb99e2f0e Linux 6.6.99
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=144e0fd4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=bfd82343ac39d3b
dashboard link: https://syzkaller.appspot.com/bug?extid=92a0463a25892f22f014
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1787d38c580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16c8c4f0580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/11b332f11d00/disk-d96eb99e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/8a063193b98f/vmlinux-d96eb99e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b36214b822e5/bzImage-d96eb99e.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+92a046...@syzkaller.appspotmail.com

comedi comedi0: c6xdigio: I/O port conflict (0x4000109,3)
------------[ cut here ]------------
Unexpected driver unregister!
WARNING: CPU: 0 PID: 5943 at drivers/base/driver.c:270 driver_unregister+0x92/0xa0 drivers/base/driver.c:270
Modules linked in:
CPU: 0 PID: 5943 Comm: syz.0.16 Not tainted 6.6.99-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:driver_unregister+0x92/0xa0 drivers/base/driver.c:270
Code: e8 f3 9c db fc 48 89 df 5b 41 5e 41 5f e9 e6 5a ff ff e8 b1 28 4e fc eb 05 e8 aa 28 4e fc 48 c7 c7 40 15 21 8b e8 3e 9d 18 fc <0f> 0b 5b 41 5e 41 5f c3 cc cc cc cc cc cc 66 0f 1f 00 41 57 41 56
RSP: 0018:ffffc9000459fa58 EFLAGS: 00010246
RAX: 2c1ab919fdbc8000 RBX: ffffffff8de9a140 RCX: ffff888028613c00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000001 R08: ffffc9000459f767 R09: 1ffff920008b3eec
R10: dffffc0000000000 R11: fffff520008b3eed R12: ffff88802c28c000
R13: ffff88802c28c120 R14: 0000000000000000 R15: dffffc0000000000
FS: 000055557a115500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c35ffff CR3: 000000007689b000 CR4: 00000000003506f0
Call Trace:
<TASK>
comedi_device_detach+0x131/0x6f0 drivers/comedi/drivers.c:206
comedi_device_attach+0x561/0x660 drivers/comedi/drivers.c:999
do_devconfig_ioctl drivers/comedi/comedi_fops.c:855 [inline]
comedi_unlocked_ioctl+0x68d/0xf00 drivers/comedi/comedi_fops.c:2136
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f428578e9a9
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:00007fffa1103d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f42859b5fa0 RCX: 00007f428578e9a9
RDX: 0000200000000540 RSI: 0000000040946400 RDI: 0000000000000003
RBP: 00007f4285810d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f42859b5fa0 R14: 00007f42859b5fa0 R15: 0000000000000003
Reply all
Reply to author
Forward
0 new messages