Security mailing lists by PureSourceCode

CVE-2026-143254

HIGH 7.5CVSS 3.1

calipso: do not charge request socket options to the listener

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.

Published
3 Dec 2026
Last modified
4 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List Linux CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= e1adea927080821ebfa7505bff752a4015955660, < 0007514639551da53bb11f9275a9c61d9b251ca2; >= e1adea927080821ebfa7505bff752a4015955660, < 36673c6b55a5d5d7496d6ac23daa442e05735373; >= e1adea927080821ebfa7505bff752a4015955660, < 2c1dce211361249e311eaf8ed703e680fed3b7ba; >= e1adea927080821ebfa7505bff752a4015955660, < cd155dea914ce071014c5e84c216f2e971cf692f; >= e1adea927080821ebfa7505bff752a4015955660, < 36d5a01be1059c6038c8e0e177d94028ada9ae6a; >= e1adea927080821ebfa7505bff752a4015955660, < b4a2cc6d748d3056a25812dcf5f5377a59afd02f 0007514639551da53bb11f9275a9c61d9b251ca2, 36673c6b55a5d5d7496d6ac23daa442e05735373, 2c1dce211361249e311eaf8ed703e680fed3b7ba, cd155dea914ce071014c5e84c216f2e971cf692f, 36d5a01be1059c6038c8e0e177d94028ada9ae6a, b4a2cc6d748d3056a25812dcf5f5377a59afd02f
CVE List Linux Linux = 4.8

References

History

  • 4 Dec 2026 05:56 UTC · NVD: scored 7.5
  • 4 Dec 2026 03:56 UTC · CVE List: scored 7.5
  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.