CVE-2026-46196
tracepoint: balance regfunc() on func_add() failure in tracepoint_add_func()
Reported by linux · Published May 28, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra-common | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| Linux | Linux | 5787052e5f69beb649f3d6a80a8aa37d9e683e4e, 4.10 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8cf868affdc459beee1a941df0cfaba1673740e3, 8cf868affdc459beee1a941df0cfaba1673740e3, 8cf868affdc459beee1a941df0cfaba1673740e3 |
| Linux | Linux | 4.10, 0, 5.10.259 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| Linux | Linux | 7.0.7, 8cf868affdc459beee1a941df0cfaba1673740e3, 7.1 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18 | 0 |
| linux | linux_kernel | 4.10, 4.10, 4.10 |
| amazon:2023 | kernel6.18-headers | 0 |
…and 18 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (16 in total, the first dated here)
- Jun 1, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
- Nov 6, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46196
vulnetix vdb fixes CVE-2026-46196
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46196/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart