CVE-2026-142922

Source
https://cve.org/CVERecord?id=CVE-2026-142922
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142922.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142922
Published
2026-12-03T03:26:00Z
Modified
2026-12-03T05:01:18Z
Summary
sysctl: unregister tables before freeing bitmap
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142922.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2ea622b887e74497ce5aac5bfe247502b5786f56
Fixed
dc5a593dd369101aa31a0a060e29d005b5f2be2b
Fixed
1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c
Fixed
ff452703fa2c8b6b5aa7c2046d46bd19caaf7726
Fixed
238dfe02fb0a9f72d7fd275d74ce80f13923ef31

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142922.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142922.json"