thunderbolt: Clamp XDomain response data copy to allocation size
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.259, Kernel 5.15.210, Kernel 6.1.176 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Clamp XDomain response data copy to allocation size tb_xdp_properties_request() derives the per-packet copy length from the response header without checking that it fits in the previously allocated data buffer. A malicious peer can set its length field larger than the declared data_length, causing memcpy to write past the kcalloc allocation. Clamp the per-packet copy length so that the cumulative offset never exceeds data_len.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.15 <5.10.259, >=5.11 <5.15.210, >=5.16 <6.1.176, >=6.13 <6.18.36, >=6.19 <7.0.13, >=6.2 <6.6.143, >=6.7 <6.12.94, =7.1, >=cdae7c07e3e3509eaabc18c1640a55dc5b99c179 <0b334279a82d79fb4723bd4f614305de1ab69caa, >=cdae7c07e3e3509eaabc18c1640a55dc5b99c179 <322e93448d908434ae5545660fcbe8f5a7a8e141, >=cdae7c07e3e3509eaabc18c1640a55dc5b99c179 <5db10c8ad8c09f72c847dfeef3d876098257f505, >=cdae7c07e3e3509eaabc18c1640a55dc5b99c179 <6021d39ccd979713b39b980286020d8f9a45efd1, >=cdae7c07e3e3509eaabc18c1640a55dc5b99c179 <89ae04365e01d5ae4aae83044a8bbd2a9aaf8d0d, >=cdae7c07e3e3509eaabc18c1640a55dc5b99c179 <906035d5c3784570191d259cbf9a0ac1617852b5, >=cdae7c07e3e3509eaabc18c1640a55dc5b99c179 <fcbd0cdab92838854a5818be7ed8a097164ef6d5, =4.15, >=cdae7c07e3e3509eaabc18c1640a55dc5b99c179 <05a43157676c243c248d1c6d9dcecbe6eba2f35d | 5.10.259, 5.15.210, 6.1.176, 6.18.36, 7.0.13, 6.6.143, 6.12.94, 0b334279a82d79fb4723bd4f614305de1ab69caa, 322e93448d908434ae5545660fcbe8f5a7a8e141, 5db10c8ad8c09f72c847dfeef3d876098257f505, 6021d39ccd979713b39b980286020d8f9a45efd1, 89ae04365e01d5ae4aae83044a8bbd2a9aaf8d0d, 906035d5c3784570191d259cbf9a0ac1617852b5, fcbd0cdab92838854a5818be7ed8a097164ef6d5, 05a43157676c243c248d1c6d9dcecbe6eba2f35d |
| linux-kernel: Kernel | >=4.15.0 <5.10.259, >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=6.13.0 <6.18.36, >=6.19.0 <7.0.13, >=6.2.0 <6.6.143, >=6.7.0 <6.12.94 | 5.10.259, 5.15.210, 6.1.176, 6.18.36, 7.0.13, 6.6.143, 6.12.94 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket