xsk: validate metadata when processing requests
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 849b1664dbda1cf6c63e0fd4f9dec23782b8c851, Kernel 6.15, Kernel 0cc7aa6e0d19027fdd42e6fbd156267ac1e3bbba and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 <849b1664dbda1cf6c63e0fd4f9dec23782b8c851, >=6.14.2 <6.15, >=ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 <0cc7aa6e0d19027fdd42e6fbd156267ac1e3bbba, >=ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 <5fd121971912dee2f5af1efec64462ac722deb17, =6.15, =d9d736c416c9a85f84e15435ba82a177262e745b | 849b1664dbda1cf6c63e0fd4f9dec23782b8c851, 6.15, 0cc7aa6e0d19027fdd42e6fbd156267ac1e3bbba, 5fd121971912dee2f5af1efec64462ac722deb17 |
| linux-kernel: Kernel | >=6.15.0 <6.18.45, >=6.19.0 <7.1.9, >=6.14.2 <6.15 | 6.18.45, 7.1.9, 6.15 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket