{"id":"CVE-2026-143254","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:18:05.310","lastModified":"2026-12-04T04:17:45.757","vulnStatus":"Received","cveTags":[],"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv6/calipso.c","net/ipv6/exthdrs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"e1adea927080821ebfa7505bff752a4015955660","lessThan":"0007514639551da53bb11f9275a9c61d9b251ca2","versionType":"git","status":"affected"},{"version":"e1adea927080821ebfa7505bff752a4015955660","lessThan":"36673c6b55a5d5d7496d6ac23daa442e05735373","versionType":"git","status":"affected"},{"version":"e1adea927080821ebfa7505bff752a4015955660","lessThan":"2c1dce211361249e311eaf8ed703e680fed3b7ba","versionType":"git","status":"affected"},{"version":"e1adea927080821ebfa7505bff752a4015955660","lessThan":"cd155dea914ce071014c5e84c216f2e971cf692f","versionType":"git","status":"affected"},{"version":"e1adea927080821ebfa7505bff752a4015955660","lessThan":"36d5a01be1059c6038c8e0e177d94028ada9ae6a","versionType":"git","status":"affected"},{"version":"e1adea927080821ebfa7505bff752a4015955660","lessThan":"b4a2cc6d748d3056a25812dcf5f5377a59afd02f","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv6/calipso.c","net/ipv6/exthdrs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.8","status":"affected"},{"version":"0","lessThan":"4.8","versionType":"semver","status":"unaffected"},{"version":"5.10.276","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"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}]},"references":[{"url":"https://git.kernel.org/stable/c/0007514639551da53bb11f9275a9c61d9b251ca2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2c1dce211361249e311eaf8ed703e680fed3b7ba","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/36673c6b55a5d5d7496d6ac23daa442e05735373","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/36d5a01be1059c6038c8e0e177d94028ada9ae6a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b4a2cc6d748d3056a25812dcf5f5377a59afd02f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cd155dea914ce071014c5e84c216f2e971cf692f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}