Linux
netfilter: nf_conntrack: use get_unaligned_be32() in tcp_sack()
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: use get_unaligned_be32() in tcp_sack() The timestamp-only fast path dereferences the option stream as *(__be32 *)ptr, which assumes 4-byte alignment that the TCP option stream does not guarantee. Use get_unaligned_be32() instead, which reads the value safely and already returns host byte order, so the htonl() on the comparison constant can be dropped. This matches the existing get_unaligned_be32() use later in the same function.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9, < 740ad3d17a281f7764dda4dbeb37cea52e2e31ae
- >= bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9, < a0523267de2523522b0f70972dd1ffa22ec6176c
- >= bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9, < 55bcc3376cd7b18954cc9814da697504fdaf12bf
- >= bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9, < 0d5ad732e4fdc569eb85861115e8f7b4c2c67852
- >= bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9, < 7ecfa46a536578a7ed335ddf31a854127268c27c
- >= bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9, < 4abc1af7ac209c066f4e5dd75cdd56876e5829a9
- >= bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9, < d3bf9eae486490832bd08fd62ab0ac601f346bd4
Fixed in 740ad3d17a281f7764dda4dbeb37cea52e2e31ae, a0523267de2523522b0f70972dd1ffa22ec6176c, 55bcc3376cd7b18954cc9814da697504fdaf12bf, 0d5ad732e4fdc569eb85861115e8f7b4c2c67852, 7ecfa46a536578a7ed335ddf31a854127268c27c, 4abc1af7ac209c066f4e5dd75cdd56876e5829a9, d3bf9eae486490832bd08fd62ab0ac601f346bd4
- 3.1
Fixed in 0, 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2
Mitigation
Upgrade Linux to 740ad3d17a281f7764dda4dbeb37cea52e2e31ae or a0523267de2523522b0f70972dd1ffa22ec6176c or 55bcc3376cd7b18954cc9814da697504fdaf12bf or 0d5ad732e4fdc569eb85861115e8f7b4c2c67852 or 7ecfa46a536578a7ed335ddf31a854127268c27c or 4abc1af7ac209c066f4e5dd75cdd56876e5829a9 or d3bf9eae486490832bd08fd62ab0ac601f346bd4 or later.
Upgrade Linux to 0 or 5.10.271 or 5.15.222 or 6.1.189 or 6.6.158 or 6.12.111 or 6.18.53 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.