AZL-117730: CVE-2026-142922 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

sysctl: unregister tables before freeing bitmap

The table registered for bitmap0001 retains a pointer to testdata.bitmap0001. unregistersysctltable() prevents new handlers from starting and waits for active handlers to finish.

testsysctlexit() currently frees the bitmap before unregistering the table. A concurrent read during module removal can therefore enter procdolargebitmap() while the bitmap is freed. KASAN reports a slab-use-after-free in findnextbit().

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 Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Unregister all sysctl tables before freeing the bitmap so the unregister rundown prevents new handlers from starting and waits for active handlers to finish.

Event History

Dec 3, 2026
Advisory Published
via OSV·04:18 AM
Data Sourced
via OSV·04:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required to trigger the use-after-free?

A read must race with module removal: a handler can enter proc_do_large_bitmap() after the bitmap has been freed but before its sysctl table is unregistered. The issue occurs because the table retains a pointer to the bitmap during that interval.

2

How can I tell whether this race has occurred?

KASAN can report a slab-use-after-free in _find_next_bit(). The issue was reproduced during concurrent load, read, and unload race testing of the unmodified module.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203