mailbox: pcc: Free the channel before unmapping the shared memory
- CVE-2026-143438
- EUVD-2026-145067
Summary
In the Linux kernel's PCC mailbox driver, pcc_mbox_free_channel() unmaps the shared memory and clears the channel's shmem pointer before the interrupt is freed. If the interrupt is still live, its handler can run against the unmapped NULL address, producing a kernel NULL pointer dereference; the reporter observed this crash during SCMI protocol message handling. The fix frees the channel first, which shuts down and frees the platform interrupt through mbox_free_channel(), and only then unmaps the shared memory. The record does not list a CVSS score, and it is not in the CISA known exploited vulnerabilities list.
AI summary · verify against the vendor advisory
Description
In the Linux kernel, the following vulnerability has been resolved: mailbox: pcc: Free the channel before unmapping the shared memory I am seeing a crash on PCC that is related to a an shared memory being unmapped before the IRQ is disabled, and the IRQ kicks in and hits the unmapped (NULL) address. This is a summary of what I see on my box: scmi_protocol scmi_dev.1: Message for 1 type 0 is not expected! Unable to handle kernel NULL pointer dereference at virtual address 0000000000000004 __handle_irq_event_percpu+0x1c4/0x9e0 handle_irq_event+0x98/0x218 handle_fasteoi_irq+0x230/0x750 generic_handle_domain_irq+0xac/0x138 gic_handle_irq+0x344/0x740 call_on_irq_stack+0x30/0x48 The trapping store is iowrite32(SCMI_SHMEM_FLAG_INTR_ENABLED, &shmem->header.flags), a write of 1 at offset 4 of a NULL base. But, back to the problem, pcc_mbox_free_channel() unmaps the shared memory and clears pchan->chan.shmem *before* freeing the IRQ (aka calling mbox_free_channel()). The interrupt is still live when the mapping goes away. Free the channel first, before the memory unmap. mbox_free_channel() calls pcc_shutdown(), which frees the platform interrupt, and then unmap shared memory.
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.12.xupdate to 6.12.119 or laterPatch update: breaking changes are unlikely
- If you run 6.6.xupdate to 6.6.163 or laterPatch update: breaking changes are unlikely
- If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.12.5 to before 6.12.119 6.12.119 from 6.6.70 to before 6.6.163 6.6.163 from 6.1.159 to before 6.1.193 6.1.193 6.13 none stated before 6.13: not affected none stated from 6.1.193 up to 6.1.*: not affected none stated from 6.6.163 up to 6.6.*: not affected none stated from 6.12.119 up to 6.12.*: not affected none stated and 3 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.