Linux
xsk: require at least 16 bytes of TX metadata
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 341ac980eab90ac1f6c22ee9f9da83ed9604d899, < 21b8536aee819792f1b4b38b9aacf2a073025d49
- >= 341ac980eab90ac1f6c22ee9f9da83ed9604d899, < 642c6e73fce17fdca93a5793c4d22359fda866d7
- >= 341ac980eab90ac1f6c22ee9f9da83ed9604d899, < cfb9d2976b277e554e28c165e3eff4b4a8ea10bd
- >= 341ac980eab90ac1f6c22ee9f9da83ed9604d899, < 1bb30b181d9f0484e141f8411e15ed906d5c6780
Fixed in 21b8536aee819792f1b4b38b9aacf2a073025d49, 642c6e73fce17fdca93a5793c4d22359fda866d7, cfb9d2976b277e554e28c165e3eff4b4a8ea10bd, 1bb30b181d9f0484e141f8411e15ed906d5c6780
- 6.8
Fixed in 0, 6.12.104, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to 21b8536aee819792f1b4b38b9aacf2a073025d49 or 642c6e73fce17fdca93a5793c4d22359fda866d7 or cfb9d2976b277e554e28c165e3eff4b4a8ea10bd or 1bb30b181d9f0484e141f8411e15ed906d5c6780 or later.
Upgrade Linux to 0 or 6.12.104 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.