CVE-2026-99166
net: rds: fix uninitialized trans dereference in CM event handler
Check your servers for CVE-2026-99166
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99166 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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]
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.22% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dcdede0406d30e14a6ed727dce69dfac0518371d, before 0d15e853aa88da5375edd32b39d08a048b64a1c5 affected from dcdede0406d30e14a6ed727dce69dfac0518371d, before 8c77774535c3d6162929521a6fa11e3db086fa32 affected from dcdede0406d30e14a6ed727dce69dfac0518371d, before 8973f70cb068012d83cff1cfa3f45ef94ab02267 affected from dcdede0406d30e14a6ed727dce69dfac0518371d, before a2fde862b98db8908e2ebaffbb35a75a0e9d5b33 affected from dcdede0406d30e14a6ed727dce69dfac0518371d, before 074bb7cdc3e26afa698888ba56fc1df0e3f24650 affected from dcdede0406d30e14a6ed727dce69dfac0518371d, before 5f23e4e3a31dacfd82a8f56be253adc0910ee84f affected from dcdede0406d30e14a6ed727dce69dfac0518371d, before ca14c289ed9ffed6cc64290d039e923e5720a8bf affected from dcdede0406d30e14a6ed727dce69dfac0518371d, before 492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8
Other versions: unaffected
|
| Linux |
affected 4.6 unaffected before 4.6 unaffected from 5.10.273 up to and including 5.10.* unaffected from 5.15.224 up to and including 5.15.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.161 up to and including 6.6.* unaffected from 6.12.115 up to and including 6.12.* unaffected from 6.18.59 up to and including 6.18.* unaffected from 7.2.13 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99166 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99166
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99166
trivy image --scanners vuln IMAGE | grep CVE-2026-99166
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0d15e853aa88da5375edd32b39d08a048b64a1c5 git.kernel.org
- https://git.kernel.org/stable/c/8c77774535c3d6162929521a6fa11e3db086fa32 git.kernel.org
- https://git.kernel.org/stable/c/8973f70cb068012d83cff1cfa3f45ef94ab02267 git.kernel.org
- https://git.kernel.org/stable/c/a2fde862b98db8908e2ebaffbb35a75a0e9d5b33 git.kernel.org
- https://git.kernel.org/stable/c/074bb7cdc3e26afa698888ba56fc1df0e3f24650 git.kernel.org
- https://git.kernel.org/stable/c/5f23e4e3a31dacfd82a8f56be253adc0910ee84f git.kernel.org
- https://git.kernel.org/stable/c/ca14c289ed9ffed6cc64290d039e923e5720a8bf git.kernel.org
- https://git.kernel.org/stable/c/492ba6ac1b1ffb8a06ff52db0825c1af2cdb28c8 git.kernel.org
Source: the record CVE-2026-99166 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse