xsk: require at least 16 bytes of TX metadata
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:
xsk: require at least 16 bytes of TX metadata
AF_XDP accepts a TX metadata length as small as eight bytes, but every supported request needs the flags plus at least one eight-byte request field. Such short metadata also lets the kernel read beyond the registered area.
Require 16 bytes rather than sizeof(struct xsk_tx_metadata) to preserve compatibility with applications that do not use launch-time metadata.
From the CVE record · Linux
AF_XDP accepts TX metadata as short as eight bytes, although supported requests need at least 16 bytes. When such short metadata is used, the kernel can read beyond the registered area. The input does not specify access requirements or user interaction.
Engineers running the Linux kernel should check whether their version is affected; affected versions are not specified.