syzbot
general protection fault in reiserfs_get_block
Status:
upstream: reported C repro on 2024/09/10 09:00
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+00744e88a7f1a64cea41@syzkaller.appspotmail.com
First crash: 787d, last: 25d
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2025/12/03 |
linux-5.15.y (ToT) |
cc5ec8769306 |
C
|
[report] general protection fault in reiserfs_get_block
|
| 2025/12/03 |
upstream (ToT) |
3f9f0252130e |
C
|
Didn't crash |
▶
▼
Last patch testing requests (10)
▶
▼
Fix bisection attempts (6)
Sample crash report:
REISERFS (device loop0): Using tea hash to sort names
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
REISERFS warning (device loop0): vs-13060 reiserfs_update_sd_size: stat data of object [2 5 0x0 SD] (nlink == 1) not found (pos 2)
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 4439 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:reiserfs_get_block+0x16bf/0x4360 fs/reiserfs/inode.c:1060
Code: ab 7e ff 31 db 4d 89 ec e9 6d 05 00 00 8b 94 24 40 03 00 00 48 89 5c 24 28 4c 89 7c 24 10 4a 8d 5c bb fc 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 b1 0d 00 00 49 89 d7 89 13 48 8b 44 24
RSP: 0018:ffffc9000325f320 EFLAGS: 00010203
RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff888027f7bb80
RDX: 0000000000000217 RSI: 00000000000003f4 RDI: 0000000000000000
RBP: ffffc9000325f890 R08: ffffc9000325f7ff R09: ffffc9000325f7e0
R10: dffffc0000000000 R11: fffff5200064bf00 R12: dffffc0000000000
R13: 00000000000003f4 R14: ffff88807317e0e8 R15: 0000000000000000
FS: 000055557d41a500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8283ab9238 CR3: 000000002b788000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__block_write_begin_int+0x565/0x15d0 fs/buffer.c:2012
reiserfs_write_begin+0x353/0x820 fs/reiserfs/inode.c:2790
generic_perform_write+0x2b6/0x550 mm/filemap.c:3785
__generic_file_write_iter+0x261/0x4e0 mm/filemap.c:3912
generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944
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
RIP: 0033:0x7f97308ee1d9
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:00007ffc16b7eb08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f9730b75fa0 RCX: 00007f97308ee1d9
RDX: 0000000000000018 RSI: 0000200000001940 RDI: 0000000000000005
RBP: 00007f9730985888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9730b75fac R14: 00007f9730b75fa0 R15: 00007f9730b75fa0
</TASK>
Modules linked in:
---[ end trace 1aa8ff7ed852f624 ]---
RIP: 0010:reiserfs_get_block+0x16bf/0x4360 fs/reiserfs/inode.c:1060
Code: ab 7e ff 31 db 4d 89 ec e9 6d 05 00 00 8b 94 24 40 03 00 00 48 89 5c 24 28 4c 89 7c 24 10 4a 8d 5c bb fc 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 b1 0d 00 00 49 89 d7 89 13 48 8b 44 24
RSP: 0018:ffffc9000325f320 EFLAGS: 00010203
RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff888027f7bb80
RDX: 0000000000000217 RSI: 00000000000003f4 RDI: 0000000000000000
RBP: ffffc9000325f890 R08: ffffc9000325f7ff R09: ffffc9000325f7e0
R10: dffffc0000000000 R11: fffff5200064bf00 R12: dffffc0000000000
R13: 00000000000003f4 R14: ffff88807317e0e8 R15: 0000000000000000
FS: 000055557d41a500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8283ab9238 CR3: 000000002b788000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: ab stos %eax,%es:(%rdi)
1: 7e ff jle 0x2
3: 31 db xor %ebx,%ebx
5: 4d 89 ec mov %r13,%r12
8: e9 6d 05 00 00 jmp 0x57a
d: 8b 94 24 40 03 00 00 mov 0x340(%rsp),%edx
14: 48 89 5c 24 28 mov %rbx,0x28(%rsp)
19: 4c 89 7c 24 10 mov %r15,0x10(%rsp)
1e: 4a 8d 5c bb fc lea -0x4(%rbx,%r15,4),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 b1 0d 00 00 jne 0xde8
37: 49 89 d7 mov %rdx,%r15
3a: 89 13 mov %edx,(%rbx)
3c: 48 rex.W
3d: 8b .byte 0x8b
3e: 44 rex.R
3f: 24 .byte 0x24
* Struck through repros no longer work on HEAD.