WARNING: proc registration bug in jbd2_journal_destroy

Status: moderation: reported on 2026/08/02 13:51
Subsystems: ext4
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+c9c72dac0af06fc4c94e@syzkaller.appspotmail.com
First crash: 79d, last: 1d06h
▶ ▼ ✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
f27e9311 repro-c Reproduced: ✅ ❓ WARNING: proc registration bug in jbd2_journal_destroy 2026/10/11 04:25 2026/10/11 04:25 2026/10/11 05:31 4f92358f
eb2be8cd repro-c 💥 WARNING: proc registration bug in jbd2_journal_destroy 2026/10/09 04:12 2026/10/09 04:12 2026/10/09 04:55 723be09b
c10b229f assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ WARNING: proc registration bug in jbd2_journal_destroy 2026/07/31 00:00 2026/07/31 00:00 2026/07/31 00:46 aaffb173
▶ ▼ Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/10/11 05:31 16m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a5ebb76233b79db01e82e061173cb73c6d2b5c6b error job log

Sample crash report:
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f270359f7ca
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2704387e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2704387ea0 RCX: 00007f270359f7ca
RDX: 000020000003e000 RSI: 000020000003e040 RDI: 00007f2704387e60
RBP: 000020000003e000 R08: 00007f2704387ea0 R09: 00000000000008c0
R10: 00000000000008c0 R11: 0000000000000246 R12: 000020000003e040
R13: 00007f2704387e60 R14: 0000000000004434 R15: 000020000003e080
 </TASK>
JBD2: Ignoring recovery information on journal
jbd2_journal_bmap: journal block not found at offset 32 on loop0-75
JBD2: bad block at offset 32
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 5, space 0, times 9992
CPU: 0 UID: 0 PID: 5330 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 fail_dump lib/fault-inject.c:73 [inline]
 should_fail_ex+0x410/0x560 lib/fault-inject.c:174
 should_failslab+0xa8/0x100 mm/failslab.c:46
 slab_pre_alloc_hook mm/slub.c:4638 [inline]
 slab_alloc_node mm/slub.c:4974 [inline]
 __do_kmalloc_node mm/slub.c:5413 [inline]
 __kmalloc_node_track_caller_noprof+0xfb/0x720 mm/slub.c:5545
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x42/0x100 mm/util.c:84
 __kernfs_new_node+0xa9/0x980 fs/kernfs/dir.c:661
 kernfs_new_node fs/kernfs/dir.c:751 [inline]
 kernfs_create_dir_ns+0xfe/0x230 fs/kernfs/dir.c:1120
 sysfs_create_dir_ns+0x12f/0x2a0 fs/sysfs/dir.c:59
 create_dir lib/kobject.c:73 [inline]
 kobject_add_internal+0x622/0xcd0 lib/kobject.c:240
 kset_register+0x161/0x230 lib/kobject.c:874
 kset_create_and_add+0x12d/0x170 lib/kobject.c:1015
 ocfs2_fill_super+0x3971/0x6840 fs/ocfs2/super.c:1095
 get_tree_bdev_flags+0x430/0x4f0 fs/super.c:1872
 vfs_get_tree+0x92/0x2a0 fs/super.c:1932
 fc_mount fs/namespace.c:1278 [inline]
 do_new_mount_fc fs/namespace.c:3885 [inline]
 do_new_mount+0x325/0xb00 fs/namespace.c:3961
 do_mount fs/namespace.c:4325 [inline]
 __do_sys_mount fs/namespace.c:4543 [inline]
 __se_sys_mount+0x31d/0x420 fs/namespace.c:4520
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f270359f7ca
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2704387e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2704387ea0 RCX: 00007f270359f7ca
RDX: 000020000003e000 RSI: 000020000003e040 RDI: 00007f2704387e60
RBP: 000020000003e000 R08: 00007f2704387ea0 R09: 00000000000008c0
R10: 00000000000008c0 R11: 0000000000000246 R12: 000020000003e040
R13: 00007f2704387e60 R14: 0000000000004434 R15: 000020000003e080
 </TASK>
kobject: kobject_add_internal failed for loop0 (error: -12 parent: ocfs2)
(syz.0.0,5330,0):ocfs2_fill_super:1099 ERROR: Unable to create device kset loop0.
------------[ cut here ]------------
name 'info'
WARNING: fs/proc/generic.c:741 at remove_proc_entry+0x35a/0x690 fs/proc/generic.c:741, CPU#0: syz.0.0/5330
Modules linked in:
CPU: 0 UID: 0 PID: 5330 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:remove_proc_entry+0x35f/0x690 fs/proc/generic.c:741
Code: ff e9 14 ff ff ff e8 f0 55 4e ff eb 05 e8 e9 55 4e ff 48 c7 c7 80 0e f3 8f e8 7d bc 73 09 48 8d 3d 86 17 07 0f 48 8b 74 24 08 <67> 48 0f b9 3a 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 c9 fe
RSP: 0018:ffffc9000e576e28 EFLAGS: 00010286
RAX: 8000000000000000 RBX: ffff8880418e9a00 RCX: ffffffff9ba00501
RDX: ffffc9000ee7a001 RSI: ffffffff8c2823a0 RDI: ffffffff9180e340
RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001caedb4 R12: 0000000000000000
R13: ffffffff8c2823a0 R14: ffff8880418e9ab0 R15: dffffc0000000000
FS:  00007f27043886c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563c3bb9e6e5 CR3: 000000004029c000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 jbd2_stats_proc_exit fs/jbd2/journal.c:1232 [inline]
 jbd2_journal_destroy+0x64b/0x7f0 fs/jbd2/journal.c:2176
 ocfs2_journal_shutdown+0x515/0xb70 fs/ocfs2/journal.c:1107
 ocfs2_dismount_volume+0x388/0x820 fs/ocfs2/super.c:1853
 ocfs2_fill_super+0x3f1b/0x6840 fs/ocfs2/super.c:1166
 get_tree_bdev_flags+0x430/0x4f0 fs/super.c:1872
 vfs_get_tree+0x92/0x2a0 fs/super.c:1932
 fc_mount fs/namespace.c:1278 [inline]
 do_new_mount_fc fs/namespace.c:3885 [inline]
 do_new_mount+0x325/0xb00 fs/namespace.c:3961
 do_mount fs/namespace.c:4325 [inline]
 __do_sys_mount fs/namespace.c:4543 [inline]
 __se_sys_mount+0x31d/0x420 fs/namespace.c:4520
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f270359f7ca
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2704387e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2704387ea0 RCX: 00007f270359f7ca
RDX: 000020000003e000 RSI: 000020000003e040 RDI: 00007f2704387e60
RBP: 000020000003e000 R08: 00007f2704387ea0 R09: 00000000000008c0
R10: 00000000000008c0 R11: 0000000000000246 R12: 000020000003e040
R13: 00007f2704387e60 R14: 0000000000004434 R15: 000020000003e080
 </TASK>
----------------
Code disassembly (best guess):
   0:	ff                   	ljmp   (bad)
   1:	e9 14 ff ff ff       	jmp    0xffffff1a
   6:	e8 f0 55 4e ff       	call   0xff4e55fb
   b:	eb 05                	jmp    0x12
   d:	e8 e9 55 4e ff       	call   0xff4e55fb
  12:	48 c7 c7 80 0e f3 8f 	mov    $0xffffffff8ff30e80,%rdi
  19:	e8 7d bc 73 09       	call   0x973bc9b
  1e:	48 8d 3d 86 17 07 0f 	lea    0xf071786(%rip),%rdi        # 0xf0717ab
  25:	48 8b 74 24 08       	mov    0x8(%rsp),%rsi
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 20          	add    $0x20,%rsp
  33:	5b                   	pop    %rbx
  34:	41 5c                	pop    %r12
  36:	41 5d                	pop    %r13
  38:	41 5e                	pop    %r14
  3a:	41 5f                	pop    %r15
  3c:	5d                   	pop    %rbp
  3d:	e9                   	.byte 0xe9
  3e:	c9                   	leave
  3f:	fe                   	.byte 0xfe

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/15 20:13 upstream 045958acaa75 3f2522c6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: proc registration bug in jbd2_journal_destroy
2026/10/08 01:07 upstream 7b63ef2d55f2 4f6a9fcf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: proc registration bug in jbd2_journal_destroy
2026/07/29 13:46 upstream fc02acf6ac0c b63596d1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: proc registration bug in jbd2_journal_destroy
* Struck through repros no longer work on HEAD.