CVE-2026-99191: calipso: keep BIG TCP payload_len in calipso_skbuff_setattr()

Published Oct 28, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

calipso: keep BIG TCP payloadlen in calipsoskbuffsetattr()

calipsoskbuffsetattr() adjusts payloadlen by the length of the option it inserts or resizes:

payload = ntohs(ip6hdr->payloadlen); ip6hdr->payloadlen = htons(payload + lendelta);

GRO can build BIG TCP packets larger than IPV6MAXPLEN, and stores payloadlen == 0 for them; ipv6payloadlen() then falls back to skb->len. For such a packet forwarded to a destination mapped to CALIPSO, the code above writes lendelta (or 65536 + lendelta when shrinking) into payloadlen, and ipv6payloadlen() no longer falls back to skb->len. nftables, conntrack and schcake rely on it.

The same arithmetic also wraps when a packet grows past IPV6MAXPLEN, and a BIG TCP packet that shrinks below IPV6MAXPLEN should get its real length back.

Set payloadlen from the skb length with ipv6setpayloadlen(), which stores 0 above IPV6MAXPLEN and the real length otherwise, as ipv6grocomplete() does. The network header was just reset to skb->data, so skb->len - sizeof(ip6hdr) is the payload length.

Tested on one kernel (arm64, QEMU) with SELinux permissive, a minimal mdp-generated policy (networkpeercontrols=1), "netlabelctl calipso add pass doi:16" and a NetLabel mapping of fd00:2::/64 to CALIPSO DOI 16. calipsoskbuffsetattr() was called through netlblskbuffsetattr() from a test-only debugfs hook (not part of this patch) adding a level-only label; payloadlen after the call:

case before fix after fix real length 1000, unlabeled 1016 1016 1016 70000 GSO, payloadlen 0 16 0 70016 65530 GSO, grows past MAXPLEN 10 0 65546 65540 GSO with a 24 byte hop header, shrinks below MAXPLEN 65528 65532 65532 1000 with a 24 byte hop header 992 992 992

(0 means ipv6payloadlen() returns the real length.) On the forward path, with a client injecting unlabeled UDP through a router to a server, the router adds the CALIPSO option and the server delivers all datagrams (Udp6InDatagrams 5, Ip6InTruncatedPkts 0) with this patch.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 28, 2026
CVE Published
via MITRE·10:35 AM
Data Sourced
via MITRE·10:35 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203