CVE-2026-46196·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: tracepoint: balance regfunc() on func_add() failure in tracepoint_add_func() When a tracepoint goes through the 0 -> 1 transition, tracepoint_add_func() invokes the subsystem's ext->regfunc() before attempting to install the new probe via func_add(). If func_add() then fails (for example, when allocate_probes() cannot allocate a new probe array under memory pressure and returns -ENOMEM), the function returns the error without calling the matching ext->unregfunc(), leaving the side effects of regfunc() behind with no installed probe to justify them. For syscall tracepoints this is particularly unpleasant: syscall_regfunc() bumps sys_tracepoint_refcount and sets SYSCALL_TRACEPOINT on every task. After a leaked failure, the refcount is stuck at a non-zero value with no consumer, and every task continues paying the syscall trace entry/exit overhead until reboot. Other subsystems providing regfunc()/unregfunc() pairs exhibit similarly scoped persistent state. Mirror the existing 1 -> 0 cleanup and call ext->unregfunc() in the func_add() error path, gated on the same condition used there so the unwind is symmetric with the registration.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to resolve a resource cleanup issue in the tracepoint registration mechanism. This vulnerability can cause kernel subsystems to leak memory and persistent state when probe registration fails under memory pressure, leading to unnecessary syscall tracing overhead. Apply the kernel update immediately, followed by a system reboot to activate the patched kernel.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the affected range (6.19 to 7.0.6)
- Step 2: Verify if tracepoint functionality is active by checking `cat /proc/sys/kernel/tracepoint_syscall_refcount` (if syscall tracepoints are enabled)
- Step 3: Monitor syslog for repeated ENOMEM errors during probe registration with `journalctl -u kernel --grep='func_add\|regfunc' -n 50`
- Step 4: After applying the update, confirm the new kernel is running with `uname -r` and verify it matches version 7.0.7 or later
FAQ
What is CVE-2026-46196?
This vulnerability exists in the Linux kernel's tracepoint registration subsystem where a failed probe installation leaves cleanup code unexecuted, causing resource leaks and persistent kernel state. When memory allocation fails during probe addition, the registration side-effects are not unwound, leaving the system in an inconsistent state.
Is CVE-2026-46196 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it can be triggered unintentionally under memory pressure conditions.
What versions of Kernel are affected by CVE-2026-46196?
Linux kernel versions from 6.19 through 7.0.6 are affected. The vulnerability is resolved in kernel version 7.0.7 and later.
How do I check if my server is vulnerable to CVE-2026-46196?
Run `uname -r` to display your kernel version. If it shows a version between 6.19 and 7.0.6 (inclusive), your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2026-46196?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-46196 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/247ed8a969f981bfba3112fd4bb441eaa6cef59c
- https://git.kernel.org/stable/c/2c5b8eeea006eb694c81631cd5713d494b80be90
- https://git.kernel.org/stable/c/342829e042ac00f3d68d442ea92873fb6683f494
- https://git.kernel.org/stable/c/36ff362235307af95152d510b53c2d9b8773a342
- https://git.kernel.org/stable/c/4f1756d043e56ea2e9a6c858fb290a0cf6fc2251
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46196. Free for 1 server.
Get started free