CVE-2026-142894: net/rds: do not fail init when CONFIG_SYSCTL=n

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

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=2.6.30<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6

Event History

Dec 3, 2026
CVE Published
via MITRE·03:25 AM
Data Sourced
via MITRE·03:25 AM
Description
Data Sourced
via OSV·03:25 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Frequently Asked Questions

1

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

Systems running the Linux kernel with RDS built in and CONFIG_SYSCTL disabled are exposed. In this configuration, RDS initialization fails, destroys its workqueue, and a later built-in RDS RDMA transport initialization path can flush that freed workqueue.

2

Does an attacker need network access or RDS credentials to trigger this?

The described failure occurs during kernel initialization, not through a described network request or authenticated RDS operation. The provided data does not identify any attacker-controlled trigger.

3

What can be done if updating is not immediately possible?

Avoid the affected configuration by enabling CONFIG_SYSCTL, or avoid building RDS and its built-in transports into the kernel. The issue is specifically caused by CONFIG_SYSCTL being disabled while RDS initialization proceeds.

4

How can I determine whether a system is affected?

Check whether the kernel was built with CONFIG_SYSCTL disabled and RDS built in. Affected boot paths may show RDS initialization failures followed by a KASAN slab-use-after-free involving __flush_workqueue, rds_ib_init, and rds_rdma_init.

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