In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Validate XDomain request packet size before type cast tb_xdp_handle_request() casts the received packet buffer to protocol-specific structs without verifying that the allocation is large enough for the target type. A peer can send a minimal XDomain packet that passes the generic header length check but is shorter than the struct accessed after the cast, causing out-of- bounds reads from the kmemdup allocation. Plumb the packet length through xdomain_request_work and validate it against the expected struct size before each cast.
| Version | Score | Severity | Vector String |
|---|---|---|---|
| 3.1 | 8.1 | High | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | < publication |
| Linux | Linux | < publication |
| Linux | Linux | ASM) 14.1.0-14.1.0.5 |
| Linux | Linux | 14.0.0-14.0.0.4 |