accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.57, 6.19.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From be462c97b7dfd24999babe39cce3de224ebe1f80 · fixed in b569ff8a1bc1bcd4fdc6fd334604a654f61237a1; From be462c97b7dfd24999babe39cce3de224ebe1f80 · fixed in 2611c9616cb52d3ed54a6095d72d18e645a6955a; From be462c97b7dfd24999babe39cce3de224ebe1f80 · fixed in 97f27573837ef96b4ba42af463cc800cab615c0e
- Linux Linux
6.14
- KernelLinux
From 6.14.0 · fixed in 6.18.57; From 6.19.0 · fixed in 6.19.4