# CVE-2026-90110: inetpeer: randomize RB-tree node comparison using SipHash

- Severity: Critical 9.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 45% of CVEs (2026-11-30)
- Published: 2026-09-17T16:06:18.113Z
- Modified: 2026-10-19T09:19:00.347Z
- Assigned by: Linux

## Description

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

inetpeer: randomize RB-tree node comparison using SipHash

The inetpeer rate limiting system stores peer entries in a Red-Black tree
keyed deterministically on the remote IP address. Because tree lookups walk
the RB-tree using standard lexicographical comparisons (inetpeer_addr_cmp),
an off-path adversary can predict the exact topology of the tree and the
sequence of nodes traversed during lookups (the gc_stack candidate list).

By combining deterministic tree traversal with aggressive garbage collection
(triggered when tree size exceeds inet_peer_threshold), an attacker can
selectively force the eviction of targeted inet_peer nodes. When an evicted
node is subsequently re-created upon receiving a new packet, its rate-limiting
token bucket (rate_tokens, rate_last) is reset to full capacity. This creates
a side-channel primitive allowing off-path attackers to bypass IP-keyed ICMP
rate limits and infer open UDP ports (similar to SAD DNS style attacks).

Mitigate this by randomizing the RB-tree node comparison logic using SipHash
with a secret key (inetpeer_hash_key) initialized via net_get_random_once().
Nodes are ordered in the tree by SipHash(addr, key) rather than raw IP
addresses. Because the secret key is unknown to external entities, the tree
layout and lookup traversal paths are unpredictable to off-path adversaries,
breaking the deterministic eviction gadget.

Cache the computed 64-bit SipHash (hash) in struct inet_peer and compute the
target hash (dhash) once at the beginning of inet_getpeer() to avoid recomputing
SipHash at every step of the RB-tree walk.

(As written by CVE List.)

## Affected

- Linux Linux: from b145425f269a17ed344d737f746b844dfac60c82 before b20e98f0bb668a59abaf7bcf85d75c073e90d352; from b145425f269a17ed344d737f746b844dfac60c82 before 5f127e3cc9647a8a70db12c65dbd0de473545380; from b145425f269a17ed344d737f746b844dfac60c82 before 199fcf285e498111e029137d088949bc6c26d578; from b145425f269a17ed344d737f746b844dfac60c82 before 857681f6835d5b0a7bc4a34a026baeaaf5215623; from b145425f269a17ed344d737f746b844dfac60c82 before 7109bb63667a53e4542ad845476f97d0c8b28a61; from b145425f269a17ed344d737f746b844dfac60c82 before 2ee66e9487172fcd189bc52a767c30dad7141c09; 4.14 (not affected: before 4.14; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b20e98f0bb668a59abaf7bcf85d75c073e90d352>
- <https://git.kernel.org/stable/c/5f127e3cc9647a8a70db12c65dbd0de473545380>
- <https://git.kernel.org/stable/c/199fcf285e498111e029137d088949bc6c26d578>
- <https://git.kernel.org/stable/c/857681f6835d5b0a7bc4a34a026baeaaf5215623>
- <https://git.kernel.org/stable/c/7109bb63667a53e4542ad845476f97d0c8b28a61>
- <https://git.kernel.org/stable/c/2ee66e9487172fcd189bc52a767c30dad7141c09>

## Sources

- CVE List: [CVE-2026-90110](https://www.cve.org/CVERecord?id=CVE-2026-90110), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90110](https://nvd.nist.gov/vuln/detail/CVE-2026-90110), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90110 · Whole record: https://cve.day/CVE-2026-90110.json · Rebuilt by cve.day 2026-11-25T22:59:39.306Z
