Linux
ipvs: use parsed transport offset in SCTP state lookup
In the Linux kernel, the following vulnerability has been resolved: ipvs: use parsed transport offset in SCTP state lookup set_sctp_state() reads the SCTP chunk header again in order to drive the IPVS SCTP state table. For IPv6 it computes the offset with sizeof(struct ipv6hdr), while the surrounding IPVS code uses iph.len from ip_vs_fill_iph_skb(), where ipv6_find_hdr() has already skipped extension headers and found the real transport header. This makes the state machine read from the wrong offset for IPv6 SCTP packets that carry extension headers. For example, an INIT packet with an 8-byte destination options header can be scheduled correctly by sctp_conn_schedule(), but set_sctp_state() reads the first byte of the SCTP verification tag as a DATA chunk type. The connection then moves from NONE to ESTABLISHED instead of INIT1, gets the longer established timeout, and updates the active/inactive destination counters incorrectly. This happens even though the SCTP handshake has not completed. Use the parsed transport offset passed down from ip_vs_set_state() for the SCTP chunk-header lookup. For IPv4 and IPv6 packets without extension headers this preserves the existing offset.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2906f66a5682e5670a5eefe991843689b8d8563f, < d2b8b1557ec07ea1bb5dddbceaf4dfe63d388e27
- >= 2906f66a5682e5670a5eefe991843689b8d8563f, < 9f94573ab962a9e81954b755da016fa3cd2f5039
- >= 2906f66a5682e5670a5eefe991843689b8d8563f, < 290e9e8389b556efc603522e28bd1543846aa336
- >= 2906f66a5682e5670a5eefe991843689b8d8563f, < 9cb5ac594ca76d3a71803b23b74c835b0721e628
- >= 2906f66a5682e5670a5eefe991843689b8d8563f, < a4a2d2e483d79cc2ad3a170674cf159644acf22b
- >= 2906f66a5682e5670a5eefe991843689b8d8563f, < 247d055504dcc852e539b9f7f30d19f9741474bf
- >= 2906f66a5682e5670a5eefe991843689b8d8563f, < e5d0bb8871668f20de8f3c94b5ae3f372346bc6e
- >= 2906f66a5682e5670a5eefe991843689b8d8563f, < 2f75c0faa3361b28e36cc0512b3299e163e25789
Fixed in d2b8b1557ec07ea1bb5dddbceaf4dfe63d388e27, 9f94573ab962a9e81954b755da016fa3cd2f5039, 290e9e8389b556efc603522e28bd1543846aa336, 9cb5ac594ca76d3a71803b23b74c835b0721e628, a4a2d2e483d79cc2ad3a170674cf159644acf22b, 247d055504dcc852e539b9f7f30d19f9741474bf, e5d0bb8871668f20de8f3c94b5ae3f372346bc6e, 2f75c0faa3361b28e36cc0512b3299e163e25789
- 2.6.34
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to d2b8b1557ec07ea1bb5dddbceaf4dfe63d388e27 or 9f94573ab962a9e81954b755da016fa3cd2f5039 or 290e9e8389b556efc603522e28bd1543846aa336 or 9cb5ac594ca76d3a71803b23b74c835b0721e628 or a4a2d2e483d79cc2ad3a170674cf159644acf22b or 247d055504dcc852e539b9f7f30d19f9741474bf or e5d0bb8871668f20de8f3c94b5ae3f372346bc6e or 2f75c0faa3361b28e36cc0512b3299e163e25789 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.