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
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 general protection fault in reiserfs_get_block origin:lts-only 2 syz, C error 6 296d 332d 0/2 upstream: reported C repro on 2025/12/09 12:02
linux-6.1 BUG: unable to handle kernel paging request in reiserfs_get_block origin:upstream missing-backport 8 syz, C done 14 7d05h 899d 0/3 upstream: reported C repro on 2024/05/20 22:59
upstream general protection fault in reiserfs_get_block fs 2 2 1400d 1397d 0/29 auto-obsoleted due to no activity on 2023/05/06 14:40
▶ ▼ Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/09/21 13:00 13m retest repro linux-5.15.y report job log log
2026/09/21 13:00 15m retest repro linux-5.15.y report job log log
2026/09/21 13:00 14m retest repro linux-5.15.y report job log log
2026/07/06 02:27 15m retest repro linux-5.15.y report log
2026/06/13 09:19 18m retest repro linux-5.15.y report log
2026/05/25 18:28 17m retest repro linux-5.15.y report log
2026/04/23 17:39 13m retest repro linux-5.15.y report log
2026/04/02 14:40 10m retest repro linux-5.15.y report log
2026/03/16 13:17 23m retest repro linux-5.15.y error
2026/03/16 13:11 10m retest repro linux-5.15.y error
▶ ▼ Fix bisection attempts (6)
Created Duration User Patch Repo Result
2026/05/14 20:32 12m fix candidate upstream error job log
2026/03/27 08:01 1m fix candidate upstream error job log
2026/02/24 08:46 1m fix candidate upstream error job log
2026/01/24 09:35 1m fix candidate upstream error job log
2025/06/18 18:31 3m fix candidate upstream error job log
2025/04/03 18:03 2h24m fix candidate upstream error job log

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

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/12 11:03 linux-5.15.y a051a4bf909f 4f92358f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan general protection fault in reiserfs_get_block
2025/12/01 02:14 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan general protection fault in reiserfs_get_block
2025/06/01 04:06 linux-5.15.y 98f47d0e9b8c 3d2f584d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2025/02/15 22:55 linux-5.15.y c16c81c81336 40a34ec9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2026/10/12 09:50 linux-5.15.y a051a4bf909f 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in reiserfs_get_block
2025/12/01 01:12 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in reiserfs_get_block
2024/09/10 08:59 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in reiserfs_get_block
2025/07/28 13:25 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2025/07/20 01:21 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2025/07/19 15:43 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2025/07/11 06:46 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2025/07/01 07:13 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2025/06/01 03:06 linux-5.15.y 98f47d0e9b8c 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2025/02/15 21:51 linux-5.15.y c16c81c81336 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2024/11/19 14:32 linux-5.15.y 0a51d2d4527b 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
* Struck through repros no longer work on HEAD.