syzbot


kernel BUG in qlist_free_all (3)

Status: upstream: reported on 2025/11/22 15:15
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+c2d8be6880c81b4308a0@syzkaller.appspotmail.com
First crash: 7d20h, last: 7d20h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] kernel BUG in qlist_free_all (3) 0 (1) 2025/11/22 15:15
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in qlist_free_all (2) fs -1 C done 5 41d 72d 29/29 fixed on 2025/11/18 08:45
upstream kernel BUG in qlist_free_all bcachefs -1 C done done 12 220d 368d 28/29 fixed on 2025/06/10 16:19

Sample crash report:
------------[ cut here ]------------
kernel BUG at arch/x86/mm/physaddr.c:28!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 5199 Comm: udevd Tainted: G          I         syzkaller #0 PREEMPT(full) 
Tainted: [I]=FIRMWARE_WORKAROUND
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__phys_addr+0xfa/0x180 arch/x86/mm/physaddr.c:28
Code: 48 d3 e8 48 89 c3 48 89 c6 e8 92 c0 4e 00 48 85 db 75 11 e8 18 c5 4e 00 48 89 e8 5b 5d 41 5c c3 cc cc cc cc e8 07 c5 4e 00 90 <0f> 0b e8 ff c4 4e 00 48 c7 c0 10 d0 1a 8e 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc900030976c0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 77ffff890029ae0a RCX: ffffffff816d91f3
RDX: ffff88807e69dac0 RSI: ffffffff816d9279 RDI: 0000000000000006
RBP: 780077088029ae0a R08: 0000000000000006 R09: 77ffff890029ae0a
R10: 780077088029ae0a R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90003097718 R15: ffff88807e730001
FS:  00007f359dd9a880(0000) GS:ffff888124a0d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000005e000 CR3: 000000007e0a2000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 virt_to_folio include/linux/mm.h:1245 [inline]
 virt_to_slab mm/slab.h:191 [inline]
 qlink_to_cache mm/kasan/quarantine.c:131 [inline]
 qlist_free_all+0x65/0x120 mm/kasan/quarantine.c:176
 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352
 kasan_slab_alloc include/linux/kasan.h:252 [inline]
 slab_post_alloc_hook mm/slub.c:4978 [inline]
 slab_alloc_node mm/slub.c:5288 [inline]
 kmem_cache_alloc_lru_noprof+0x254/0x6e0 mm/slub.c:5307
 shmem_alloc_inode+0x25/0x50 mm/shmem.c:5149
 alloc_inode+0x64/0x240 fs/inode.c:346
 new_inode+0x22/0x1c0 fs/inode.c:1145
 __shmem_get_inode mm/shmem.c:3048 [inline]
 shmem_get_inode+0x19a/0xfb0 mm/shmem.c:3122
 shmem_mknod+0x1a8/0x450 mm/shmem.c:3843
 lookup_open.isra.0+0x11d3/0x1580 fs/namei.c:3796
 open_last_lookups fs/namei.c:3895 [inline]
 path_openat+0x893/0x2cb0 fs/namei.c:4131
 do_filp_open+0x20b/0x470 fs/namei.c:4161
 do_sys_openat2+0x11b/0x1d0 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __x64_sys_openat+0x174/0x210 fs/open.c:1463
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f359d6a7407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffeb2981680 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f359dd9a880 RCX: 00007f359d6a7407
RDX: 0000000000080141 RSI: 000055a5a8bca02e RDI: ffffffffffffff9c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000001a4 R11: 0000000000000202 R12: 00000000ffffffff
R13: 00000000ffffffff R14: ffffffffffffffff R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__phys_addr+0xfa/0x180 arch/x86/mm/physaddr.c:28
Code: 48 d3 e8 48 89 c3 48 89 c6 e8 92 c0 4e 00 48 85 db 75 11 e8 18 c5 4e 00 48 89 e8 5b 5d 41 5c c3 cc cc cc cc e8 07 c5 4e 00 90 <0f> 0b e8 ff c4 4e 00 48 c7 c0 10 d0 1a 8e 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc900030976c0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 77ffff890029ae0a RCX: ffffffff816d91f3
RDX: ffff88807e69dac0 RSI: ffffffff816d9279 RDI: 0000000000000006
RBP: 780077088029ae0a R08: 0000000000000006 R09: 77ffff890029ae0a
R10: 780077088029ae0a R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90003097718 R15: ffff88807e730001
FS:  00007f359dd9a880(0000) GS:ffff888124a0d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000005e000 CR3: 000000007e0a2000 CR4: 00000000003526f0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/18 15:08 upstream e7c375b18160 ef766cd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto kernel BUG in qlist_free_all
* Struck through repros no longer work on HEAD.