Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9 before 740ad3d17a281f7764dda4dbeb37cea52e2e31ae; affected bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9 before a0523267de2523522b0f70972dd1ffa22ec6176c; affected bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9 before 55bcc3376cd7b18954cc9814da697504fdaf12bf; affected bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9 before 0d5ad732e4fdc569eb85861115e8f7b4c2c67852; affected bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9 before 7ecfa46a536578a7ed335ddf31a854127268c27c; affected bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9 before 4abc1af7ac209c066f4e5dd75cdd56876e5829a9; affected bb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9 before d3bf9eae486490832bd08fd62ab0ac601f346bd4 |
| Linux / Linux | affected 3.1; unaffected 0 before 3.1; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/740ad3d17a281f7764dda4dbeb37cea52e2e31ae
- https://git.kernel.org/stable/c/a0523267de2523522b0f70972dd1ffa22ec6176c
- https://git.kernel.org/stable/c/55bcc3376cd7b18954cc9814da697504fdaf12bf
- https://git.kernel.org/stable/c/0d5ad732e4fdc569eb85861115e8f7b4c2c67852
- https://git.kernel.org/stable/c/7ecfa46a536578a7ed335ddf31a854127268c27c
- https://git.kernel.org/stable/c/4abc1af7ac209c066f4e5dd75cdd56876e5829a9
- https://git.kernel.org/stable/c/d3bf9eae486490832bd08fd62ab0ac601f346bd4