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: 396d, last: 8h19m
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in jfs_flush_journal prio:normal jfs 19 C inconclusive 4489 3d01h 1387d 0/29 upstream: reported C repro on 2022/10/02 18:56
linux-6.1 general protection fault in jfs_flush_journal origin:upstream missing-backport 19 C inconclusive 145 3d03h 1218d 0/3 upstream: reported C repro on 2023/03/20 13:13
linux-5.15 general protection fault in jfs_flush_journal origin:lts-only 8 C inconclusive 30 11d 1221d 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: 0 PID: 5773 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline]
RIP: 0010:jfs_flush_journal+0x989/0xe90 fs/jfs/jfs_logmgr.c:1582
Code: 41 ae fe 4d 8d 75 f0 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 65 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 49 cd d8 fe 49 8b 3e e8 71 41 ae fe
RSP: 0018:ffffc900046afb40 EFLAGS: 00010202
RAX: 0000000000000008 RBX: dffffc0000000000 RCX: 27800924f0042e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900046afc80 R08: 0000000000000004 R09: 0000000000000004
R10: ffffc900046afa64 R11: fffff520008d5f55 R12: 0000000000000049
R13: ffff88802eedcc38 R14: 0000000000000040 R15: ffff88805d828a28
FS:  0000555576ef8500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c24e31b CR3: 000000002d678000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 jfs_umount+0x156/0x3a0 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+0x3d7/0x460 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/0xb0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa30b39f0d7
Code: a2 c7 05 1c 26 25 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:00007ffcca152638 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fa30b43330a RCX: 00007fa30b39f0d7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcca1526f0
RBP: 00007ffcca1526f0 R08: 00007ffcca1536f0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcca153780
R13: 00007fa30b43330a R14: 0000000000094318 R15: 00007ffcca1537c0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline]
RIP: 0010:jfs_flush_journal+0x989/0xe90 fs/jfs/jfs_logmgr.c:1582
Code: 41 ae fe 4d 8d 75 f0 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 65 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 49 cd d8 fe 49 8b 3e e8 71 41 ae fe
RSP: 0018:ffffc900046afb40 EFLAGS: 00010202
RAX: 0000000000000008 RBX: dffffc0000000000 RCX: 27800924f0042e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900046afc80 R08: 0000000000000004 R09: 0000000000000004
R10: ffffc900046afa64 R11: fffff520008d5f55 R12: 0000000000000049
R13: ffff88802eedcc38 R14: 0000000000000040 R15: ffff88805d828a28
FS:  0000555576ef8500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2dd1fff8 CR3: 000000002d678000 CR4: 00000000003506f0
----------------
Code disassembly (best guess):
   0:	41 ae                	rex.B scas %es:(%rdi),%al
   2:	fe 4d 8d             	decb   -0x73(%rbp)
   5:	75 f0                	jne    0xfffffff7
   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 65 cd d8 fe       	call   0xfed8cd81
  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 49 cd d8 fe       	call   0xfed8cd81
  38:	49 8b 3e             	mov    (%r14),%rdi
  3b:	e8 71 41 ae fe       	call   0xfeae41b1

Crashes (39):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/20 11:22 linux-6.6.y da47cbc25466 de6a700d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/07/16 09:28 linux-6.6.y da47cbc25466 27a8bd60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/07/16 09:28 linux-6.6.y da47cbc25466 27a8bd60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/05/02 06:01 linux-6.6.y 258cf62a6dfd 753c55b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/05/02 05:52 linux-6.6.y 258cf62a6dfd 753c55b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
2026/05/02 05:44 linux-6.6.y 258cf62a6dfd 753c55b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in jfs_flush_journal
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.