Linux kernel calipso: do not charge request socket options to the listener
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, calipso_req_setattr() and calipso_req_delattr() allocate ireq->ipv6_opt with ipv6_renew_options(), which charges the listener's sk_omem_alloc through sock_kmalloc(). tcp_v6_reqsk_destructor() frees that memory without uncharging it, so each request socket leaks its options size from the listener's budget. After sysctl_optmem_max is reached, sock_kmalloc() fails, calipso_req_setattr() returns -ENOBUFS, and tcp_v6_route_req() drops all subsequent SYN packets. __sk_destruct() also reports an optmem leakage when the listener is destroyed.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: calipso: do not charge request socket options to the listener calipso_req_setattr() and calipso_req_delattr() allocate ireq->ipv6_opt with ipv6_renew_options(), which charges the listener sk_omem_alloc through sock_kmalloc(). tcp_v6_reqsk_destructor() frees ireq->ipv6_opt without uncharging it, so each request socket leaks its options size from the listener budget. Once sysctl_optmem_max is reached, sock_kmalloc() fails, calipso_req_setattr() returns -ENOBUFS, and tcp_v6_route_req() drops all subsequent SYN packets. __sk_destruct() also reports an optmem leakage when the listener is destroyed. Uncharging in tcp_v6_reqsk_destructor() would not be correct: after a migration, req->rsk_listener is no longer the socket that was charged. These options belong to the request socket, there is no reason to charge them to the listener. Change ipv6_renew_options() to use kmalloc() when its sk argument is NULL, and use this from calipso_req_setattr() and calipso_req_delattr(), like cipso_v4_req_setattr() which uses kzalloc(). Note: After this patch, calipso_req_setattr() and calipso_req_delattr() no longer need the listener. Commit 10876da918fa ("calipso: Fix null-ptr-deref in calipso_req_{set,del}attr().") could be reverted in net-next (also removing the then unused sk variables), so that CALIPSO works with SYN cookies.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update to a fixed Linux kernel: 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7 or 7.4-rc3. Red Hat lists no fix plan yet for Red Hat Enterprise Linux 6, 8, 9 and 10 or for OpenShift Container Platform 4 and 5.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA Linux (Linux) Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc3
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-12-03 Threatist record created from CVE-2026-143254
- 2026-12-03 Alias added: GHSA-f879-2m82-29g8
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
- 2026-12-04 CVSS score added · CNA
References
Other 6
- https://git.kernel.org/stable/c/0007514639551da53bb11f9275a9c61d9b251ca2
- https://git.kernel.org/stable/c/36673c6b55a5d5d7496d6ac23daa442e05735373
- https://git.kernel.org/stable/c/2c1dce211361249e311eaf8ed703e680fed3b7ba
- https://git.kernel.org/stable/c/cd155dea914ce071014c5e84c216f2e971cf692f
- https://git.kernel.org/stable/c/36d5a01be1059c6038c8e0e177d94028ada9ae6a
- https://git.kernel.org/stable/c/b4a2cc6d748d3056a25812dcf5f5377a59afd02f
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-143254 · CVE Program
- CVE-2026-143254 · NVD
- FIRST EPSS
- GHSA-f879-2m82-29g8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-143254 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences