Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: xsk: validate metadata when processing requests The zero-copy path validates TX metadata while obtaining the descriptor context, then reads it again later when preparing the hardware request. User space can change the metadata between those operations and bypass the original validation. Validate the metadata in xsk_tx_metadata_request() and use the resulting flags snapshot for every feature check. Read request fields once so all zero-copy drivers process only values observed after successful validation.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 before 5fd121971912dee2f5af1efec64462ac722deb17; affected ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 before 0cc7aa6e0d19027fdd42e6fbd156267ac1e3bbba; affected ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 before 849b1664dbda1cf6c63e0fd4f9dec23782b8c851; affected d9d736c416c9a85f84e15435ba82a177262e745b; affected 6.14.2 before 6.15 |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.18.45 through 6.18.*; unaffected 7.1.9 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/5fd121971912dee2f5af1efec64462ac722deb17
- https://git.kernel.org/stable/c/0cc7aa6e0d19027fdd42e6fbd156267ac1e3bbba
- https://git.kernel.org/stable/c/849b1664dbda1cf6c63e0fd4f9dec23782b8c851
ADP enrichment
No English description supplied.
No references supplied.