syzbot


general protection fault in jfs_flush_journal

Status: upstream: reported on 2025/06/19 06:28
Reported-by: syzbot+eb664fd024256bc44597@syzkaller.appspotmail.com
First crash: 292d, last: 15d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in jfs_flush_journal jfs 19 C inconclusive 4439 2d16h 1282d 0/29 upstream: reported C repro on 2022/10/02 18:56
linux-6.1 general protection fault in jfs_flush_journal origin:upstream 19 C error 136 14d 1113d 0/3 upstream: reported C repro on 2023/03/20 13:13
linux-5.15 general protection fault in jfs_flush_journal origin:upstream 8 C error 29 20d 1117d 0/3 upstream: reported C repro on 2023/03/16 22:18

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
CPU: 1 PID: 5778 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:207 [inline]
RIP: 0010:jfs_flush_journal+0x965/0xec0 fs/jfs/jfs_logmgr.c:1582
Code: 9e 80 fe 4d 8d 75 d8 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 69 cd d8 fe 4d 8b 36 49 83 c6 40 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 4d cd d8 fe 49 8b 3e e8 05 7b ae fe
RSP: 0018:ffffc9000470fb20 EFLAGS: 00010202
RAX: 0000000000000008 RBX: dffffc0000000000 RCX: ffff888028bbbc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000470fc50 R08: 0000000000000004 R09: 0000000000000004
R10: ffffc9000470fa44 R11: fffff520008e1f51 R12: 0000000000000000
R13: ffff88801d32ca38 R14: 0000000000000040 R15: ffff88814da4ca28
FS:  000055555c363500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8e64c29000 CR3: 000000006186c000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 jfs_umount+0x178/0x3c0 fs/jfs/jfs_umount.c:58
 jfs_put_super+0x8c/0x190 fs/jfs/super.c:194
 generic_shutdown_super+0x134/0x2b0 fs/super.c:693
 kill_block_super+0x44/0x90 fs/super.c:1660
 deactivate_locked_super+0x97/0x100 fs/super.c:481
 cleanup_mnt+0x43b/0x4d0 fs/namespace.c:1259
 task_work_run+0x1d4/0x260 kernel/task_work.c:245
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0a21d9d9d7
Code: a2 c7 05 1c fd 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffd5bfe9c58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f0a21e32050 RCX: 00007f0a21d9d9d7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd5bfe9d10
RBP: 00007ffd5bfe9d10 R08: 00007ffd5bfead10 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd5bfeada0
R13: 00007f0a21e32050 R14: 0000000000172578 R15: 00007ffd5bfeade0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:207 [inline]
RIP: 0010:jfs_flush_journal+0x965/0xec0 fs/jfs/jfs_logmgr.c:1582
Code: 9e 80 fe 4d 8d 75 d8 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 69 cd d8 fe 4d 8b 36 49 83 c6 40 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 4d cd d8 fe 49 8b 3e e8 05 7b ae fe
RSP: 0018:ffffc9000470fb20 EFLAGS: 00010202
RAX: 0000000000000008 RBX: dffffc0000000000 RCX: ffff888028bbbc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000470fc50 R08: 0000000000000004 R09: 0000000000000004
R10: ffffc9000470fa44 R11: fffff520008e1f51 R12: 0000000000000000
R13: ffff88801d32ca38 R14: 0000000000000040 R15: ffff88814da4ca28
FS:  000055555c363500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000027000 CR3: 000000006186c000 CR4: 00000000003506f0
----------------
Code disassembly (best guess):
   0:	9e                   	sahf
   1:	80 fe 4d             	cmp    $0x4d,%dh
   4:	8d 75 d8             	lea    -0x28(%rbp),%esi
   7:	4c 89 f0             	mov    %r14,%rax
   a:	48 c1 e8 03          	shr    $0x3,%rax
   e:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
  12:	74 08                	je     0x1c
  14:	4c 89 f7             	mov    %r14,%rdi
  17:	e8 69 cd d8 fe       	call   0xfed8cd85
  1c:	4d 8b 36             	mov    (%r14),%r14
  1f:	49 83 c6 40          	add    $0x40,%r14
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 f7             	mov    %r14,%rdi
  33:	e8 4d cd d8 fe       	call   0xfed8cd85
  38:	49 8b 3e             	mov    (%r14),%rdi
  3b:	e8 05 7b ae fe       	call   0xfeae7b45

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/22 14:52 linux-6.6.y 4fc00fe35d46 5b92003d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/03/05 17:59 linux-6.6.y 4fc00fe35d46 d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 19:01 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 18:56 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 18:53 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 05:47 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 05:46 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 05:44 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 05:43 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 05:39 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 05:36 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/25 05:34 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/24 19:37 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/01/24 19:21 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/12/30 00:03 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/12/15 22:24 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/12/04 22:57 linux-6.6.y 4791134e4aeb d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/12/04 22:55 linux-6.6.y 4791134e4aeb d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/11/23 16:42 linux-6.6.y 0a805b6ea8cd 4fb8ef37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/11/23 16:42 linux-6.6.y 0a805b6ea8cd 4fb8ef37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/11/13 16:39 linux-6.6.y 0a805b6ea8cd 07e030de .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/11/09 03:29 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/11/09 01:16 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/11/08 14:26 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/11/08 14:24 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/11/08 14:20 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/10/05 16:38 linux-6.6.y f34f16e5c632 49379ee0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/08/26 02:02 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/08/26 01:56 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/08/26 01:52 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/08/10 08:22 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/08/09 14:39 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2025/06/19 06:27 linux-6.6.y c2603c511feb ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
* Struck through repros no longer work on HEAD.