net: netpoll: Initialize UDP checksum field before checksumming
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:
net: netpoll: Initialize UDP checksum field before checksumming
commit f1fce08e63fe ("netpoll: Eliminate redundant assignment") removed the initialization of the UDP checksum, which was wrong and broke netpoll IPv6 transmission due to bad checksumming.
udph->check needs to be set before calling csum_ipv6_magic().
From the CVE record · Linux
The Linux kernel’s netpoll code does not initialize the UDP checksum field before calculating the checksum. This can break netpoll IPv6 transmission because the checksum is incorrect. The input does not specify an attacker action, authentication requirement, or user interaction.
Engineers running Linux kernels with the affected netpoll change should check their versions; the input does not identify affected versions.