syzbot
kernel BUG in snd_card_file_remove
Status:
upstream: reported on 2026/08/26 07:10
Reported-by: syzbot+fa2c197f8580d069cca8@syzkaller.appspotmail.com
First crash: 2d03h, last: 2d03h
Sample crash report:
kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296
call_write_iter include/linux/fs.h:2179 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x748/0xd70 fs/read_write.c:594
ksys_write+0x153/0x260 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
------------[ cut here ]------------
kernel BUG at mm/slub.c:3537!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5039 Comm: syz.8.99 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:free_nonslab_page+0x14d/0x150 mm/slub.c:3537
Code: e9 3d ff ff ff e8 63 ac 02 08 48 89 df 48 c7 c6 7d 02 c8 8b e8 64 51 ee ff 0f 0b 48 89 df 48 c7 c6 2e cc da 8b e8 53 51 ee ff <0f> 0b 90 53 48 89 fb e8 c7 3f 8a ff 48 89 df e8 4f eb ff ff e8 7a
RSP: 0018:ffffc9000436fcc0 EFLAGS: 00010246
RAX: 342aa66e45373500 RBX: ffffea0000ac1c00 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff5200086df8c
RBP: 0000000000000000 R08: ffff8880b9133d7f R09: fffff5200086df48
R10: dffffc0000000000 R11: ffffed10172267b0 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff88802b0708a0 R15: ffffffff87ab62d0
FS: 00005555633c4500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0db55efff8 CR3: 0000000063578000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
device_release+0x92/0x1c0 drivers/base/core.c:-1
kobject_cleanup lib/kobject.c:713 [inline]
kobject_release lib/kobject.c:744 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x217/0x450 lib/kobject.c:761
snd_card_file_remove+0x32d/0x380 sound/core/init.c:1132
snd_pcm_release+0x12b/0x150 sound/core/pcm_native.c:2918
__fput+0x212/0x8c0 fs/file_table.c:311
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fba1fafc0d9
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:00007ffd44830428 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fba1fd85da0 RCX: 00007fba1fafc0d9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fba1fd85da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007fba1fd85cb0 R11: 0000000000000246 R12: 000000000002305d
R13: 00007fba1fd8418c R14: 0000000000022dbd R15: 00007fba1fd84180
</TASK>
Modules linked in:
---[ end trace 70b5d7139898af59 ]---
RIP: 0010:free_nonslab_page+0x14d/0x150 mm/slub.c:3537
Code: e9 3d ff ff ff e8 63 ac 02 08 48 89 df 48 c7 c6 7d 02 c8 8b e8 64 51 ee ff 0f 0b 48 89 df 48 c7 c6 2e cc da 8b e8 53 51 ee ff <0f> 0b 90 53 48 89 fb e8 c7 3f 8a ff 48 89 df e8 4f eb ff ff e8 7a
RSP: 0018:ffffc9000436fcc0 EFLAGS: 00010246
RAX: 342aa66e45373500 RBX: ffffea0000ac1c00 RCX: 0000000000000000
RDX: 0000000000000044 RSI: 0000000000000000 RDI: fffff5200086df8c
RBP: 0000000000000000 R08: ffff8880b9133d7f R09: fffff5200086df48
R10: dffffc0000000000 R11: ffffed10172267b0 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff88802b0708a0 R15: ffffffff87ab62d0
FS: 00005555633c4500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cbf124e660 CR3: 0000000063578000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.