{"api_version":"1","generated_at":"2026-12-04T05:37:30+00:00","cve":"CVE-2026-143254","urls":{"html":"https://cve.report/CVE-2026-143254","api":"https://cve.report/api/cve/CVE-2026-143254.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143254","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143254"},"summary":{"title":"calipso: do not charge request socket options to the listener","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncalipso: do not charge request socket options to the listener\n\ncalipso_req_setattr() and calipso_req_delattr() allocate ireq->ipv6_opt\nwith ipv6_renew_options(), which charges the listener sk_omem_alloc\nthrough sock_kmalloc().\n\ntcp_v6_reqsk_destructor() frees ireq->ipv6_opt without uncharging it,\nso each request socket leaks its options size from the listener\nbudget. Once sysctl_optmem_max is reached, sock_kmalloc() fails,\ncalipso_req_setattr() returns -ENOBUFS, and tcp_v6_route_req() drops\nall subsequent SYN packets. __sk_destruct() also reports an optmem\nleakage when the listener is destroyed.\n\nUncharging in tcp_v6_reqsk_destructor() would not be correct: after a\nmigration, req->rsk_listener is no longer the socket that was charged.\n\nThese options belong to the request socket, there is no reason to\ncharge them to the listener. Change ipv6_renew_options() to use\nkmalloc() when its sk argument is NULL, and use this from\ncalipso_req_setattr() and calipso_req_delattr(),\nlike cipso_v4_req_setattr() which uses kzalloc().\n\nNote:\n\nAfter this patch, calipso_req_setattr() and calipso_req_delattr()\nno longer need the listener. Commit 10876da918fa (\"calipso: Fix\nnull-ptr-deref in calipso_req_{set,del}attr().\") could be reverted\nin net-next (also removing the then unused sk variables), so that\nCALIPSO works with SYN cookies.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:05","updated_at":"2026-12-04 04:17:45"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/36d5a01be1059c6038c8e0e177d94028ada9ae6a","name":"https://git.kernel.org/stable/c/36d5a01be1059c6038c8e0e177d94028ada9ae6a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2c1dce211361249e311eaf8ed703e680fed3b7ba","name":"https://git.kernel.org/stable/c/2c1dce211361249e311eaf8ed703e680fed3b7ba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0007514639551da53bb11f9275a9c61d9b251ca2","name":"https://git.kernel.org/stable/c/0007514639551da53bb11f9275a9c61d9b251ca2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b4a2cc6d748d3056a25812dcf5f5377a59afd02f","name":"https://git.kernel.org/stable/c/b4a2cc6d748d3056a25812dcf5f5377a59afd02f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/36673c6b55a5d5d7496d6ac23daa442e05735373","name":"https://git.kernel.org/stable/c/36673c6b55a5d5d7496d6ac23daa442e05735373","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cd155dea914ce071014c5e84c216f2e971cf692f","name":"https://git.kernel.org/stable/c/cd155dea914ce071014c5e84c216f2e971cf692f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143254","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143254","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1adea927080821ebfa7505bff752a4015955660 0007514639551da53bb11f9275a9c61d9b251ca2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1adea927080821ebfa7505bff752a4015955660 36673c6b55a5d5d7496d6ac23daa442e05735373 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1adea927080821ebfa7505bff752a4015955660 2c1dce211361249e311eaf8ed703e680fed3b7ba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1adea927080821ebfa7505bff752a4015955660 cd155dea914ce071014c5e84c216f2e971cf692f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1adea927080821ebfa7505bff752a4015955660 36d5a01be1059c6038c8e0e177d94028ada9ae6a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1adea927080821ebfa7505bff752a4015955660 b4a2cc6d748d3056a25812dcf5f5377a59afd02f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143254","cve":"CVE-2026-143254","epss":"0.002150000","percentile":"0.126140000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv6/calipso.c","net/ipv6/exthdrs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0007514639551da53bb11f9275a9c61d9b251ca2","status":"affected","version":"e1adea927080821ebfa7505bff752a4015955660","versionType":"git"},{"lessThan":"36673c6b55a5d5d7496d6ac23daa442e05735373","status":"affected","version":"e1adea927080821ebfa7505bff752a4015955660","versionType":"git"},{"lessThan":"2c1dce211361249e311eaf8ed703e680fed3b7ba","status":"affected","version":"e1adea927080821ebfa7505bff752a4015955660","versionType":"git"},{"lessThan":"cd155dea914ce071014c5e84c216f2e971cf692f","status":"affected","version":"e1adea927080821ebfa7505bff752a4015955660","versionType":"git"},{"lessThan":"36d5a01be1059c6038c8e0e177d94028ada9ae6a","status":"affected","version":"e1adea927080821ebfa7505bff752a4015955660","versionType":"git"},{"lessThan":"b4a2cc6d748d3056a25812dcf5f5377a59afd02f","status":"affected","version":"e1adea927080821ebfa7505bff752a4015955660","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv6/calipso.c","net/ipv6/exthdrs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.8"},{"lessThan":"4.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"4.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncalipso: do not charge request socket options to the listener\n\ncalipso_req_setattr() and calipso_req_delattr() allocate ireq->ipv6_opt\nwith ipv6_renew_options(), which charges the listener sk_omem_alloc\nthrough sock_kmalloc().\n\ntcp_v6_reqsk_destructor() frees ireq->ipv6_opt without uncharging it,\nso each request socket leaks its options size from the listener\nbudget. Once sysctl_optmem_max is reached, sock_kmalloc() fails,\ncalipso_req_setattr() returns -ENOBUFS, and tcp_v6_route_req() drops\nall subsequent SYN packets. __sk_destruct() also reports an optmem\nleakage when the listener is destroyed.\n\nUncharging in tcp_v6_reqsk_destructor() would not be correct: after a\nmigration, req->rsk_listener is no longer the socket that was charged.\n\nThese options belong to the request socket, there is no reason to\ncharge them to the listener. Change ipv6_renew_options() to use\nkmalloc() when its sk argument is NULL, and use this from\ncalipso_req_setattr() and calipso_req_delattr(),\nlike cipso_v4_req_setattr() which uses kzalloc().\n\nNote:\n\nAfter this patch, calipso_req_setattr() and calipso_req_delattr()\nno longer need the listener. Commit 10876da918fa (\"calipso: Fix\nnull-ptr-deref in calipso_req_{set,del}attr().\") could be reverted\nin net-next (also removing the then unused sk variables), so that\nCALIPSO works with SYN cookies."}],"metrics":[{"cvssV3_1":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:N - A remote IPv6 TCP SYN reaches calipso_req_setattr() through tcp_v6_rcv(), tcp_v6_do_rcv(), tcp_rcv_state_process(), tcp_v6_conn_request(), tcp_v6_route_req(), and selinux_netlbl_inet_conn_request() when netlbl_domhsh_getentry_af6() selects CALIPSO. The SYN is not malformed; once the listener sk_omem_alloc hits sysctl_optmem_max, tcp_v6_route_req() drops later SYNs, so the harm is remote.\nAC:L - With SELinux MLS (mls_export_netlbl_lvl sets NETLBL_SECATTR_MLS_LVL) and a CALIPSO NetLabel map, every SYN makes calipso_req_setattr() call ipv6_renew_options()/sock_kmalloc() on the listener, and tcp_v6_reqsk_destructor() kfree_rcu()s ireq->ipv6_opt with no atomic_sub. Repeating or RSTing SYNs grows the charge with no race.\nPR:N - security_inet_conn_request() runs from tcp_v6_route_req() on the inbound SYN, before the handshake finishes. calipso_req_setattr() only checks sk_to_full_sk() for a listener and that calipso_genopt() sees an MLS level; the sender presents no credential or capability.\nUI:N - The attacker transmits the IPv6 SYNs that tcp_v6_route_req() turns into request sockets, and calipso_req_setattr() applies the local MLS secattr during that SYN processing.\nS:U - The stuck charge is the listening socket's own sk_omem_alloc, and the dropped SYNs affect that same listener in its own network namespace and security authority.\nC:N - tcp_v6_reqsk_destructor() kfree_rcu()s the ipv6_txoptions block. The leftover is only an elevated sk_omem_alloc counter on the listener, and the CALIPSO bytes generated by calipso_genopt() are not returned to the sender.\nI:N - ipv6_renew_options() allocates exactly tot_len and sock_kmalloc() stops at sysctl_optmem_max (128KB). The destructor frees that buffer; the failure is a stuck quota, not an out-of-bounds write or use-after-free.\nA:H - Once the leaked charge reaches sysctl_optmem_max, sock_kmalloc() fails, calipso_req_setattr() returns -ENOBUFS, and tcp_v6_route_req() returns NULL so tcp_conn_request() drops every further SYN on that listener until the listening socket is destroyed."}]}],"providerMetadata":{"dateUpdated":"2026-12-04T03:31:51.550Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0007514639551da53bb11f9275a9c61d9b251ca2"},{"url":"https://git.kernel.org/stable/c/36673c6b55a5d5d7496d6ac23daa442e05735373"},{"url":"https://git.kernel.org/stable/c/2c1dce211361249e311eaf8ed703e680fed3b7ba"},{"url":"https://git.kernel.org/stable/c/cd155dea914ce071014c5e84c216f2e971cf692f"},{"url":"https://git.kernel.org/stable/c/36d5a01be1059c6038c8e0e177d94028ada9ae6a"},{"url":"https://git.kernel.org/stable/c/b4a2cc6d748d3056a25812dcf5f5377a59afd02f"}],"title":"calipso: do not charge request socket options to the listener","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143254","datePublished":"2026-12-03T09:21:02.101Z","dateReserved":"2026-12-03T03:10:28.362Z","dateUpdated":"2026-12-04T03:31:51.550Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:05","lastModifiedDate":"2026-12-04 04:17:45","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143254","Ordinal":"1","Title":"calipso: do not charge request socket options to the listener","CVE":"CVE-2026-143254","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143254","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncalipso: do not charge request socket options to the listener\n\ncalipso_req_setattr() and calipso_req_delattr() allocate ireq->ipv6_opt\nwith ipv6_renew_options(), which charges the listener sk_omem_alloc\nthrough sock_kmalloc().\n\ntcp_v6_reqsk_destructor() frees ireq->ipv6_opt without uncharging it,\nso each request socket leaks its options size from the listener\nbudget. Once sysctl_optmem_max is reached, sock_kmalloc() fails,\ncalipso_req_setattr() returns -ENOBUFS, and tcp_v6_route_req() drops\nall subsequent SYN packets. __sk_destruct() also reports an optmem\nleakage when the listener is destroyed.\n\nUncharging in tcp_v6_reqsk_destructor() would not be correct: after a\nmigration, req->rsk_listener is no longer the socket that was charged.\n\nThese options belong to the request socket, there is no reason to\ncharge them to the listener. Change ipv6_renew_options() to use\nkmalloc() when its sk argument is NULL, and use this from\ncalipso_req_setattr() and calipso_req_delattr(),\nlike cipso_v4_req_setattr() which uses kzalloc().\n\nNote:\n\nAfter this patch, calipso_req_setattr() and calipso_req_delattr()\nno longer need the listener. Commit 10876da918fa (\"calipso: Fix\nnull-ptr-deref in calipso_req_{set,del}attr().\") could be reverted\nin net-next (also removing the then unused sk variables), so that\nCALIPSO works with SYN cookies.","Type":"Description","Title":"calipso: do not charge request socket options to the listener"}]}}}