PT-2026-166972

CVE-2026-143114

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
cgroup: arm the notify timer only while the file exists
cgroup rm file() clears cfile->kn under cfile->lock and then deletes the notify timer. Since commit 4616120fca7f ("cgroup: add lockless fast-path checks to cgroup file notify()"), cgroup file notify() checks kn and arms the timer without that lock and can arm it right after it was deleted:
Task A (memcg charge) Task B (subtree control write) cgroup file notify() READ ONCE(cfile->kn) != NULL cgroup rm file() cfile->kn = NULL timer delete sync() timer reduce(&cfile->notify timer) /* timer queued again */
If the css is only hidden, showing it again runs timer setup() on the still queued timer and corrupts the timer wheel:
[ 14.324093] ODEBUG: init active (active state 0) object: 0000000009e526fd object type: timer list hint: cgroup file notify timer+0x0/0x10 [ 14.324123] WARNING: lib/debugobjects.c:629 at debug print object+0x1a4/0x3b0, CPU#1: cgnotify/64 [ 14.329806] CPU: 1 UID: 0 PID: 64 Comm: cgnotify Tainted: G W 7.3.0-17087-gd865f2677c44 #1 PREEMPT [ 14.335109] RIP: 0010:debug print object+0x1ae/0x3b0 [ 14.354351] Call Trace: [ 14.354927] [ 14.356650] debug object init+0x203/0x3c0 [ 14.361799] timer init key+0x2c/0x240 [ 14.362682] cgroup addrm files+0x754/0xc40 [ 14.366744] css populate dir+0x12e/0x440 [ 14.368636] cgroup apply control enable+0x2f3/0xb60 [ 14.371769] cgroup subtree control write+0x740/0xc10 [ 14.376924] cgroup file write+0x19e/0x700 [ 14.381809] kernfs fop write iter+0x337/0x510 [ 14.382818] vfs write+0x545/0x1250 [ 14.386491] ksys write+0xfa/0x200 [ 14.390144] do syscall 64+0xfb/0x590 [ 14.390994] entry SYSCALL 64 after hwframe+0x77/0x7f
If the css is freed instead, the timer can fire on freed memory.
Arm the timer under cfile->lock after checking kn again and keep only the kn and timer pending() checks outside the lock. With the fix, the timer stays idle once the file is removed.
This bug was identified and confirmed with the help of a deterministic hypervisor currently under development. The C reproducer below however hits it within a minute.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾