accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2611c9616cb52d3ed54a6095d72d18e645a6955a, Kernel 97f27573837ef96b4ba42af463cc800cab615c0e and Kernel b569ff8a1bc1bcd4fdc6fd334604a654f61237a1.
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix potential NULL pointer dereference in context cleanup aie_destroy_context() is invoked during error handling in aie2_create_context(). However, aie_destroy_context() assumes that the context's mailbox channel pointer is non-NULL. If mailbox channel creation fails, the pointer remains NULL and calling aie_destroy_context() can lead to a NULL pointer dereference. In aie2_create_context(), replace aie_destroy_context() with a function which request firmware to remove the context created previously.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=be462c97b7dfd24999babe39cce3de224ebe1f80 <2611c9616cb52d3ed54a6095d72d18e645a6955a, >=be462c97b7dfd24999babe39cce3de224ebe1f80 <97f27573837ef96b4ba42af463cc800cab615c0e, >=be462c97b7dfd24999babe39cce3de224ebe1f80 <b569ff8a1bc1bcd4fdc6fd334604a654f61237a1 | 2611c9616cb52d3ed54a6095d72d18e645a6955a, 97f27573837ef96b4ba42af463cc800cab615c0e, b569ff8a1bc1bcd4fdc6fd334604a654f61237a1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket