syzbot


general protection fault in write_one_page

Status: upstream: reported on 2025/11/14 20:52
Reported-by: syzbot+09104e1ed4983b0e1b60@syzkaller.appspotmail.com
First crash: 31d, last: 31d

Sample crash report:
bn = 72c, index = 96
bn = 0, index = 0
bn = 72c, index = 96
bn = 0, index = 0
bn = 72c, index = 96
bn = 0, index = 0
bn = 0, index = 0
general protection fault, probably for non-canonical address 0xdffffc0000000037: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000001b8-0x00000000000001bf]
CPU: 1 PID: 5384 Comm: syz.1.188 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:write_one_page+0x278/0x600 mm/page-writeback.c:2431
Code: 04 00 00 00 e8 79 ce 1c 00 f0 41 ff 06 48 8b 44 24 18 48 8d 98 b8 01 00 00 48 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df <42> 80 3c 28 00 74 08 48 89 df e8 a9 cc 1c 00 48 8b 1b 48 89 d8 48
RSP: 0018:ffffc900035bf7e0 EFLAGS: 00010202
RAX: 0000000000000037 RBX: 00000000000001b8 RCX: ffffffff819f6757
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffea000181b3f4
RBP: ffffc900035bf900 R08: dffffc0000000000 R09: fffff9400030367f
R10: fffff9400030367f R11: 1ffffd400030367e R12: ffffea000181b3c8
R13: dffffc0000000000 R14: ffffea000181b3f4 R15: 1ffffd4000303679
FS:  00007f660edb76c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f40f2bcefe0 CR3: 0000000074381000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 release_metapage+0x654/0xe10 fs/jfs/jfs_metapage.c:750
 dtSearch+0x1b3f/0x2050 fs/jfs/jfs_dtree.c:793
 jfs_symlink+0x6b3/0xe60 fs/jfs/namei.c:1016
 vfs_symlink+0x247/0x3d0 fs/namei.c:4437
 do_symlinkat+0x1be/0x6c0 fs/namei.c:4466
 __do_sys_symlink fs/namei.c:4488 [inline]
 __se_sys_symlink fs/namei.c:4486 [inline]
 __x64_sys_symlink+0x7a/0x90 fs/namei.c:4486
 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:0x7f6610b506c9
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:00007f660edb7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 00007f6610da6fa0 RCX: 00007f6610b506c9
RDX: 0000000000000000 RSI: 0000200000000e40 RDI: 0000200000001640
RBP: 00007f6610bd2f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6610da7038 R14: 00007f6610da6fa0 R15: 00007ffd69947dc8
 </TASK>
Modules linked in:
---[ end trace 05ac853eafd26005 ]---
RIP: 0010:write_one_page+0x278/0x600 mm/page-writeback.c:2431
Code: 04 00 00 00 e8 79 ce 1c 00 f0 41 ff 06 48 8b 44 24 18 48 8d 98 b8 01 00 00 48 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df <42> 80 3c 28 00 74 08 48 89 df e8 a9 cc 1c 00 48 8b 1b 48 89 d8 48
RSP: 0018:ffffc900035bf7e0 EFLAGS: 00010202
RAX: 0000000000000037 RBX: 00000000000001b8 RCX: ffffffff819f6757
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffea000181b3f4
RBP: ffffc900035bf900 R08: dffffc0000000000 R09: fffff9400030367f
R10: fffff9400030367f R11: 1ffffd400030367e R12: ffffea000181b3c8
R13: dffffc0000000000 R14: ffffea000181b3f4 R15: 1ffffd4000303679
FS:  00007f660edb76c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f40f2bcefe0 CR3: 0000000074381000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	04 00                	add    $0x0,%al
   2:	00 00                	add    %al,(%rax)
   4:	e8 79 ce 1c 00       	call   0x1cce82
   9:	f0 41 ff 06          	lock incl (%r14)
   d:	48 8b 44 24 18       	mov    0x18(%rsp),%rax
  12:	48 8d 98 b8 01 00 00 	lea    0x1b8(%rax),%rbx
  19:	48 89 d8             	mov    %rbx,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	49 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%r13
  27:	fc ff df
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 a9 cc 1c 00       	call   0x1ccce2
  39:	48 8b 1b             	mov    (%rbx),%rbx
  3c:	48 89 d8             	mov    %rbx,%rax
  3f:	48                   	rex.W

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/14 21:31 linux-5.15.y cc5ec8769306 f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in write_one_page
2025/11/14 20:52 linux-5.15.y cc5ec8769306 f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in write_one_page
* Struck through repros no longer work on HEAD.