CVE-2026-142894

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142895In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix maple_range_64 crashes in RCU mode Patch series "mapleCVE-2026-142896In the Linux kernel, the following vulnerability has been resolved: tls: avoid field-spanning write when copying crypto info do_tls_setsocCVE-2026-142897In the Linux kernel, the following vulnerability has been resolved: net: pse-pd: si3474: fix use-after-free in ancillary client error path CVE-2026-142898In the Linux kernel, the following vulnerability has been resolved: ibmveth: step past bad RX correlators instead of spinning or oopsing iCVE-2026-142899In the Linux kernel, the following vulnerability has been resolved: fuse: validate folio state before pipe_buf_try_steal() in fuse_try_moveCVE-2026-14295.4Single Sign-On Portal System developed by WellChoose has a Reflected Cross-site Scripting vulnerability, allowing authenticated remote attacCVE-2026-142906.8The Embed Google Photos album WordPress plugin through 2.2.1 does not escape a shortcode attribute value before outputting it inside an HTMLCVE-2026-142900In the Linux kernel, the following vulnerability has been resolved: HID: wacom: fix wacom_intuos_irq NULL pen_input deref Currently, wacomCVE-2026-142901In the Linux kernel, the following vulnerability has been resolved: HID: logitech-hidpp: cancel reset_hi_res_work on probe failure The proCVE-2026-142902In the Linux kernel, the following vulnerability has been resolved: HID: asus: document and harden the worker teardown asus_work() executeCVE-2026-142903In the Linux kernel, the following vulnerability has been resolved: ALSA: vmaster: Protect follower lookup and setup A control selected byCVE-2026-142904In the Linux kernel, the following vulnerability has been resolved: veth: clear rx queue hint in veth_xmit With more tx queues on one end
CVE-2026-142894: Unscored | Vulnix