# CVE-2026-142922: sysctl: unregister tables before freeing bitmap

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:26:00.572Z
- **Modified:** 2026-12-03T04:18:32.800Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can read sysctl entries during module removal can trigger a use-after-free in the Linux kernel sysctl bitmap handling.

## Who should check

- Anyone running Linux \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< dc5a593dd369101aa31a0a060e29d005b5f2be2b; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< 1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< ff452703fa2c8b6b5aa7c2046d46bd19caaf7726; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< 238dfe02fb0a9f72d7fd275d74ce80f13923ef31
- Anyone running Linux 5.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

sysctl: unregister tables before freeing bitmap

The table registered for bitmap\_0001 retains a pointer to
test\_data.bitmap\_0001. unregister\_sysctl\_table() prevents new handlers
from starting and waits for active handlers to finish.

test\_sysctl\_exit() currently frees the bitmap before unregistering the
table. A concurrent read during module removal can therefore enter
proc\_do\_large\_bitmap() while the bitmap is freed. KASAN reports a
slab-use-after-free in \_find\_next\_bit().

Unregister all tables before freeing the bitmap so the unregister rundown
provides the required lifetime boundary.

The unmodified module reproduced the use-after-free in three KASAN runs.
With this change, three runs each completed 100 load, read and unload race
rounds without a kernel diagnostic.

## Affected and fixed versions

- Linux: \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< dc5a593dd369101aa31a0a060e29d005b5f2be2b; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< 1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< ff452703fa2c8b6b5aa7c2046d46bd19caaf7726; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< 238dfe02fb0a9f72d7fd275d74ce80f13923ef31 (cvelist)
- Linux: 5.2 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 238dfe02fb0a9f72d7fd275d74ce80f13923ef31 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142922. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142922.md
Affected: Linux >= 2ea622b887e74497ce5aac5bfe247502b5786f56, < dc5a593dd369101aa31a0a060e29d005b5f2be2b; >= 2ea622b887e74497ce5aac5bfe247502b5786f56, < 1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c; >= 2ea622b887e74497ce5aac5bfe247502b5786f56, < ff452703fa2c8b6b5aa7c2046d46bd19caaf7726; >= 2ea622b887e74497ce5aac5…
Fixed in: Linux 1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c, Linux 238dfe02fb0a9f72d7fd275d74ce80f13923ef31

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142922 being exploited?

There is no confirmed exploitation: CVE-2026-142922 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142922?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142922?

Linux \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< dc5a593dd369101aa31a0a060e29d005b5f2be2b; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< 1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< ff452703fa2c8b6b5aa7c2046d46bd19caaf7726; \>= 2ea622b887e74497ce5aac5bfe247502b5786f56, \< 238dfe02fb0a9f72d7fd275d74ce80f13923ef31; Linux 5.2.

### Is there a fix for CVE-2026-142922?

Yes. Fixed in Linux 1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c, Linux 238dfe02fb0a9f72d7fd275d74ce80f13923ef31. Upgrade Linux to 238dfe02fb0a9f72d7fd275d74ce80f13923ef31 or later.

### How do I check if I'm affected by CVE-2026-142922?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/dc5a593dd369101aa31a0a060e29d005b5f2be2b>
- other: <https://git.kernel.org/stable/c/1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c>
- other: <https://git.kernel.org/stable/c/ff452703fa2c8b6b5aa7c2046d46bd19caaf7726>
- other: <https://git.kernel.org/stable/c/238dfe02fb0a9f72d7fd275d74ce80f13923ef31>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142922>

HTML: <https://flawdb.com/CVE-2026-142922> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142922>
