syzbot


INFO: trying to register non-static key in txEnd

Status: upstream: reported C repro on 2024/05/09 20:23
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+202ba7a18139d10c29db@syzkaller.appspotmail.com
First crash: 225d, last: 1d01h
Bug presence (1)
Date Name Commit Repro Result
2024/05/10 upstream (ToT) 448b3fe5a0ea C [report] INFO: trying to register non-static key in txEnd
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in txEnd (2) jfs C done 1173 2h05m 252d 0/28 upstream: reported C repro on 2024/04/13 09:52
linux-6.1 INFO: trying to register non-static key in txEnd origin:upstream C error 14 5h40m 256d 0/3 upstream: reported C repro on 2024/04/09 08:39
upstream INFO: trying to register non-static key in txEnd jfs C inconclusive done 20 349d 447d 25/28 fixed on 2024/03/20 11:33
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/10/19 04:50 9m retest repro linux-5.15.y report log
2024/10/19 04:50 11m retest repro linux-5.15.y report log

Sample crash report:
ERROR: (device loop0): txBegin: read-only filesystem
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: 3498 Comm: syz-executor126 Not tainted 5.15.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 assign_lock_key+0x21e/0x230 kernel/locking/lockdep.c:937
 register_lock_class+0x28a/0x9a0 kernel/locking/lockdep.c:1250
 __lock_acquire+0xd7/0x1ff0 kernel/locking/lockdep.c:4891
 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 __wake_up_common_lock kernel/sched/wait.c:137 [inline]
 __wake_up+0xf5/0x1c0 kernel/sched/wait.c:157
 txEnd+0x88/0x560 fs/jfs/jfs_txnmgr.c:504
 jfs_create+0x36d/0xbb0 fs/jfs/namei.c:159
 lookup_open fs/namei.c:3462 [inline]
 open_last_lookups fs/namei.c:3532 [inline]
 path_openat+0x130a/0x2f20 fs/namei.c:3739
 do_filp_open+0x21c/0x460 fs/namei.c:3769
 do_sys_openat2+0x13b/0x500 fs/open.c:1253
 do_sys_open fs/open.c:1269 [inline]
 __do_sys_open fs/open.c:1277 [inline]
 __se_sys_open fs/open.c:1273 [inline]
 __x64_sys_open+0x221/0x270 fs/open.c:1273
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fb8de9bd739
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd4d5586e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fb8de9bd739
RDX: 0000000000000000 RSI: 0000000000143042 RDI: 0000000020000180
RBP: 00007fb8dea36610 R08: 00007ffd4d5588b8 R09: 00007ffd4d5588b8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd4d5588a8 R14: 0000000000000001 R15: 0000000000000001
 </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: 3498 Comm: syz-executor126 Not tainted 5.15.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:__wake_up_common+0x23d/0x4e0
Code: 00 49 83 c4 40 4d 39 e7 0f 84 f1 01 00 00 45 31 f6 eb 09 4d 39 e7 0f 84 e3 01 00 00 4c 89 fb 49 8d 6f e8 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 25 7e 6a 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90002c774f8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002389030
RBP: ffffffffffffffe8 R08: 0000000000000000 R09: ffffc90002c775a0
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffc90002389070
R13: 1ffff9200058eeb4 R14: 0000000000000000 R15: 0000000000000000
FS:  00005555567a3380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f441e148000 CR3: 000000001a846000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __wake_up_common_lock kernel/sched/wait.c:138 [inline]
 __wake_up+0x112/0x1c0 kernel/sched/wait.c:157
 txEnd+0x88/0x560 fs/jfs/jfs_txnmgr.c:504
 jfs_create+0x36d/0xbb0 fs/jfs/namei.c:159
 lookup_open fs/namei.c:3462 [inline]
 open_last_lookups fs/namei.c:3532 [inline]
 path_openat+0x130a/0x2f20 fs/namei.c:3739
 do_filp_open+0x21c/0x460 fs/namei.c:3769
 do_sys_openat2+0x13b/0x500 fs/open.c:1253
 do_sys_open fs/open.c:1269 [inline]
 __do_sys_open fs/open.c:1277 [inline]
 __se_sys_open fs/open.c:1273 [inline]
 __x64_sys_open+0x221/0x270 fs/open.c:1273
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fb8de9bd739
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd4d5586e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fb8de9bd739
RDX: 0000000000000000 RSI: 0000000000143042 RDI: 0000000020000180
RBP: 00007fb8dea36610 R08: 00007ffd4d5588b8 R09: 00007ffd4d5588b8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd4d5588a8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 274b2156a58e6daf ]---
RIP: 0010:__wake_up_common+0x23d/0x4e0
Code: 00 49 83 c4 40 4d 39 e7 0f 84 f1 01 00 00 45 31 f6 eb 09 4d 39 e7 0f 84 e3 01 00 00 4c 89 fb 49 8d 6f e8 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 25 7e 6a 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90002c774f8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002389030
RBP: ffffffffffffffe8 R08: 0000000000000000 R09: ffffc90002c775a0
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffc90002389070
R13: 1ffff9200058eeb4 R14: 0000000000000000 R15: 0000000000000000
FS:  00005555567a3380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f441e148000 CR3: 000000001a846000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	49 83 c4 40          	add    $0x40,%r12
   4:	4d 39 e7             	cmp    %r12,%r15
   7:	0f 84 f1 01 00 00    	je     0x1fe
   d:	45 31 f6             	xor    %r14d,%r14d
  10:	eb 09                	jmp    0x1b
  12:	4d 39 e7             	cmp    %r12,%r15
  15:	0f 84 e3 01 00 00    	je     0x1fe
  1b:	4c 89 fb             	mov    %r15,%rbx
  1e:	49 8d 6f e8          	lea    -0x18(%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 df             	mov    %rbx,%rdi
  32:	e8 25 7e 6a 00       	call   0x6a7e5c
  37:	48                   	rex.W
  38:	ba 00 00 00 00       	mov    $0x0,%edx
  3d:	00 fc                	add    %bh,%ah

Crashes (41):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/09 20:57 linux-5.15.y 284087d4f7d5 05079661 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: trying to register non-static key in txEnd
2024/12/08 05:42 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/08/25 14:34 linux-5.15.y fa93fa65db6e d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/02 09:05 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in txEnd
2024/05/12 05:06 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in txEnd
2024/05/09 20:22 linux-5.15.y 284087d4f7d5 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in txEnd
2024/12/20 15:34 linux-5.15.y 91786f140358 0f61b415 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/18 16:58 linux-5.15.y 963e654022cc a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/14 10:35 linux-5.15.y 0a51d2d4527b 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/08 21:34 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/08 17:26 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/08 05:12 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/02 11:03 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/01 08:37 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/12/01 04:04 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/11/28 22:47 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/11/28 16:39 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/11/11 03:51 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/11/10 09:39 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/11/09 22:34 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/11/04 02:24 linux-5.15.y 72244eab0dad f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/11/03 20:06 linux-5.15.y 72244eab0dad f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/10/21 04:47 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/10/04 19:22 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/09/27 11:10 linux-5.15.y 3a5928702e71 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/09/22 21:16 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/09/19 17:46 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/09/19 04:23 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/09/16 08:32 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/09/08 15:51 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/09/07 10:15 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/09/01 01:32 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/08/26 09:40 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/08/25 12:54 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/08/05 18:47 linux-5.15.y 7e89efd3ae1c e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/08/01 11:13 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/06/23 13:55 linux-5.15.y 4878aadf2d15 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/06/23 09:47 linux-5.15.y 4878aadf2d15 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/06/22 05:00 linux-5.15.y 4878aadf2d15 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/05/27 09:44 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
2024/05/12 13:05 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: trying to register non-static key in txEnd
* Struck through repros no longer work on HEAD.