drm/amdkfd: Check bounds in allocate_event_notification_slot
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bb52249fbbe948875155ccd45cd8d74bf4ae747b, Kernel 4622214f0542f64b02c250db0f9c677eeb032d9b, Kernel 50319efb865f72db45f191c8709511746d58ee0a and 8 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Check bounds in allocate_event_notification_slot The valid event ids go from 0 to KFD_SIGNAL_EVENT_LIMIT allocate_event_notification_slot has an option to specify an event id to allocate at, used by CRIU. We weren't checking the bounds on that value. Check them. v2: Lower bounds check is unecessary because of idr_alloc already rejecting negative numbers. Upper bounds check should be KFD_SIGNAL_EVENT_LIMIT since the signal mode mappings might not yet exist (cherry picked from commit 6853f1f6cbbeb3f53ebbbd7286536aeb2c5d5f50)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=40e8a766a761f7fdc8530347527b344fddf6f1a8 <bb52249fbbe948875155ccd45cd8d74bf4ae747b, >=40e8a766a761f7fdc8530347527b344fddf6f1a8 <4622214f0542f64b02c250db0f9c677eeb032d9b, >=40e8a766a761f7fdc8530347527b344fddf6f1a8 <50319efb865f72db45f191c8709511746d58ee0a, >=40e8a766a761f7fdc8530347527b344fddf6f1a8 <6884fc142b17f456caac50c14505f509bfbcd012, >=40e8a766a761f7fdc8530347527b344fddf6f1a8 <85eedff5f0c4aba5a66bc37a1bd6bcecd0d77b53, >=40e8a766a761f7fdc8530347527b344fddf6f1a8 <abeeb1947d81610c65349db4d89c6151f270e136, =5.18 | bb52249fbbe948875155ccd45cd8d74bf4ae747b, 4622214f0542f64b02c250db0f9c677eeb032d9b, 50319efb865f72db45f191c8709511746d58ee0a, 6884fc142b17f456caac50c14505f509bfbcd012, 85eedff5f0c4aba5a66bc37a1bd6bcecd0d77b53, abeeb1947d81610c65349db4d89c6151f270e136 |
| linux-kernel: Kernel | >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=5.18.0 <6.1.183 | 6.18.42, 7.1.6, 6.6.148, 6.12.101, 6.1.183 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket