syzbot


INFO: trying to register non-static key in txEnd

Status: upstream: reported C repro on 2025/07/07 22:29
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+5136e06b0767f2c4b1e5@syzkaller.appspotmail.com
First crash: 206d, last: 13d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: BUG: unable to handle kernel NULL pointer dereference in txEnd (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2025/07/09 linux-6.6.y (ToT) a5df3a702b2c C [report] INFO: trying to register non-static key in txEnd
2025/07/09 upstream (ToT) 733923397fd9 C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in txEnd (2) jfs -1 C done error 4079 34d 656d 0/29 upstream: reported C repro on 2024/04/13 09:52
linux-6.1 INFO: trying to register non-static key in txEnd origin:upstream -1 C error 139 60d 660d 0/3 upstream: reported C repro on 2024/04/09 08:39
upstream INFO: trying to register non-static key in txEnd jfs -1 C inconclusive done 20 753d 851d 25/29 fixed on 2024/03/20 11:33
linux-5.15 INFO: trying to register non-static key in txEnd origin:upstream -1 C error 146 64d 630d 0/3 upstream: reported C repro on 2024/05/09 20:23
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2026/01/23 03:34 2m fix candidate upstream error job log
2026/01/16 17:05 2h05m bisect fix linux-6.6.y OK (0) job log log
2025/12/14 11:53 1h24m bisect fix linux-6.6.y OK (0) job log log

Sample crash report:
jfs_dirty_inode called on read-only volume
Is remount racy?
jfs_dirty_inode called on read-only volume
Is remount racy?
jfs_dirty_inode called on read-only volume
Is remount racy?
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 0 PID: 5943 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106
 assign_lock_key+0x1f9/0x230 kernel/locking/lockdep.c:976
 register_lock_class+0x212/0x890 kernel/locking/lockdep.c:1289
 __lock_acquire+0x17a/0x7c80 kernel/locking/lockdep.c:5014
 lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162
 __wake_up_common_lock kernel/sched/wait.c:137 [inline]
 __wake_up+0xf8/0x190 kernel/sched/wait.c:160
 txEnd+0x8a/0x520 fs/jfs/jfs_txnmgr.c:504
 jfs_truncate_nolock+0x1e5/0x2c0 fs/jfs/inode.c:400
 jfs_truncate+0xce/0x140 fs/jfs/inode.c:412
 jfs_setattr+0x4f8/0x750 fs/jfs/file.c:122
 notify_change+0xb0d/0xe10 fs/attr.c:499
 do_truncate+0x19b/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3291 [inline]
 do_open fs/namei.c:3636 [inline]
 path_openat+0x298c/0x3190 fs/namei.c:3789
 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816
 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419
 do_sys_open fs/open.c:1434 [inline]
 __do_sys_openat fs/open.c:1450 [inline]
 __se_sys_openat fs/open.c:1445 [inline]
 __x64_sys_openat+0x139/0x160 fs/open.c:1445
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc34018efc9
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:00007ffcc5bdf9b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fc3403e5fa0 RCX: 00007fc34018efc9
RDX: 0000000000181242 RSI: 0000200000000180 RDI: ffffffffffffff9c
RBP: 00007fc340211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000148 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc3403e5fa0 R14: 00007fc3403e5fa0 R15: 0000000000000004
 </TASK>
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 5943 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__wake_up_common+0x23c/0x4e0 kernel/sched/wait.c:100
Code: 24 00 00 00 00 49 83 c5 40 4d 39 ef 0f 84 ed 01 00 00 45 31 f6 eb 09 4d 39 ef 0f 84 df 01 00 00 4c 89 fd 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 ef e8 46 83 78 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90003317538 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002619030
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffc900033175e0
R10: dffffc0000000000 R11: fffff52000662e90 R12: ffffc90002619030
R13: ffffc90002619070 R14: 0000000000000000 R15: 0000000000000000
FS:  0000555575631500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb0ff65f000 CR3: 00000000764f5000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 __wake_up_common_lock kernel/sched/wait.c:138 [inline]
 __wake_up+0x112/0x190 kernel/sched/wait.c:160
 txEnd+0x8a/0x520 fs/jfs/jfs_txnmgr.c:504
 jfs_truncate_nolock+0x1e5/0x2c0 fs/jfs/inode.c:400
 jfs_truncate+0xce/0x140 fs/jfs/inode.c:412
 jfs_setattr+0x4f8/0x750 fs/jfs/file.c:122
 notify_change+0xb0d/0xe10 fs/attr.c:499
 do_truncate+0x19b/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3291 [inline]
 do_open fs/namei.c:3636 [inline]
 path_openat+0x298c/0x3190 fs/namei.c:3789
 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816
 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419
 do_sys_open fs/open.c:1434 [inline]
 __do_sys_openat fs/open.c:1450 [inline]
 __se_sys_openat fs/open.c:1445 [inline]
 __x64_sys_openat+0x139/0x160 fs/open.c:1445
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc34018efc9
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:00007ffcc5bdf9b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fc3403e5fa0 RCX: 00007fc34018efc9
RDX: 0000000000181242 RSI: 0000200000000180 RDI: ffffffffffffff9c
RBP: 00007fc340211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000148 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc3403e5fa0 R14: 00007fc3403e5fa0 R15: 0000000000000004
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__wake_up_common+0x23c/0x4e0 kernel/sched/wait.c:100
Code: 24 00 00 00 00 49 83 c5 40 4d 39 ef 0f 84 ed 01 00 00 45 31 f6 eb 09 4d 39 ef 0f 84 df 01 00 00 4c 89 fd 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 ef e8 46 83 78 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90003317538 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002619030
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffc900033175e0
R10: dffffc0000000000 R11: fffff52000662e90 R12: ffffc90002619030
R13: ffffc90002619070 R14: 0000000000000000 R15: 0000000000000000
FS:  0000555575631500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb0ff65f000 CR3: 00000000764f5000 CR4: 00000000003506f0
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	00 00                	add    %al,(%rax)
   2:	00 00                	add    %al,(%rax)
   4:	49 83 c5 40          	add    $0x40,%r13
   8:	4d 39 ef             	cmp    %r13,%r15
   b:	0f 84 ed 01 00 00    	je     0x1fe
  11:	45 31 f6             	xor    %r14d,%r14d
  14:	eb 09                	jmp    0x1f
  16:	4d 39 ef             	cmp    %r13,%r15
  19:	0f 84 df 01 00 00    	je     0x1fe
  1f:	4c 89 fd             	mov    %r15,%rbp
  22:	4c 89 f8             	mov    %r15,%rax
  25:	48 c1 e8 03          	shr    $0x3,%rax
* 29:	80 3c 10 00          	cmpb   $0x0,(%rax,%rdx,1) <-- trapping instruction
  2d:	74 12                	je     0x41
  2f:	48 89 ef             	mov    %rbp,%rdi
  32:	e8 46 83 78 00       	call   0x78837d
  37:	48                   	rex.W
  38:	ba 00 00 00 00       	mov    $0x0,%edx
  3d:	00 fc                	add    %bh,%ah

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/19 01:30 linux-6.6.y 0bbbd97a442d 1c8c8cd8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/07 23:56 linux-6.6.y a5df3a702b2c 4f67c4ae .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/07 23:31 linux-6.6.y a5df3a702b2c 4f67c4ae .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/07 22:57 linux-6.6.y a5df3a702b2c 4f67c4ae .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/11/11 01:07 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/11/10 20:58 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/26 04:52 linux-6.6.y 4a243110dc88 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/24 01:27 linux-6.6.y 4a243110dc88 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/19 00:40 linux-6.6.y 0bbbd97a442d 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/19 00:40 linux-6.6.y 0bbbd97a442d 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/10 09:14 linux-6.6.y e617101e5626 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/10 09:13 linux-6.6.y e617101e5626 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/10 09:07 linux-6.6.y e617101e5626 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/10 09:07 linux-6.6.y e617101e5626 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/01 23:01 linux-6.6.y 147338df3487 a1859138 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/10/01 23:01 linux-6.6.y 147338df3487 a1859138 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/09/28 13:52 linux-6.6.y 147338df3487 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/09/28 13:52 linux-6.6.y 147338df3487 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/09/24 03:49 linux-6.6.y af1544b5d072 e667a34f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/09/24 03:49 linux-6.6.y af1544b5d072 e667a34f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/09/12 11:06 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/09/12 11:05 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/09/12 10:37 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/09/12 10:37 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/08/27 03:31 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/08/27 03:30 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/28 02:11 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/28 02:08 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/27 20:40 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/27 20:40 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/27 20:35 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/27 20:35 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/07 22:29 linux-6.6.y a5df3a702b2c 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
2025/07/07 22:29 linux-6.6.y a5df3a702b2c 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: trying to register non-static key in txEnd
* Struck through repros no longer work on HEAD.