netfilter: synproxy: fix unaligned memory access in timestamp adjustment
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad · < 992c20bc8a4aba220c8b95b467d049289778dad6| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: synproxy: fix unaligned memory access in timestamp adjustment
Use get_unaligned_be32() and put_unaligned_be32() to safely read and write the timestamp fields. This prevents performance degradation due to unaligned memory access or even a crash on strict alignment architectures.
This follows the implementation of timestamp parsing in the networking stack at tcp_parse_options() and synproxy_parse_options().
From the CVE record · Linux
Netfilter synproxy in the Linux kernel can access timestamp fields at unaligned memory addresses. This can degrade performance or crash the kernel on strict-alignment architectures. The input does not specify attacker access requirements, authentication requirements, or user interaction.
Engineers running Linux kernels with netfilter synproxy should check their versions; affected versions are not specified.