general protection fault in dbDiscardAG (2)

Status: upstream: reported C repro on 2026/11/21 15:20
Subsystems: jfs
Labels: prio:normal
[Documentation on labels]
Reported-by: syzbot+29eda1328acf6cf2dbfb@syzkaller.appspotmail.com
First crash: 56d, last: 20m
▶ ▼ ✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
28114184 repro-c Reproduced: ✅ ❓ general protection fault in dbDiscardAG (2) 2026/11/21 12:11 2026/11/21 12:11 2026/11/21 13:17 b2c69459
c7c9fa5b assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ general protection fault in dbDiscardAG (2) 2026/09/27 01:49 2026/09/27 01:49 2026/09/27 02:31 a3c7249d
▶ ▼ Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [jfs?] general protection fault in dbDiscardAG (2) 0 (1) 2026/11/21 15:20
[PATCH] jfs: fix general protection fault in dbDiscardAG 1 (1) 2026/10/03 04:26
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in dbDiscardAG jfs 2 1 523d 519d 0/29 auto-obsoleted due to no activity on 2025/09/14 06:14
upstream UBSAN: array-index-out-of-bounds in dbDiscardAG jfs 15 syz, C error inconclusive 5 1453d 1494d 0/29 auto-obsoleted due to no activity on 2023/03/28 22:26
upstream BUG: Bad page state (8) jfs mm -1 syz, C 12982 761d 2119d 1/29 closed as invalid on 2024/10/28 14:11
▶ ▼ Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/11/21 15:04 16m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git c44104f3642da720164042623e4832836aefdd8e report job log log

Sample crash report:
loop0: detected capacity change from 0 to 32768
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 UID: 0 PID: 6036 Comm: syz-executor802 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:dbDiscardAG+0x648/0x8f0 fs/jfs/jfs_dmap.c:1726
Code: e2 cd 8b e8 ca d3 b4 fd 4c 89 f7 e8 b2 50 2e fe 4c 8b 74 24 10 49 83 c6 08 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 7a 97 c7 fe 49 c7 06 00 00 00 00 48
RSP: 0018:ffffc900045dfcb0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: ffff888033c86000 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: ffffffff8dafc369 RDI: 00000000ffffffff
RBP: 0000000000000001 R08: ffffffff90d5c8bf R09: 1ffffffff21ab917
R10: dffffc0000000000 R11: fffffbfff21ab918 R12: ffffffffffffffff
R13: 0000000000000001 R14: 0000000000000018 R15: ffff88805b83d7f0
FS:  000055555cc9f400(0000) GS:ffff888124801000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8926b53000 CR3: 00000000416f4000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 jfs_ioc_trim+0x436/0x680 fs/jfs/jfs_discard.c:106
 jfs_ioctl+0x291/0x3b0 fs/jfs/ioctl.c:131
 vfs_ioctl fs/ioctl.c:52 [inline]
 __do_sys_ioctl fs/ioctl.c:598 [inline]
 __se_sys_ioctl+0xff/0x170 fs/ioctl.c:584
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc8f47440fb
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007fffcecef320 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc8f47440fb
RDX: 00007fffcecef380 RSI: 00000000c0185879 RDI: 0000000000000004
RBP: 00007fc8f47a0c12 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc8f47a0b8e
R13: 0000000000000004 R14: 0000000200000004 R15: 0000000000000002
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dbDiscardAG+0x648/0x8f0 fs/jfs/jfs_dmap.c:1726
Code: e2 cd 8b e8 ca d3 b4 fd 4c 89 f7 e8 b2 50 2e fe 4c 8b 74 24 10 49 83 c6 08 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 7a 97 c7 fe 49 c7 06 00 00 00 00 48
RSP: 0018:ffffc900045dfcb0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: ffff888033c86000 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: ffffffff8dafc369 RDI: 00000000ffffffff
RBP: 0000000000000001 R08: ffffffff90d5c8bf R09: 1ffffffff21ab917
R10: dffffc0000000000 R11: fffffbfff21ab918 R12: ffffffffffffffff
R13: 0000000000000001 R14: 0000000000000018 R15: ffff88805b83d7f0
FS:  000055555cc9f400(0000) GS:ffff888124801000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4008a5d708 CR3: 00000000416f4000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	e2 cd                	loop   0xffffffcf
   2:	8b e8                	mov    %eax,%ebp
   4:	ca d3 b4             	lret   $0xb4d3
   7:	fd                   	std
   8:	4c 89 f7             	mov    %r14,%rdi
   b:	e8 b2 50 2e fe       	call   0xfe2e50c2
  10:	4c 8b 74 24 10       	mov    0x10(%rsp),%r14
  15:	49 83 c6 08          	add    $0x8,%r14
  19:	4c 89 f0             	mov    %r14,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 f7             	mov    %r14,%rdi
  33:	e8 7a 97 c7 fe       	call   0xfec797b2
  38:	49 c7 06 00 00 00 00 	movq   $0x0,(%r14)
  3f:	48                   	rex.W

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/21 15:20 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git c44104f3642d 625aa117 .config console log report C ci2-upstream-fs general protection fault in dbDiscardAG
2026/11/20 19:35 upstream 65e4fd942f72 625aa117 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in dbDiscardAG
2026/09/26 01:31 upstream aa98230e410f f281d9d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in dbDiscardAG
* Struck through repros no longer work on HEAD.