SMM out-of-bounds write - code execution
Out-of-bounds write in System Management Mode enabling code execution at SMM (ring -2) by a local privileged attacker.
// CVE · Published · Linux kernel
A failed mailbox channel start in the AMD XDNA NPU kernel driver left a pointer to freed memory, leading to a use-after-free and a double free on the context restart path. Found and fixed upstream by XSource.
When starting a mailbox channel failed, aie2_create_context() in the AMD XDNA NPU driver freed the channel but left hwctx->priv->mbox_chann pointing at the freed memory. The driver uses that pointer as its test for a usable channel, so the stale value passed every NULL check.
On the context restart path (command timeout, resume) a live hardware context could keep the freed channel. The next job submission, a second timeout or closing the device then reached that channel: a use-after-free and a double free in the kernel.
Found, fixed and upstreamed by Eva Crystal (0xiviel), XSource Security. The fix commit is authored under her name; Linux kernel CVE records carry no separate credit field.
Out-of-bounds write in System Management Mode enabling code execution at SMM (ring -2) by a local privileged attacker.
Out-of-bounds write in System Management Mode lets a local privileged attacker modify power-management settings. Ring -2, below Secure Boot.
Discloses the address of protected SMM memory to a local privileged attacker, weakening SMRAM protections. Ring -2.
Missing authentication allows WMI commands to trigger SMI handlers arbitrarily, reaching SMM (ring -2) code paths.