drm/amdkfd: Add bounds check for CRAT subtype length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fef8c8afcb85dce5ff115f82a148cdf87a9617b9, Kernel 1f9cc5375916b57acb1ad4443af7b4dbf347638a, Kernel 69164d6bdad5d6657e51436a3f602822f620a46a and 8 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Add bounds check for CRAT subtype length The CRAT parser validates that the subtype header fits within the image, but does not verify that the advertised subtype length fits. A malformed CRAT table with an oversized length field causes out-of-bounds reads when kfd_parse_subtype() casts the header to specific subtype structures. Add validation that sub_type_hdr + length does not exceed the image boundary before parsing the subtype contents. (cherry picked from commit 48e1d1e6e8798aef0312e68d8e586021b5b3cf4d)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5b5c4e40a37e858e2bff8cd91be8e972256392c4 <fef8c8afcb85dce5ff115f82a148cdf87a9617b9, >=5b5c4e40a37e858e2bff8cd91be8e972256392c4 <1f9cc5375916b57acb1ad4443af7b4dbf347638a, >=5b5c4e40a37e858e2bff8cd91be8e972256392c4 <69164d6bdad5d6657e51436a3f602822f620a46a, >=5b5c4e40a37e858e2bff8cd91be8e972256392c4 <6e7566ba4739dd573c331adde1c96690f7a567bd, >=5b5c4e40a37e858e2bff8cd91be8e972256392c4 <77b659fb104eb069ea7a61960699e4d1eea6567a, >=5b5c4e40a37e858e2bff8cd91be8e972256392c4 <ca91e0cc8087568e4b791648a7c01e804f48cb73, =3.19 | fef8c8afcb85dce5ff115f82a148cdf87a9617b9, 1f9cc5375916b57acb1ad4443af7b4dbf347638a, 69164d6bdad5d6657e51436a3f602822f620a46a, 6e7566ba4739dd573c331adde1c96690f7a567bd, 77b659fb104eb069ea7a61960699e4d1eea6567a, ca91e0cc8087568e4b791648a7c01e804f48cb73 |
| linux-kernel: Kernel | >=6.13.0 <6.18.57, >=6.19.0 <7.1.10, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=3.19.0 <6.1.191 | 6.18.57, 7.1.10, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket