{"id":"CVE-2026-90397","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: qcom: scm: Fix NULL dereference in IRQ handler before __scm is published\n\nIn qcom_scm_probe(), devm_request_threaded_irq() is called before\nsmp_store_release(…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: qcom: scm: Fix NULL dereference in IRQ handler before __scm is published\n\nIn qcom_scm_probe(), devm_request_threaded_irq() is called before\nsmp_store_release(…","severity":"medium","vendor":"Linux","product":"Linux","affected":["Linux >= 6bf32599223634294cdc6efb359ffaab1d68073c < b451f38cb7f5bca78484362347f039c08c94de95","Linux >= 6bf32599223634294cdc6efb359ffaab1d68073c < 1d753df5899ec356272d08bc4718e82844e4bdf0","Linux >= 6bf32599223634294cdc6efb359ffaab1d68073c < f312ef5026678f14caf1378c5f7fffdf667f9c81","Linux >= 6bf32599223634294cdc6efb359ffaab1d68073c < 966d23c7e68ea32679275a7e3d2383181002c868","Linux 6.3"],"published":"2026-09-17","updated":"2026-09-17","sourceUpdated":"2026-09-17T17:17:39.417","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-90397","references":[{"url":"https://git.kernel.org/stable/c/1d753df5899ec356272d08bc4718e82844e4bdf0","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/966d23c7e68ea32679275a7e3d2383181002c868","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b451f38cb7f5bca78484362347f039c08c94de95","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f312ef5026678f14caf1378c5f7fffdf667f9c81","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90397.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-90397"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2536435"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-90397"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90397"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-90397.mbox"},{"url":"https://git.kernel.org/stable/c/c9c1e3da0a206270e5df470ca1c82de52190d68c"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-09-17T16:21:47.801Z","epss":0.00201,"epssPercentile":0.09836,"cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":["CWE-476"],"slug":"CVE-2026-90397","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: qcom: scm: Fix NULL dereference in IRQ handler before __scm is published\n\nIn qcom_scm_probe(), devm_request_threaded_irq() is called before\nsmp_store_release(&__scm, scm). Two paths can dereference __scm before\nit is published, both causing a NULL pointer dereference.\n\nThe IRQ handler receives scm via its data argument but passes only wq_ctx\nto qcom_scm_waitq_wakeup() and qcom_scm_get_completion(), which then\ndereference __scm directly. Thread scm through both functions so the IRQ\nhandler path never touches __scm.\n\nNon-atomic SMC calls made during probe (e.g. from qcom_tzmem_init via\nqcom_scm_shm_bridge_enable) can return WAITQ_SLEEP, causing\nqcom_scm_wait_for_wq_completion() to run before __scm is published and\ndereference it. Add platform_set_drvdata(pdev, scm) early in probe and\nchange qcom_scm_wait_for_wq_completion() to take the device pointer and\nuse dev_get_drvdata() to reach scm, removing any dependency on __scm.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90397.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":225609,"id":"CVE-2026-90397","ts":1792498315742,"field":"cvss","old":null,"new":"5.5"},{"seq":225608,"id":"CVE-2026-90397","ts":1792498315742,"field":"severity","old":"none","new":"medium"}]}