CVE-2026-90397
Last modified
CVE-2026-90397 is a vulnerability of currently unknown severity. 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.
Description
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 6bf32599223634294cdc6efb359ffaab1d68073c, < b451f38cb7f5bca78484362347f039c08c94de95; >= 6bf32599223634294cdc6efb359ffaab1d68073c, < 1d753df5899ec356272d08bc4718e82844e4bdf0; >= 6bf32599223634294cdc6efb359ffaab1d68073c, < f312ef5026678f14caf1378c5f7fffdf667f9c81; >= 6bf32599223634294cdc6efb359ffaab1d68073c, < 966d23c7e68ea32679275a7e3d2383181002c868 |
| Linux | Linux | 6.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-90397?
How severe is CVE-2026-90397?
How do I fix CVE-2026-90397?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-90391In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90392In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-90393In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90394In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90395In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90396In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90398In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-90399In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-9040A race condition vulnerability in Arm Ltd Bifrost GPU Kernel…7.7
- CVE-2026-90400In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90401In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-90402In the Linux kernel, the following vulnerability has been re…7
Are you affected by CVE-2026-90397?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
