{"id":"CVE-2026-143438","aliases":["EUVD-2026-145067","GHSA-9hqq-pjmm-3vg4"],"status":"published","title":"mailbox: pcc: Free the channel before unmapping the shared memory","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: pcc: Free the channel before unmapping the shared memory\n\nI am seeing a crash on PCC that is related to a an shared memory being\nunmapped before the IRQ is disabled, and the IRQ kicks in and hits the\nunmapped (NULL) address. This is a summary of what I see on my box:\n\n\tscmi_protocol scmi_dev.1: Message for 1 type 0 is not expected!\n\tUnable to handle kernel NULL pointer dereference at virtual address 0000000000000004\n\t __handle_irq_event_percpu+0x1c4/0x9e0\n\t handle_irq_event+0x98/0x218\n\t handle_fasteoi_irq+0x230/0x750\n\t generic_handle_domain_irq+0xac/0x138\n\t gic_handle_irq+0x344/0x740\n\t call_on_irq_stack+0x30/0x48\n\nThe trapping store is iowrite32(SCMI_SHMEM_FLAG_INTR_ENABLED,\n\u0026shmem-\u003eheader.flags), a write of 1 at offset 4 of a NULL base.\n\nBut, back to the problem, pcc_mbox_free_channel() unmaps the shared\nmemory and clears pchan-\u003echan.shmem *before* freeing the IRQ (aka\ncalling mbox_free_channel()).\n\nThe interrupt is still live when the mapping goes away.\n\nFree the channel first, before the memory unmap. mbox_free_channel()\ncalls pcc_shutdown(), which frees the platform interrupt, and then unmap\nshared memory.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2026-12-05T01:41:18Z","modified":"2026-12-05T03:30:37Z","fixes":[{"ecosystem":"Linux","package":"Kernel","fixed_in":["6.1.193","6.6.163","6.12.119","6.18.65","7.3.6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.159"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.70"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.12.5"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}]}],"products":[{"vendor":"linux","product":"linux"}],"references":[{"url":"https://git.kernel.org/stable/c/4c0413dedc2f3b625c1e38322652bbcc1e319232","tags":["web"]},{"url":"https://git.kernel.org/stable/c/15e85e98f4e8ecd179fb1d8281c13ee475dcb6d1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0a4bff7d04987cbe7e83f53a93581540ebab2624","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6e76b5ad75e38fdc6f4c7f0b7b50b19c18a1b827","tags":["web"]},{"url":"https://git.kernel.org/stable/c/8825d6836bfc56ef8651829cc2eb1255c7b33f1a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4ac21f3fac3e8584fd395c59044a8e99ac618572","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143438","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9hqq-pjmm-3vg4"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143438.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-143438","title":"mailbox: pcc: Free the channel before unmapping the shared memory","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: pcc: Free the channel before unmapping the shared memory\n\nI am seeing a crash on PCC that is related to a an shared memory being\nunmapped before the IRQ is disabled, and the IRQ kicks in and hits the\nunmapped (NULL) address. This is a summary of what I see on my box:\n\n\tscmi_protocol scmi_dev.1: Message for 1 type 0 is not expected!\n\tUnable to handle kernel NULL pointer dereference at virtual address 0000000000000004\n\t __handle_irq_event_percpu+0x1c4/0x9e0\n\t handle_irq_event+0x98/0x218\n\t handle_fasteoi_irq+0x230/0x750\n\t generic_handle_domain_irq+0xac/0x138\n\t gic_handle_irq+0x344/0x740\n\t call_on_irq_stack+0x30/0x48\n\nThe trapping store is iowrite32(SCMI_SHMEM_FLAG_INTR_ENABLED,\n\u0026shmem-\u003eheader.flags), a write of 1 at offset 4 of a NULL base.\n\nBut, back to the problem, pcc_mbox_free_channel() unmaps the shared\nmemory and clears pchan-\u003echan.shmem *before* freeing the IRQ (aka\ncalling mbox_free_channel()).\n\nThe interrupt is still live when the mapping goes away.\n\nFree the channel first, before the memory unmap. mbox_free_channel()\ncalls pcc_shutdown(), which frees the platform interrupt, and then unmap\nshared memory.","status":"published","published":"2026-12-05T01:41:18.128Z","modified":"2026-12-05T01:41:18.128Z","updated_at":"2026-12-05T01:48:47.517798Z"}],"euvd":[{"id":"EUVD-2026-145067","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: pcc: Free the channel before unmapping the shared memory\n\nI am seeing a crash on PCC that is related to a an shared memory being\nunmapped before the IRQ is disabled, and the IRQ kicks in and hits the\nunmapped (NULL) address. This is a summary of what I see on my box:\n\n\tscmi_protocol scmi_dev.1: Message for 1 type 0 is not expected!\n\tUnable to handle kernel NULL pointer dereference at virtual address 0000000000000004\n\t __handle_irq_event_percpu+0x1c4/0x9e0\n\t handle_irq_event+0x98/0x218\n\t handle_fasteoi_irq+0x230/0x750\n\t generic_handle_domain_irq+0xac/0x138\n\t gic_handle_irq+0x344/0x740\n\t call_on_irq_stack+0x30/0x48\n\nThe trapping store is iowrite32(SCMI_SHMEM_FLAG_INTR_ENABLED,\n\u0026shmem-\u003eheader.flags), a write of 1 at offset 4 of a NULL base.\n\nBut, back to the problem, pcc_mbox_free_channel() unmaps the shared\nmemory and clears pchan-\u003echan.shmem *before* freeing the IRQ (aka\ncalling mbox_free_channel()).\n\nThe interrupt is still live when the mapping goes away.\n\nFree the channel first, before the memory unmap. mbox_free_channel()\ncalls pcc_shutdown(), which frees the platform interrupt, and then unmap\nshared memory.","status":"published","published":"2026-12-05T01:41:18Z","modified":"2026-12-05T01:41:18Z","updated_at":"2026-12-05T03:44:21.912352Z"}],"ghsa":[{"id":"GHSA-9hqq-pjmm-3vg4","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: pcc: Free the...","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: pcc: Free the channel before unmapping the shared memory\n\nI am seeing a crash on PCC that is related to a an shared memory being\nunmapped before the IRQ is disabled, and the IRQ kicks in and hits the\nunmapped (NULL) address. This is a summary of what I see on my box:\n\n\tscmi_protocol scmi_dev.1: Message for 1 type 0 is not expected!\n\tUnable to handle kernel NULL pointer dereference at virtual address 0000000000000004\n\t __handle_irq_event_percpu+0x1c4/0x9e0\n\t handle_irq_event+0x98/0x218\n\t handle_fasteoi_irq+0x230/0x750\n\t generic_handle_domain_irq+0xac/0x138\n\t gic_handle_irq+0x344/0x740\n\t call_on_irq_stack+0x30/0x48\n\nThe trapping store is iowrite32(SCMI_SHMEM_FLAG_INTR_ENABLED,\n\u0026shmem-\u003eheader.flags), a write of 1 at offset 4 of a NULL base.\n\nBut, back to the problem, pcc_mbox_free_channel() unmaps the shared\nmemory and clears pchan-\u003echan.shmem *before* freeing the IRQ (aka\ncalling mbox_free_channel()).\n\nThe interrupt is still live when the mapping goes away.\n\nFree the channel first, before the memory unmap. mbox_free_channel()\ncalls pcc_shutdown(), which frees the platform interrupt, and then unmap\nshared memory.","status":"published","published":"2026-12-05T03:30:29Z","modified":"2026-12-05T03:30:37Z","updated_at":"2026-12-05T03:31:20.896926Z"}],"nvd":[{"id":"CVE-2026-143438","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: pcc: Free the channel before unmapping the shared memory\n\nI am seeing a crash on PCC that is related to a an shared memory being\nunmapped before the IRQ is disabled, and the IRQ kicks in and hits the\nunmapped (NULL) address. This is a summary of what I see on my box:\n\n\tscmi_protocol scmi_dev.1: Message for 1 type 0 is not expected!\n\tUnable to handle kernel NULL pointer dereference at virtual address 0000000000000004\n\t __handle_irq_event_percpu+0x1c4/0x9e0\n\t handle_irq_event+0x98/0x218\n\t handle_fasteoi_irq+0x230/0x750\n\t generic_handle_domain_irq+0xac/0x138\n\t gic_handle_irq+0x344/0x740\n\t call_on_irq_stack+0x30/0x48\n\nThe trapping store is iowrite32(SCMI_SHMEM_FLAG_INTR_ENABLED,\n\u0026shmem-\u003eheader.flags), a write of 1 at offset 4 of a NULL base.\n\nBut, back to the problem, pcc_mbox_free_channel() unmaps the shared\nmemory and clears pchan-\u003echan.shmem *before* freeing the IRQ (aka\ncalling mbox_free_channel()).\n\nThe interrupt is still live when the mapping goes away.\n\nFree the channel first, before the memory unmap. mbox_free_channel()\ncalls pcc_shutdown(), which frees the platform interrupt, and then unmap\nshared memory.","status":"published","published":"2026-12-05T03:19:55.69Z","modified":"2026-12-05T03:19:55.69Z","updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-143438","title":"mailbox: pcc: Free the channel before unmapping the shared memory","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: pcc: Free the channel before unmapping the shared memory\n\nI am seeing a crash on PCC that is related to a an shared memory being\nunmapped before the IRQ is disabled, and the IRQ kicks in and hits the\nunmapped (NULL) address. This is a summary of what I see on my box:\n\n\tscmi_protocol scmi_dev.1: Message for 1 type 0 is not expected!\n\tUnable to handle kernel NULL pointer dereference at virtual address 0000000000000004\n\t __handle_irq_event_percpu+0x1c4/0x9e0\n\t handle_irq_event+0x98/0x218\n\t handle_fasteoi_irq+0x230/0x750\n\t generic_handle_domain_irq+0xac/0x138\n\t gic_handle_irq+0x344/0x740\n\t call_on_irq_stack+0x30/0x48\n\nThe trapping store is iowrite32(SCMI_SHMEM_FLAG_INTR_ENABLED,\n\u0026shmem-\u003eheader.flags), a write of 1 at offset 4 of a NULL base.\n\nBut, back to the problem, pcc_mbox_free_channel() unmaps the shared\nmemory and clears pchan-\u003echan.shmem *before* freeing the IRQ (aka\ncalling mbox_free_channel()).\n\nThe interrupt is still live when the mapping goes away.\n\nFree the channel first, before the memory unmap. mbox_free_channel()\ncalls pcc_shutdown(), which frees the platform interrupt, and then unmap\nshared memory.","status":"published","published":"2026-12-05T01:41:18.128Z","modified":"2026-12-05T03:00:58.293986524Z","updated_at":"2026-12-05T03:12:35.063287Z"}]}}
