CVE-2026-143254

Not scored yetLast modified Dec 3, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143255In the Linux kernel, the following vulnerability has been resolved: netlink: Do not call the unbind callback with the table locked When neCVE-2026-143256In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: IPoIB, Fix QPN lookup race The parent RX completion path caCVE-2026-143257In the Linux kernel, the following vulnerability has been resolved: locking/osq: Fix unlink queue corruption Very similar to commit 50972fCVE-2026-143258In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: TC, Fix double free of branch in failure When allocating thCVE-2026-143259In the Linux kernel, the following vulnerability has been resolved: sched/deadline: Fix this_bw on class change of a dying task Moving a SCVE-2026-143263.8The Timetics WordPress plugin through 1.0.61 does not enforce per-object ownership when updating appointments through its REST API, allowingCVE-2026-143260In the Linux kernel, the following vulnerability has been resolved: perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR IBS CVE-2026-143261In the Linux kernel, the following vulnerability has been resolved: libfs: walk offset directories in offset order offset_iterate_dir() waCVE-2026-143262In the Linux kernel, the following vulnerability has been resolved: tcp: ipv6: free ireq->ipv6_opt after an RCU grace period ireq->ipv6_opCVE-2026-143263In the Linux kernel, the following vulnerability has been resolved: netfilter: nat: zero newrange before filling it in nf_nat_masquerade_iCVE-2026-143264In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix memleak when rule deletion fails with hardwarCVE-2026-143265In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport()
CVE-2026-143254: Unscored | Vulnix