syzbot


general protection fault in seq_read_iter

Status: moderation: reported on 2024/12/23 04:18
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+42fa786d25bc6a217bfb@syzkaller.appspotmail.com
First crash: 7d19h, last: 7d19h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: kernel-infoleak in seq_read_iter fs 4 374d 407d 0/28 auto-obsoleted due to no activity on 2024/03/17 19:49

Sample crash report:
netlink: 8 bytes leftover after parsing attributes in process `syz.5.1137'.
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 10474 Comm: syz.5.1137 Not tainted 6.13.0-rc3-syzkaller-00062-gc061cf420ded #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
RIP: 0010:PagePoisoned include/linux/page-flags.h:293 [inline]
RIP: 0010:page_to_nid include/linux/mm.h:1647 [inline]
RIP: 0010:show_numa_info mm/vmalloc.c:4936 [inline]
RIP: 0010:vmalloc_info_show+0x511/0xc40 mm/vmalloc.c:5018
Code: 00 00 48 8b 53 20 44 89 e0 48 8d 2c c2 48 89 ea 48 c1 ea 03 42 80 3c 32 00 0f 85 ae 05 00 00 48 8b 6d 00 48 89 ea 48 c1 ea 03 <42> 80 3c 32 00 0f 85 8b 05 00 00 4c 8b 7d 00 48 c7 c7 ff ff ff ff
RSP: 0018:ffffc9000c027bc8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888026764a00 RCX: ffffc9000ecd9000
RDX: 0000000000000000 RSI: ffffffff81ea753b RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007fb0c94816c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f60bff8 CR3: 000000003c59e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 seq_read_iter+0x4f4/0x12b0 fs/seq_file.c:230
 proc_reg_read_iter+0x21d/0x310 fs/proc/inode.c:299
 new_sync_read fs/read_write.c:484 [inline]
 vfs_read+0x87f/0xbe0 fs/read_write.c:565
 ksys_read+0x12b/0x250 fs/read_write.c:708
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb0c8585d29
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:00007fb0c9481038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007fb0c8775fa0 RCX: 00007fb0c8585d29
RDX: 0000000000000053 RSI: 0000000020001fc0 RDI: 0000000000000002
RBP: 00007fb0c8601a20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fb0c8775fa0 R15: 00007fff259d6d98
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:PagePoisoned include/linux/page-flags.h:293 [inline]
RIP: 0010:page_to_nid include/linux/mm.h:1647 [inline]
RIP: 0010:show_numa_info mm/vmalloc.c:4936 [inline]
RIP: 0010:vmalloc_info_show+0x511/0xc40 mm/vmalloc.c:5018
Code: 00 00 48 8b 53 20 44 89 e0 48 8d 2c c2 48 89 ea 48 c1 ea 03 42 80 3c 32 00 0f 85 ae 05 00 00 48 8b 6d 00 48 89 ea 48 c1 ea 03 <42> 80 3c 32 00 0f 85 8b 05 00 00 4c 8b 7d 00 48 c7 c7 ff ff ff ff
RSP: 0018:ffffc9000c027bc8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888026764a00 RCX: ffffc9000ecd9000
RDX: 0000000000000000 RSI: ffffffff81ea753b RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007fb0c94816c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f60bff8 CR3: 000000003c59e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	48 8b 53 20          	mov    0x20(%rbx),%rdx
   6:	44 89 e0             	mov    %r12d,%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 ae 05 00 00    	jne    0x5cd
  1f:	48 8b 6d 00          	mov    0x0(%rbp),%rbp
  23:	48 89 ea             	mov    %rbp,%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 8b 05 00 00    	jne    0x5c0
  35:	4c 8b 7d 00          	mov    0x0(%rbp),%r15
  39:	48 c7 c7 ff ff ff ff 	mov    $0xffffffffffffffff,%rdi

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/19 04:12 upstream c061cf420ded 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto general protection fault in seq_read_iter
* Struck through repros no longer work on HEAD.