syzbot
general protection fault in trace_event_raw_event_cgroup_rstat
Status:
premoderation: reported C repro on 2026/08/10 00:25
Bug presence:
origin:lts
[Documentation on labels]
Reported-by: syzbot+0c67986ccf4c308d3984@syzkaller.appspotmail.com
First crash: 43d, last: 1d02h
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2026/09/15 |
lts (merge base) |
ff43460784b7 |
C
|
[report] general protection fault in trace_event_raw_event_cgroup_rstat
|
| 2026/09/15 |
upstream (ToT) |
587858367581 |
C
|
Didn't crash |
Sample crash report:
SELinux: Context system_u:object_r:semanage_trans_lock_t:s0 is not valid (left unmapped).
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 UID: 0 PID: 315 Comm: syz-executor252 Not tainted syzkaller #0 238002c42480d657f84ffff3a67e0b81dcf43858
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:do_trace_event_raw_event_cgroup_rstat include/trace/events/cgroup.h:222 [inline]
RIP: 0010:trace_event_raw_event_cgroup_rstat+0x14b/0x3b0 include/trace/events/cgroup.h:207
Code: 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 78 56 62 00 44 89 64 24 18 48 8b 1b 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 8c 01 00 00 44 8b 23 49 8d 5d 08 48 89
RSP: 0018:ffffc9000119fae0 EFLAGS: 00010003
RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff888127f75f00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000
RBP: ffffc9000119fbc8 R08: ffff888127f75f00 R09: 0000000000000002
R10: fffffffffffffff5 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888109709a6c R14: 1ffff92000233f60 R15: dffffc0000000000
FS: 00005555939ac3c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e7996c7c78 CR3: 000000010877a000 CR4: 00000000003526b0
Call Trace:
<TASK>
trace_cgroup_rstat_locked include/trace/events/cgroup.h:242 [inline]
__cgroup_rstat_lock+0x11e/0x280 kernel/cgroup/rstat.c:292
cgroup_rstat_flush+0x22/0x150 kernel/cgroup/rstat.c:351
cgroup_rstat_exit+0x33/0x1e0 kernel/cgroup/rstat.c:409
cgroup_create kernel/cgroup/cgroup.c:5872 [inline]
cgroup_mkdir+0xd96/0x1600 kernel/cgroup/cgroup.c:5921
kernfs_iop_mkdir+0x1bb/0x2d0 fs/kernfs/dir.c:1250
vfs_mkdir+0x591/0x810 fs/namei.c:4265
do_mkdirat+0x240/0x530 fs/namei.c:4288
__do_sys_mkdirat fs/namei.c:4303 [inline]
__se_sys_mkdirat fs/namei.c:4301 [inline]
__x64_sys_mkdirat+0x8b/0xa0 fs/namei.c:4301
x64_sys_call+0x2ba8/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:259
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe9efaeb8e9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc962cbd28 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fe9efaeb8e9
RDX: 00000000000001c0 RSI: 0000200000000080 RDI: 00000000ffffff9c
RBP: 0000000061616161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe9efb52042
R13: 00007ffc962cbd60 R14: 00007ffc962cbda0 R15: 0000000000000000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_trace_event_raw_event_cgroup_rstat include/trace/events/cgroup.h:222 [inline]
RIP: 0010:trace_event_raw_event_cgroup_rstat+0x14b/0x3b0 include/trace/events/cgroup.h:207
Code: 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 78 56 62 00 44 89 64 24 18 48 8b 1b 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 8c 01 00 00 44 8b 23 49 8d 5d 08 48 89
RSP: 0018:ffffc9000119fae0 EFLAGS: 00010003
RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff888127f75f00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000
RBP: ffffc9000119fbc8 R08: ffff888127f75f00 R09: 0000000000000002
R10: fffffffffffffff5 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888109709a6c R14: 1ffff92000233f60 R15: dffffc0000000000
FS: 00005555939ac3c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e7996c7c78 CR3: 000000010877a000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: 00 48 89 add %cl,-0x77(%rax)
3: d8 48 c1 fmuls -0x3f(%rax)
6: e8 03 42 80 3c call 0x3c80420e
b: 38 00 cmp %al,(%rax)
d: 74 08 je 0x17
f: 48 89 df mov %rbx,%rdi
12: e8 78 56 62 00 call 0x62568f
17: 44 89 64 24 18 mov %r12d,0x18(%rsp)
1c: 48 8b 1b mov (%rbx),%rbx
1f: 48 83 c3 0c add $0xc,%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 8c 01 00 00 jne 0x1c3
37: 44 8b 23 mov (%rbx),%r12d
3a: 49 8d 5d 08 lea 0x8(%r13),%rbx
3e: 48 rex.W
3f: 89 .byte 0x89
* Struck through repros no longer work on HEAD.