AZL-117697: CVE-2026-142894 affecting package kernel 6.6.161.1-1
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
Event History
Frequently Asked Questions
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.
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.
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.