В ядре Linux устранена следующая уязвимость: netfilter: nf_conntrack: use get_unaligned_be32() in tcp_sack() The timestamp-only fast path dereferents the option stream as *(__be32 *)ptr, что предполагает 4-байтное выравнивание, которое не гарантирует поток опций TCP. Вместо этого используйте get_unaligned_be32(), который безопасно считывает значение и уже возвращает порядок байтов хоста, поэтому htonl() на константе сравнения может быть отброшен. Это соответствует существующему get_unaligned_be32 (), используемому позже в той же функции.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1