Linux
xsk: validate launch-time metadata size
In the Linux kernel, the following vulnerability has been resolved: xsk: validate launch-time metadata size Launch-time metadata extends beyond the first 16 bytes of struct xsk_tx_metadata. Reject the request when the registered metadata area does not contain the complete field. Snapshot the validated flags for the generic transmit path and use that snapshot for request and completion processing, avoiding inconsistent decisions if user space changes the flags concurrently. Note that only xsk_skb_metadata is properly using the flags, __xsk_buff_get_metadata ignores them. Next commits address that.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ca4419f15abd19ba8be1e109661b60f9f5b6c9f0, < af511afa1d2977f384044df78d6fbf9fba653f7a
- >= ca4419f15abd19ba8be1e109661b60f9f5b6c9f0, < bc63d47611c07b0d5d655fe1a590861931527920
- >= ca4419f15abd19ba8be1e109661b60f9f5b6c9f0, < 439ce2dddf3d22129b9113a7881637256a35e936
- d9d736c416c9a85f84e15435ba82a177262e745b
- >= 6.14.2, < 6.15
Fixed in af511afa1d2977f384044df78d6fbf9fba653f7a, bc63d47611c07b0d5d655fe1a590861931527920, 439ce2dddf3d22129b9113a7881637256a35e936, 6.15
- 6.15
Fixed in 0, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to af511afa1d2977f384044df78d6fbf9fba653f7a or bc63d47611c07b0d5d655fe1a590861931527920 or 439ce2dddf3d22129b9113a7881637256a35e936 or 6.15 or later.
Upgrade Linux to 0 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.