LoongArch: csum: Fix OoB access in IP checksum code for negative lengths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: csum: Fix OoB access in IP checksum code for negative lengths
Commit 69e3a6aa6be2 ("LoongArch: Add checksum optimization for 64-bit system") would cause an undefined shift and an out-of-bounds read.
Commit 8bd795fedb84 ("arm64: csum: Fix OoB access in IP checksum code for negative lengths") fixes the same issue on ARM64.
From the CVE record · Linux
The LoongArch IP checksum code in the Linux kernel can perform an undefined shift and an out-of-bounds read when given a negative length. The input does not establish how an attacker could trigger this condition or whether authentication or user interaction is required.
Teams running the Linux kernel on LoongArch should check their versions; affected versions are not specified.