cve.bz

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

no score yetEPSS 0.3%Fix available

linux linux: no CVSS score yet. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: net/rds: do not fail init when CONFIG_SYSCTL=n With CONFIG_SYSCTL=n, register_net_sysctl() and register_net_sysctl_sz() are inline stubs that return NULL. rds_sysctl_init(), rds_ib_sysctl_init() and rds_tcp_init_net() 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 rds_init() destroys rds_wq, but the rds_rdma initcall still runs, and when rds_ib_sysctl_init() fails the same way, the error path in rds_ib_init() flushes the already freed workqueue: BUG: KASAN: slab-use-after-free in touch_wq_lockdep_map ... __flush_workqueue rds_ib_init rds_rdma_init ... Allocated by task 1: alloc_workqueue_noprof rds_threads_init rds_init ... Freed by task 0: kfree rcu_do_batch Only treat the NULL return as a failure when sysctl support is actually compiled in. The exit paths need no change: unregister_net_sysctl_table() is an empty stub with CONFIG_SYSCTL=n and already tolerates a NULL header otherwise. The underlying problem of built-in transports initializing after rds_init() has failed is independent of sysctl and is addressed separately.
EPSS
0.3% estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
Published
Assigned by
Linux (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Linux Linux: fixed in 6.6.163
  • Linux Linux: fixed in 6.12.119
  • Linux Linux: fixed in 6.18.65
  • Linux Linux: fixed in 7.3.6
  • Linux Linux: fixed in 7.4-rc1
  • Debian: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-142894 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-142894?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-142894?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-142894 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux2.6.30 and later

Fixed in

ProductRelease lineFixed in
Linux6.66.6.163
Linux6.126.12.119
Linux6.186.18.65
Linux7.37.3.6
Linuxlater releases7.4-rc1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13linuxno fix listedDEBIAN-CVE-2026-142894
Debian14linux7.3.6-1DEBIAN-CVE-2026-142894
Azure Linux3kernelno fix listedAZL-117697

From the distributions' data via OSV.dev: the Debian Security Tracker; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

References

Check your stackJSON