Home / Linux / Linux / CVE-2026-98595
CVE-2026-98595: is it exploited, and which versions of Linux are affected and fixed?
CVE-2026-98595 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: Linux from 6.13 until the fixed versions (CVE record by Linux). Fixed in 6.18.55, 7.2.9 and 7.3 (CVE record by Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 28, 2026, 16:22 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-98595?
In the Linux kernel, the following vulnerability has been resolved: udp: remove a disconnected socket from the 4-tuple hash table A UDP socket bound to a specific address and port keeps its entry in the 4-tuple hash table after it is disconnected: sk binds to 127.0.0.1:21001 sk connects to 127.0.0.2:20001 // filed in the 4-tuple table sk disconnects, connect(AF_UNSPEC) // still filed, peer now 0.0.0.0:0 __udp_disconnect() takes a socket out of that table only as a side effect of ->rehash() or ->unhash(), and it skips ->rehash() when SOCK_BINDADDR_LOCK is set and ->unhash() when SOCK_BINDPORT_LOCK is set. commit 6996a2d2d0a6 ("udp: Unhash auto-bound connected sk from 4-tuple hash table when disconnected.") fixed the same end state for a wildcard-bound socket, by a path this one does not take. The entry is counted whether or not anything hits it. hash4_cnt on the hash2 slot stays raised for as long as the socket lives, so udp_has_hash4() keeps sending every packet for that address and port through the 4-tuple lookup first. On IPv6 it can also be hit. __udp_disconnect() does not clear sk_v6_daddr, so udp_v6_rehash() files the entry under the peer the socket was connected to with a zero dport, and inet6_match() compares that same field: a datagram from the former peer with a zero source port matches, and source port zero is accepted on receive. On IPv4 the peer is cleared, so a match would need a zero source address as well, which the routing layer rejects as martian. The stale sk_v6_daddr is a separate defect, not addressed here; removing the entry closes this path either way. The entry can also be relocated. __udp_disconnect() clears sk_bound_dev_if, so a subsequent SO_BINDTODEVICE calls ->rehash(), and because the receive address is still specific udp_lib_rehash() moves the entry instead of removing it, into the bucket that (rcv_saddr, num, 0, 0) hashes to -- a pure function of the address and port, so every socket reaching this state on one address and port collects in one bucket. The bucket cannot be chosen from outside, as udp_ehashfn() is seeded with a per-boot secret. This last one became reachable only with commit 644f9108f3a5 ("udp: Make rehash4 independent in udp_lib_rehash()"), which moved the hash4 handling out of a branch a disconnected socket does not take; the stale entry itself dates from the commit in Fixes. Take the socket out of the table before __udp_disconnect() runs, while it still matches how it was filed. This also reaches the wildcard case ahead of udp_lib_rehash()'s udp_unhash4() branch, leaving that branch unreachable from udp_disconnect(); removing it belongs in net-next. udp_disconnect() and udp_abort() are the only UDP entries into __udp_disconnect(), which is shared with raw, ping and l2tp sockets that are not struct udp_sock: ping_prot.obj_size is sizeof(struct inet_sock), so udp_hashed4() on one would read past the allocation.
From the CVE record by Linux, last updated October 19, 2026, 09:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | not stated | |
| Linux | Linux | from 6.13 until the fixed versions | 6.18.55, 7.2.9, 7.3 |
As the CVE record by Linux states it, last updated October 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Is CVE-2026-98595 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.20% probability of exploitation activity in the next 30 days, percentile 10.0 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/c21daf37d5ce9a4e234b7c42238ac1e6041e28e4
- https://git.kernel.org/stable/c/d1b5fd969cc53f29d02b82b05a45135de4a6087a
- https://git.kernel.org/stable/c/9e95b1a94c9c49b4ba722251bbca2759b9c51737
When was it published, and where is the official record?
- Reserved
- September 25, 2026
- Published
- October 18, 2026, 15:19 UTC
- CVE record updated
- October 19, 2026, 09:22 UTC by Linux
- NVD
- Received, last modified October 19, 2026, 10:19 UTC
- Last checked
- CVE list November 28, 2026, 16:22 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2026-98595
Is CVE-2026-98595 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux are affected by CVE-2026-98595?
Linux from 6.13 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2026-98595?
6.18.55, 7.2.9 and 7.3, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
Where is the official record of CVE-2026-98595?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.