# CVE-2026-90397: firmware: qcom: scm: Fix NULL dereference in IRQ handler before \_\_scm is published

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-17T16:09:28.967Z
- **Modified:** 2026-10-21T13:20:53.620Z

## Who should check

- Anyone running Linux \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< c9c1e3da0a206270e5df470ca1c82de52190d68c; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< b451f38cb7f5bca78484362347f039c08c94de95; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< 1d753df5899ec356272d08bc4718e82844e4bdf0; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< f312ef5026678f14caf1378c5f7fffdf667f9c81; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< 966d23c7e68ea32679275a7e3d2383181002c868
- Anyone running Linux 6.3

## 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 and fixed versions

- Linux: \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< c9c1e3da0a206270e5df470ca1c82de52190d68c; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< b451f38cb7f5bca78484362347f039c08c94de95; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< 1d753df5899ec356272d08bc4718e82844e4bdf0; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< f312ef5026678f14caf1378c5f7fffdf667f9c81; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< 966d23c7e68ea32679275a7e3d2383181002c868 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 966d23c7e68ea32679275a7e3d2383181002c868 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90397. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90397.md
Affected: Linux >= 6bf32599223634294cdc6efb359ffaab1d68073c, < c9c1e3da0a206270e5df470ca1c82de52190d68c; >= 6bf32599223634294cdc6efb359ffaab1d68073c, < b451f38cb7f5bca78484362347f039c08c94de95; >= 6bf32599223634294cdc6efb359ffaab1d68073c, < 1d753df5899ec356272d08bc4718e82844e4bdf0; >= 6bf32599223634294cdc6ef…
Fixed in: Linux 1d753df5899ec356272d08bc4718e82844e4bdf0, Linux 966d23c7e68ea32679275a7e3d2383181002c868

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90397 being exploited?

There is no confirmed exploitation: CVE-2026-90397 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90397?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90397?

Linux \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< c9c1e3da0a206270e5df470ca1c82de52190d68c; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< b451f38cb7f5bca78484362347f039c08c94de95; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< 1d753df5899ec356272d08bc4718e82844e4bdf0; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< f312ef5026678f14caf1378c5f7fffdf667f9c81; \>= 6bf32599223634294cdc6efb359ffaab1d68073c, \< 966d23c7e68ea32679275a7e3d2383181002c868; Linux 6.3.

### Is there a fix for CVE-2026-90397?

Yes. Fixed in Linux 1d753df5899ec356272d08bc4718e82844e4bdf0, Linux 966d23c7e68ea32679275a7e3d2383181002c868. Upgrade Linux to 966d23c7e68ea32679275a7e3d2383181002c868 or later.

### How do I check if I'm affected by CVE-2026-90397?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c9c1e3da0a206270e5df470ca1c82de52190d68c>
- other: <https://git.kernel.org/stable/c/b451f38cb7f5bca78484362347f039c08c94de95>
- other: <https://git.kernel.org/stable/c/1d753df5899ec356272d08bc4718e82844e4bdf0>
- other: <https://git.kernel.org/stable/c/f312ef5026678f14caf1378c5f7fffdf667f9c81>
- other: <https://git.kernel.org/stable/c/966d23c7e68ea32679275a7e3d2383181002c868>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90397>

HTML: <https://flawdb.com/CVE-2026-90397> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90397>
