syzbot


general protection fault in jfs_error (2)

Status: upstream: reported C repro on 2024/11/16 04:03
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+5f0d7af0e45fae10edd1@syzkaller.appspotmail.com
First crash: 394d, last: 5d11h
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] jfs: add extra superblock validation 1 (1) 2024/11/19 06:46
[syzbot] [jfs?] general protection fault in jfs_error (2) 0 (3) 2024/11/19 06:24
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in jfs_error jfs 8 2 574d 579d 0/29 auto-obsoleted due to no activity on 2024/08/13 15:22
Last patch testing requests (12)
Created Duration User Patch Repo Result
2025/11/26 22:46 14m retest repro upstream report log
2025/11/26 22:46 14m retest repro upstream report log
2025/11/12 22:05 14m retest repro upstream report log
2025/09/06 06:49 14m retest repro upstream report log
2025/09/06 06:49 14m retest repro upstream report log
2025/08/23 06:28 14m retest repro upstream report log
2025/06/15 17:02 30m retest repro upstream report log
2025/06/15 17:02 16m retest repro upstream report log
2025/06/14 06:08 17m retest repro upstream report log
2025/04/06 16:31 14m retest repro upstream report log
2024/11/19 06:24 19m dmantipov@yandex.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 158f238aa69d91ad74e535c73f552bd4b025109c OK log
2024/11/18 10:06 20m dmantipov@yandex.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git adc218676eef25575469234709c2d87185ca223a OK log

Sample crash report:
lbmIODone: I/O error in JFS log
*** Log Format Error ! ***
lmLogInit: exit(-22)
lmLogOpen: exit(-22)
ERROR: (device loop0): txBegin: read-only filesystem
ERROR: (device loop0): remounting filesystem as read-only
jfs_dirty_inode called on read-only volume
Is remount racy?
jfs_rename did not expect dtDelete to return rc = -2
ERROR: (device (efault)): jfs_rename: 
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057]
CPU: 1 UID: 0 PID: 6069 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:sb_rdonly include/linux/fs.h:2542 [inline]
RIP: 0010:jfs_handle_error fs/jfs/super.c:66 [inline]
RIP: 0010:jfs_error+0x130/0x2c0 fs/jfs/super.c:98
Code: 8d 4c 24 60 48 c7 c7 e0 b7 23 8b 48 89 74 24 08 e8 a5 84 fe ff 4d 8d 6f 50 4d 89 ee 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 06 00 74 08 4c 89 ef e8 21 0c f8 00 4d 8b 65 00 4c 89 e6
RSP: 0018:ffffc90003f0f780 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 1ffff920007e1ef8 RCX: 3d6d081ce45fed00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f0f890 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed101712487b R12: ffffc90003f0f800
R13: 0000000000000050 R14: 000000000000000a R15: 0000000000000000
FS:  000055556b5a0500(0000) GS:ffff888126cc2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f38a22d69c0 CR3: 00000000425ac000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 jfs_rename+0xb69/0x1610 fs/jfs/namei.c:1243
 vfs_rename+0xb34/0xe80 fs/namei.c:5216
 do_renameat2+0x6a2/0xa50 fs/namei.c:5364
 __do_sys_renameat2 fs/namei.c:5398 [inline]
 __se_sys_renameat2 fs/namei.c:5395 [inline]
 __x64_sys_renameat2+0xce/0xe0 fs/namei.c:5395
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f311fafefc9
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:00007ffe7b543318 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f311fd55fa0 RCX: 00007f311fafefc9
RDX: ffffffffffffff9c RSI: 0000200000000580 RDI: ffffffffffffff9c
RBP: 00007f311fb81f91 R08: 0000000000000000 R09: 0000000000000000
R10: 00002000000005c0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f311fd55fa0 R14: 00007f311fd55fa0 R15: 0000000000000005
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:sb_rdonly include/linux/fs.h:2542 [inline]
RIP: 0010:jfs_handle_error fs/jfs/super.c:66 [inline]
RIP: 0010:jfs_error+0x130/0x2c0 fs/jfs/super.c:98
Code: 8d 4c 24 60 48 c7 c7 e0 b7 23 8b 48 89 74 24 08 e8 a5 84 fe ff 4d 8d 6f 50 4d 89 ee 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 06 00 74 08 4c 89 ef e8 21 0c f8 00 4d 8b 65 00 4c 89 e6
RSP: 0018:ffffc90003f0f780 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 1ffff920007e1ef8 RCX: 3d6d081ce45fed00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f0f890 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed101712487b R12: ffffc90003f0f800
R13: 0000000000000050 R14: 000000000000000a R15: 0000000000000000
FS:  000055556b5a0500(0000) GS:ffff888126cc2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f38a22d69c0 CR3: 00000000425ac000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	8d 4c 24 60          	lea    0x60(%rsp),%ecx
   4:	48 c7 c7 e0 b7 23 8b 	mov    $0xffffffff8b23b7e0,%rdi
   b:	48 89 74 24 08       	mov    %rsi,0x8(%rsp)
  10:	e8 a5 84 fe ff       	call   0xfffe84ba
  15:	4d 8d 6f 50          	lea    0x50(%r15),%r13
  19:	4d 89 ee             	mov    %r13,%r14
  1c:	49 c1 ee 03          	shr    $0x3,%r14
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	41 80 3c 06 00       	cmpb   $0x0,(%r14,%rax,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 21 0c f8 00       	call   0xf80c5a
  39:	4d 8b 65 00          	mov    0x0(%r13),%r12
  3d:	4c 89 e6             	mov    %r12,%rsi

Crashes (37):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/22 02:38 upstream 552c50713f27 9832ed61 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs general protection fault in jfs_error
2025/03/04 08:56 upstream 99fa936e8e4f c3901742 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root general protection fault in jfs_error
2024/11/12 05:01 upstream 2d5404caa8c7 75bb1b32 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root general protection fault in jfs_error
2024/11/12 04:27 upstream 2d5404caa8c7 75bb1b32 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root general protection fault in jfs_error
2025/10/21 10:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 9832ed61 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in jfs_error
2025/10/03 02:10 upstream 7f7072574127 49379ee0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in jfs_error
2024/12/03 08:12 upstream cdd30ebb1b9f 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in jfs_error
2024/11/27 01:17 upstream 798bb342e041 e9a9a9f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in jfs_error
2024/11/19 01:03 upstream 23acd177540d 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in jfs_error
2025/12/05 19:48 upstream 2061f18ad76e d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/10/29 21:50 upstream e53642b87a4f fd2207e7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/10/29 21:17 upstream e53642b87a4f fd2207e7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/10/26 17:05 upstream 72761a7e3122 c0460fcd .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/09/16 04:20 upstream 46a51f4f5eda e2beed91 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/07/11 14:26 upstream bc9ff192a6c9 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/05/31 05:49 upstream 8477ab143069 3d2f584d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/05/25 07:46 upstream b1427432d3b6 ed351ea7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/04/30 08:08 upstream 8bac8898fe39 85a5a23f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/04/11 09:04 upstream 0c7cae12f67c 94486846 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/03/09 11:07 upstream b7c90e3e717a 163f510d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/03/04 07:57 upstream 99fa936e8e4f c3901742 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/01/31 05:52 upstream b4b0881156fb 4c6ac32f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/01/12 15:43 upstream b62cef9a5c67 6dbc6a9b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/01/10 21:22 upstream 2144da25584e d9381135 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/01/08 17:27 upstream 09a0fa92e5b4 f3558dbf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/01/07 20:22 upstream fbfd64d25c7a f3558dbf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/12/31 21:24 upstream ccb98ccef0e5 d3ccff63 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/12/18 18:15 upstream aef25be35d23 1432fc84 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/12/14 06:01 upstream 4800575d8c0b 7cbfbb3a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/12/13 10:12 upstream 150b567e0d57 3547e30f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/11/27 13:14 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/11/19 08:42 upstream 9fb2cfa4635a 571351cb .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/11/18 18:48 upstream adc218676eef e7bb5d6e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/11/15 04:14 upstream cfaaa7d010d1 f6ede3a3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2024/11/12 03:59 upstream 2d5404caa8c7 75bb1b32 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in jfs_error
2025/10/21 09:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 9832ed61 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in jfs_error
2024/12/11 18:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 146ff2c261f3 ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in jfs_error
* Struck through repros no longer work on HEAD.