AZL-117697: CVE-2026-142894 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

net/rds: do not fail init when CONFIGSYSCTL=n

With CONFIGSYSCTL=n, registernetsysctl() and registernetsysctlsz() are inline stubs that return NULL. rdssysctlinit(), rdsibsysctlinit() and rdstcpinitnet() all treat that NULL as -ENOMEM, so RDS refuses to initialize at all even though every tunable has a sane compiled-in default.

When RDS is built in, that is worse than a missing feature: the failed rdsinit() destroys rdswq, but the rdsrdma initcall still runs, and when rdsibsysctlinit() fails the same way, the error path in rdsibinit() flushes the already freed workqueue:

BUG: KASAN: slab-use-after-free in touchwqlockdepmap ... flushworkqueue rdsibinit rdsrdmainit ... Allocated by task 1: allocworkqueuenoprof rdsthreadsinit rdsinit ... Freed by task 0: kfree rcudobatch

Only treat the NULL return as a failure when sysctl support is actually compiled in. The exit paths need no change: unregisternetsysctltable() is an empty stub with CONFIGSYSCTL=n and already tolerates a NULL header otherwise.

The underlying problem of built-in transports initializing after rdsinit() has failed is independent of sysctl and is addressed separately.

Affected Software

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

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

Which systems are exposed to the use-after-free condition?

Systems with CONFIG_SYSCTL disabled are affected when RDS is built into the kernel. In that configuration, RDS initialization can fail and a later built-in RDS RDMA initialization path can flush a workqueue that has already been freed.

2

How can I determine whether a kernel is affected by this configuration?

Check the kernel build configuration for CONFIG_SYSCTL=n and whether RDS, including built-in transport support, is compiled into the kernel rather than omitted. Affected boot failures may include a KASAN slab-use-after-free report involving touch_wq_lockdep_map, __flush_workqueue, rds_ib_init, and rds_rdma_init.

3

What can be done if the updated kernel package cannot be deployed immediately?

Avoid the affected configuration by enabling sysctl support when building the kernel, rather than using CONFIG_SYSCTL=n with built-in RDS transports. The issue occurs because sysctl-registration stubs return NULL when sysctl support is disabled.

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