CVE-2026-142922

critical

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.

References

https://git.kernel.org/stable/c/ff452703fa2c8b6b5aa7c2046d46bd19caaf7726

https://git.kernel.org/stable/c/dc5a593dd369101aa31a0a060e29d005b5f2be2b

https://git.kernel.org/stable/c/238dfe02fb0a9f72d7fd275d74ce80f13923ef31

https://git.kernel.org/stable/c/1435e294d4b7e9b11cb9cd19ebf0ff718489ae7c

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-142331

Details

Source: Mitre, NVD

Published: 2026-12-03

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.00296