EnvMap GitHub

CVE-2026-142894

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

Not scored yetEPSS 0.31%Received

Description

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 3e5048495c8569bfdd552750e0315973c61e7c93 before e797c9a33afe7ef07c9af1bd42f; from 3e5048495c8569bfdd552750e0315973c61e7c93 before feed9ef31f2e10d24591896ffe6; from 3e5048495c8569bfdd552750e0315973c61e7c93 before a44fb05720d1ce02c2c1e173161; from 3e5048495c8569bfdd552750e0315973c61e7c93 before 0dd3cabf0fc8c675ee550681e6b; 2.6.30

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.31% chance of exploitation in the next 30 days, higher than 25% of all CVEs (as of 4 December 2026).

References

Record

Published04:18 UTC, 3 December 2026
Last changed04:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-142894 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.