# CVE-2026-142894: net/rds: do not fail init when CONFIG\_SYSCTL=n

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:25:45.254Z
- **Modified:** 2026-12-03T04:18:28.533Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker with local access could trigger a use-after-free in the Linux kernel RDS module when built without CONFIG\_SYSCTL, causing a crash during initialization.

## Who should check

- Anyone running Linux \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< e797c9a33afe7ef07c9af1bd42f453e353b73467; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< feed9ef31f2e10d24591896ffe67aca28c5b9bf9; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< a44fb05720d1ce02c2c1e1731614595819db0202; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< 0dd3cabf0fc8c675ee550681e6b9bf8f4e11378d; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< fbea154a86641d2543a871aa19f7c77a366de542
- Anyone running Linux 2.6.30

## 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.

## Affected and fixed versions

- Linux: \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< e797c9a33afe7ef07c9af1bd42f453e353b73467; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< feed9ef31f2e10d24591896ffe67aca28c5b9bf9; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< a44fb05720d1ce02c2c1e1731614595819db0202; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< 0dd3cabf0fc8c675ee550681e6b9bf8f4e11378d; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< fbea154a86641d2543a871aa19f7c77a366de542 (cvelist)
- Linux: 2.6.30 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142894. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142894.md
Affected: Linux >= 3e5048495c8569bfdd552750e0315973c61e7c93, < e797c9a33afe7ef07c9af1bd42f453e353b73467; >= 3e5048495c8569bfdd552750e0315973c61e7c93, < feed9ef31f2e10d24591896ffe67aca28c5b9bf9; >= 3e5048495c8569bfdd552750e0315973c61e7c93, < a44fb05720d1ce02c2c1e1731614595819db0202; >= 3e5048495c8569bfdd55275…
Fixed in: Linux 0dd3cabf0fc8c675ee550681e6b9bf8f4e11378d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142894 being exploited?

There is no confirmed exploitation: CVE-2026-142894 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142894?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142894?

Linux \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< e797c9a33afe7ef07c9af1bd42f453e353b73467; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< feed9ef31f2e10d24591896ffe67aca28c5b9bf9; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< a44fb05720d1ce02c2c1e1731614595819db0202; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< 0dd3cabf0fc8c675ee550681e6b9bf8f4e11378d; \>= 3e5048495c8569bfdd552750e0315973c61e7c93, \< fbea154a86641d2543a871aa19f7c77a366de542; Linux 2.6.30.

### Is there a fix for CVE-2026-142894?

Yes. Fixed in Linux 0dd3cabf0fc8c675ee550681e6b9bf8f4e11378d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142894?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e797c9a33afe7ef07c9af1bd42f453e353b73467>
- other: <https://git.kernel.org/stable/c/feed9ef31f2e10d24591896ffe67aca28c5b9bf9>
- other: <https://git.kernel.org/stable/c/a44fb05720d1ce02c2c1e1731614595819db0202>
- other: <https://git.kernel.org/stable/c/0dd3cabf0fc8c675ee550681e6b9bf8f4e11378d>
- other: <https://git.kernel.org/stable/c/fbea154a86641d2543a871aa19f7c77a366de542>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142894>

HTML: <https://flawdb.com/CVE-2026-142894> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142894>
