Bug 2589361 (CVE-2026-142922) - CVE-2026-142922 kernel: kernel: Denial of Service via use-after-free in sysctl module unregistration
Summary: CVE-2026-142922 kernel: kernel: Denial of Service via use-after-free in sysct...
Keywords:
Status: NEW
Alias: CVE-2026-142922
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 05:10 UTC by OSIDB Bzimport
Modified: 2026-12-03 09:56 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 05:10:12 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.