syzbot
general protection fault in dentry_name
Status:
premoderation: reported on 2026/10/06 08:50
Reported-by: syzbot+2d6fc636b2ee5c6a533c@syzkaller.appspotmail.com
First crash: 3d20h, last: 2d22h
Sample crash report:
migrating pfn 49181 failed ret:1
page:ffffea0001246040 refcount:3 mapcount:0 mapping:ffff888111db1470 index:0x0 pfn:0x49181
memcg:ffff888100254500
general protection fault, probably for non-canonical address 0xf0cbfc27140c0026: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x86600138a0600130-0x86600138a0600137]
CPU: 0 PID: 7287 Comm: syz.2.1742 Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:dentry_name+0x40e/0x970 lib/vsprintf.c:954
Code: 0f 84 3d 01 00 00 48 ff c0 48 89 44 24 10 e8 59 ff f6 fe 49 ff c6 41 ff c7 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 c6 00 00 00 44 0f b6 23 31 ff 44 89 e6 e8
RSP: 0018:ffffc900014e6f00 EFLAGS: 00010803
RAX: 10cc0027140c0026 RBX: 86600138a0600137 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000
RBP: ffffc900014e6ff0 R08: ffffc900014e6f7f R09: ffffc900014e6f60
R10: dffffc0000000000 R11: fffff5200029cdf0 R12: 1ffff9200029cde8
R13: 0000000000000000 R14: ffffc900014e72f7 R15: 0000000000000000
FS: 00007fd7b541b6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f65624da000 CR3: 00000001493eb000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
pointer+0x61c/0xc60 lib/vsprintf.c:2458
vsnprintf+0xbb0/0x1990 lib/vsprintf.c:2815
vprintk_store+0x37f/0x13e0 kernel/printk/printk.c:2182
vprintk_emit+0xeb/0x320 kernel/printk/printk.c:2278
vprintk_default+0x26/0x30 kernel/printk/printk.c:2309
vprintk+0x7a/0x80 kernel/printk/printk_safe.c:45
_printk+0xda/0x130 kernel/printk/printk.c:2319
__dump_page mm/debug.c:-1 [inline]
dump_page+0xc8f/0xe60 mm/debug.c:181
do_migrate_range mm/memory_hotplug.c:1835 [inline]
offline_pages+0x1566/0x18b0 mm/memory_hotplug.c:2023
memory_block_offline drivers/base/memory.c:236 [inline]
memory_block_action drivers/base/memory.c:266 [inline]
memory_block_change_state+0x318/0x500 drivers/base/memory.c:288
memory_subsys_offline+0x6c/0x80 drivers/base/memory.c:323
device_offline+0x25a/0x3a0 drivers/base/core.c:3943
state_store+0x9c/0x180 drivers/base/memory.c:349
dev_attr_store+0x5e/0x80 drivers/base/core.c:2136
sysfs_kf_write+0x129/0x150 fs/sysfs/file.c:143
kernfs_fop_write_iter+0x2bd/0x400 fs/kernfs/file.c:296
call_write_iter include/linux/fs.h:2218 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x831/0xfd0 fs/read_write.c:594
ksys_write+0x14a/0x260 fs/read_write.c:647
__do_sys_write fs/read_write.c:659 [inline]
__se_sys_write fs/read_write.c:656 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:656
x64_sys_call+0x8ef/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
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
RIP: 0033:0x7fd7b6aeb199
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:00007fd7b541b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd7b6d73810 RCX: 00007fd7b6aeb199
RDX: 0000000000000007 RSI: 0000200000000200 RDI: 0000000000000005
RBP: 00007fd7b6b828e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd7b6d738a8 R14: 00007fd7b6d73810 R15: 00007ffdef52a918
</TASK>
Modules linked in:
---[ end trace 6b3c6527f697f255 ]---
RIP: 0010:dentry_name+0x40e/0x970 lib/vsprintf.c:954
Code: 0f 84 3d 01 00 00 48 ff c0 48 89 44 24 10 e8 59 ff f6 fe 49 ff c6 41 ff c7 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 c6 00 00 00 44 0f b6 23 31 ff 44 89 e6 e8
RSP: 0018:ffffc900014e6f00 EFLAGS: 00010803
RAX: 10cc0027140c0026 RBX: 86600138a0600137 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000
RBP: ffffc900014e6ff0 R08: ffffc900014e6f7f R09: ffffc900014e6f60
R10: dffffc0000000000 R11: fffff5200029cdf0 R12: 1ffff9200029cde8
R13: 0000000000000000 R14: ffffc900014e72f7 R15: 0000000000000000
FS: 00007fd7b541b6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f65624da000 CR3: 00000001493eb000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 0f 84 3d 01 00 00 je 0x143
6: 48 ff c0 inc %rax
9: 48 89 44 24 10 mov %rax,0x10(%rsp)
e: e8 59 ff f6 fe call 0xfef6ff6c
13: 49 ff c6 inc %r14
16: 41 ff c7 inc %r15d
19: 48 89 d8 mov %rbx,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 0f 85 c6 00 00 00 jne 0xfc
36: 44 0f b6 23 movzbl (%rbx),%r12d
3a: 31 ff xor %edi,%edi
3c: 44 89 e6 mov %r12d,%esi
3f: e8 .byte 0xe8
* Struck through repros no longer work on HEAD.