[moderation] [fs?] general protection fault in traverse

2 views
Skip to first unread message

syzbot

unread,
7:50 AM (6 hours ago) 7:50 AM
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f5459048c38a Merge tag 'i2c-for-7.0-final' of git://git.ke..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=13a59b02580000
kernel config: https://syzkaller.appspot.com/x/.config?x=64e78d99d9bf8b4c
dashboard link: https://syzkaller.appspot.com/bug?extid=26d074188e4311b3dd0f
compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
CC: [linux-...@vger.kernel.org linux-...@vger.kernel.org]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/e31dea327792/disk-f5459048.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/9bfe1d5b3683/vmlinux-f5459048.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b6472ed3a4e3/bzImage-f5459048.xz

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

Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 31603 Comm: syz.2.11649 Tainted: G U I L syzkaller #0 PREEMPT(full)
Tainted: [U]=USER, [I]=FIRMWARE_WORKAROUND, [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:PagePoisoned include/linux/page-flags.h:335 [inline]
RIP: 0010:page_to_nid include/linux/mm.h:1992 [inline]
RIP: 0010:show_numa_info mm/vmalloc.c:5194 [inline]
RIP: 0010:vmalloc_info_show+0x53d/0xcd0 mm/vmalloc.c:5279
Code: 00 00 48 8b 53 20 44 89 e8 48 8d 2c c2 48 89 ea 48 c1 ea 03 42 80 3c 32 00 0f 85 e8 05 00 00 4c 8b 7d 00 4c 89 fa 48 c1 ea 03 <42> 80 3c 32 00 0f 85 08 06 00 00 49 8b 2f 48 c7 c7 ff ff ff ff 48
RSP: 0018:ffffc90005dafb38 EFLAGS: 00010246
RAX: 000000000001c17c RBX: ffff888020ff1f00 RCX: ffffc9000e471000
RDX: 0000000000000000 RSI: ffffffff8260b467 RDI: ffff88801e3b5b80
RBP: ffffc900049f9be0 R08: 0000000000000004 R09: 000000000001c17c
R10: 000000000002a4ac R11: 0000000000000000 R12: 0000000000000001
R13: 000000000001c17c R14: dffffc0000000000 R15: 0000000000000000
FS: 00007f2ca1c3e6c0(0000) GS:ffff888124340000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30d18ff8 CR3: 000000005bd8c000 CR4: 00000000003526f0
Call Trace:
<TASK>
traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112
traverse fs/seq_file.c:99 [inline]
seq_read_iter+0x93f/0x1270 fs/seq_file.c:196
proc_reg_read_iter+0x220/0x310 fs/proc/inode.c:299
new_sync_read fs/read_write.c:493 [inline]
vfs_read+0x825/0xb30 fs/read_write.c:574
ksys_pread64 fs/read_write.c:765 [inline]
__do_sys_pread64 fs/read_write.c:773 [inline]
__se_sys_pread64 fs/read_write.c:770 [inline]
__x64_sys_pread64+0x1eb/0x250 fs/read_write.c:770
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2ca0d9c819
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:00007f2ca1c3e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000011
RAX: ffffffffffffffda RBX: 00007f2ca1015fa0 RCX: 00007f2ca0d9c819
RDX: 0000000000000068 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f2ca0e32c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010005 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2ca1016038 R14: 00007f2ca1015fa0 R15: 00007ffcb9f31db8
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:PagePoisoned include/linux/page-flags.h:335 [inline]
RIP: 0010:page_to_nid include/linux/mm.h:1992 [inline]
RIP: 0010:show_numa_info mm/vmalloc.c:5194 [inline]
RIP: 0010:vmalloc_info_show+0x53d/0xcd0 mm/vmalloc.c:5279
Code: 00 00 48 8b 53 20 44 89 e8 48 8d 2c c2 48 89 ea 48 c1 ea 03 42 80 3c 32 00 0f 85 e8 05 00 00 4c 8b 7d 00 4c 89 fa 48 c1 ea 03 <42> 80 3c 32 00 0f 85 08 06 00 00 49 8b 2f 48 c7 c7 ff ff ff ff 48
RSP: 0018:ffffc90005dafb38 EFLAGS: 00010246
RAX: 000000000001c17c RBX: ffff888020ff1f00 RCX: ffffc9000e471000
RDX: 0000000000000000 RSI: ffffffff8260b467 RDI: ffff88801e3b5b80
RBP: ffffc900049f9be0 R08: 0000000000000004 R09: 000000000001c17c
R10: 000000000002a4ac R11: 0000000000000000 R12: 0000000000000001
R13: 000000000001c17c R14: dffffc0000000000 R15: 0000000000000000
FS: 00007f2ca1c3e6c0(0000) GS:ffff888124340000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30d18ff8 CR3: 000000005bd8c000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 48 8b 53 20 mov 0x20(%rbx),%rdx
6: 44 89 e8 mov %r13d,%eax
9: 48 8d 2c c2 lea (%rdx,%rax,8),%rbp
d: 48 89 ea mov %rbp,%rdx
10: 48 c1 ea 03 shr $0x3,%rdx
14: 42 80 3c 32 00 cmpb $0x0,(%rdx,%r14,1)
19: 0f 85 e8 05 00 00 jne 0x607
1f: 4c 8b 7d 00 mov 0x0(%rbp),%r15
23: 4c 89 fa mov %r15,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 42 80 3c 32 00 cmpb $0x0,(%rdx,%r14,1) <-- trapping instruction
2f: 0f 85 08 06 00 00 jne 0x63d
35: 49 8b 2f mov (%r15),%rbp
38: 48 c7 c7 ff ff ff ff mov $0xffffffffffffffff,%rdi
3f: 48 rex.W


---
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
Reply all
Reply to author
Forward
0 new messages