firmware: qcom: scm: Fix NULL dereference in IRQ handler before __scm is published
CVE-2026-90397 is fixed in 37 products on 1 platform, first by DEBIAN-CVE-2026-90397, released September 23, 2026. It is not reported as exploited. Patch Radar priority: Routine.
In the Linux kernel, the following vulnerability has been resolved: firmware: qcom: scm: Fix NULL dereference in IRQ handler before __scm is published In qcom_scm_probe(), devm_request_threaded_irq() is called before smp_store_release(&__scm, scm). Two paths can dereference __scm before it is published, both causing a NULL pointer dereference. The IRQ handler receives scm via its data argument but passes only wq_ctx to qcom_scm_waitq_wakeup() and qcom_scm_get_completion(), which then dereference __scm directly. Thread scm through both functions so the IRQ handler path never touches __scm. Non-atomic SMC calls made during probe (e.g. from qcom_tzmem_init via qcom_scm_shm_bridge_enable) can return WAITQ_SLEEP, causing qcom_scm_wait_for_wq_completion() to run before __scm is published and dereference it. Add platform_set_drvdata(pdev, scm) early in probe and change qcom_scm_wait_for_wq_completion() to take the device pointer and use dev_get_drvdata() to reach scm, removing any dependency on __scm.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| kernel-uek · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-doc · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-doc · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-tools · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-tools · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.111-1 | DEBIAN-CVE-2026-90397 | Sep 23, 2026 |
| linux · Debian 14 | 7.2.6-1 | DEBIAN-CVE-2026-90397 | Sep 23, 2026 |
| linux-6.12 · Debian 12.15 (bookworm) | 6.12.111-1~deb12u1 | DEBIAN-CVE-2026-90397 | Sep 23, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.