# CVE-2026-99166: net: rds: fix uninitialized trans dereference in CM event handler

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-28T10:35:18.050Z
- **Modified:** 2026-10-30T13:21:50.340Z

## Who should check

- Anyone running Linux \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 0d15e853aa88da5375edd32b39d08a048b64a1c5; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 8c77774535c3d6162929521a6fa11e3db086fa32; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 8973f70cb068012d83cff1cfa3f45ef94ab02267; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< a2fde862b98db8908e2ebaffbb35a75a0e9d5b33; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 074bb7cdc3e26afa698888ba56fc1df0e3f24650; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 5f23e4e3a31dacfd82a8f56be253adc0910ee84f; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< ca14c289ed9ffed6cc64290d039e923e5720a8bf; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8
- Anyone running Linux 4.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: rds: fix uninitialized trans dereference in CM event handler

rds\_rdma\_cm\_event\_handler\_cmn() assigns trans only when the RDMA
device is an InfiniBand CA (RDMA\_NODE\_IB\_CA).  On any other device
type, e.g. an iWARP RNIC such as siw, trans stays uninitialized, but
the event switch dereferences it: unconditionally in the
RDMA\_CM\_EVENT\_CONNECT\_REQUEST case via trans-\>cm\_handle\_connect(),
and (with a connection context) in the ROUTE\_RESOLVED and
ESTABLISHED cases.

An RDS listener on an iWARP device therefore crashes the kernel as
soon as a connect request arrives: with CONFIG\_INIT\_STACK\_ALL\_ZERO
the wild load becomes a NULL dereference at offset 0xa0
(&trans-\>cm\_handle\_connect) in the iw\_cm\_wq workqueue.

GCC masks the bug in default builds by folding the uninitialized
load into &rds\_ib\_transport; Clang-built kernels take the real
uninitialized path and oops.

The active side can land on a non-IB device too: the id that
rds\_ib\_conn\_path\_connect() creates is not restricted to a node type,
so rdma\_resolve\_addr() binds it to whichever device serves the local
address, and an iWARP RNIC on the same netdev qualifies.  The crash
there is different: resolving a route on an iWARP id never fills in
cm\_id-\>route.path\_rec, and the ROUTE\_RESOLVED case writes
path\_rec\[0\].sl before it calls into the transport.

The iWARP transport was dropped long ago and IB is the only
transport left, so make that explicit: initialize trans to
&rds\_ib\_transport at declaration, drop the conditional assignment,
reject a connect request that arrives on a non-IB device, and drop a
connection whose address resolved to one instead of resolving a
route on it.  The rejection is limited to RDMA\_CM\_EVENT\_CONNECT\_REQUEST
on purpose: a non-zero return from the handler makes rdma\_cm destroy
the id the event was delivered on, which is right for the request's
freshly created id but would free a connection id that RDS still owns
for any other event.  On the active side the id stays ic-\>i\_cm\_id and
the connection's shutdown destroys it, so that case returns 0.

\[achender: reject only on RDMA\_CM\_EVENT\_CONNECT\_REQUEST instead of
 bailing out for every event on a non-IB device, so that rdma\_cm does
 not destroy connection ids RDS still tracks; drop a connection whose
 address resolved to a non-IB device before a route is resolved on it;
 changelog adjusted\]

## Affected and fixed versions

- Linux: \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 0d15e853aa88da5375edd32b39d08a048b64a1c5; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 8c77774535c3d6162929521a6fa11e3db086fa32; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 8973f70cb068012d83cff1cfa3f45ef94ab02267; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< a2fde862b98db8908e2ebaffbb35a75a0e9d5b33; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 074bb7cdc3e26afa698888ba56fc1df0e3f24650; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 5f23e4e3a31dacfd82a8f56be253adc0910ee84f; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< ca14c289ed9ffed6cc64290d039e923e5720a8bf; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8 (cvelist)
- Linux: 4.6 (cvelist)

## Mitigation

- Upgrade Linux to 492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99166.md
Affected: Linux >= dcdede0406d30e14a6ed727dce69dfac0518371d, < 0d15e853aa88da5375edd32b39d08a048b64a1c5; >= dcdede0406d30e14a6ed727dce69dfac0518371d, < 8c77774535c3d6162929521a6fa11e3db086fa32; >= dcdede0406d30e14a6ed727dce69dfac0518371d, < 8973f70cb068012d83cff1cfa3f45ef94ab02267; >= dcdede0406d30e14a6ed727…
Fixed in: Linux 0d15e853aa88da5375edd32b39d08a048b64a1c5, Linux 8c77774535c3d6162929521a6fa11e3db086fa32, Linux 8973f70cb068012d83cff1cfa3f45ef94ab02267, Linux 074bb7cdc3e26afa698888ba56fc1df0e3f24650, Linux 5f23e4e3a31dacfd82a8f56be253adc0910ee84f, Linux 492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8

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-99166 being exploited?

There is no confirmed exploitation: CVE-2026-99166 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

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

It has no CVSS score yet. Unknown.

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

Linux \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 0d15e853aa88da5375edd32b39d08a048b64a1c5; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 8c77774535c3d6162929521a6fa11e3db086fa32; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 8973f70cb068012d83cff1cfa3f45ef94ab02267; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< a2fde862b98db8908e2ebaffbb35a75a0e9d5b33; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 074bb7cdc3e26afa698888ba56fc1df0e3f24650; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 5f23e4e3a31dacfd82a8f56be253adc0910ee84f; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< ca14c289ed9ffed6cc64290d039e923e5720a8bf; \>= dcdede0406d30e14a6ed727dce69dfac0518371d, \< 492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8; Linux 4.6.

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

Yes. Fixed in Linux 0d15e853aa88da5375edd32b39d08a048b64a1c5, Linux 8c77774535c3d6162929521a6fa11e3db086fa32, Linux 8973f70cb068012d83cff1cfa3f45ef94ab02267, Linux 074bb7cdc3e26afa698888ba56fc1df0e3f24650, Linux 5f23e4e3a31dacfd82a8f56be253adc0910ee84f, Linux 492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8. Upgrade Linux to 492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8 or later.

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

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/0d15e853aa88da5375edd32b39d08a048b64a1c5>
- other: <https://git.kernel.org/stable/c/8c77774535c3d6162929521a6fa11e3db086fa32>
- other: <https://git.kernel.org/stable/c/8973f70cb068012d83cff1cfa3f45ef94ab02267>
- other: <https://git.kernel.org/stable/c/a2fde862b98db8908e2ebaffbb35a75a0e9d5b33>
- other: <https://git.kernel.org/stable/c/074bb7cdc3e26afa698888ba56fc1df0e3f24650>
- other: <https://git.kernel.org/stable/c/5f23e4e3a31dacfd82a8f56be253adc0910ee84f>
- other: <https://git.kernel.org/stable/c/ca14c289ed9ffed6cc64290d039e923e5720a8bf>
- other: <https://git.kernel.org/stable/c/492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8>

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

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