# CVE-2026-90363: drm/msm: don't tear down KMS twice when KMS init fails

> 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:06.817Z
- **Modified:** 2026-10-21T13:20:52.447Z

## Who should check

- Anyone running Linux \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 54437ace956dc7b758c0219d6f76654b3ead8d69; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 08827aa40f0ee9d37dcff8d6acb340b970051486; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< e2a99fa93b400dfbb9598103249f71969501094a; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 93c125e4ea98fb25f927ba5a334d85845127d667
- Anyone running Linux 6.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/msm: don't tear down KMS twice when KMS init fails

When priv-\>kms\_init() (mdp4\_kms\_init() / mdp5\_kms\_init()) fails partway
through, both display drivers already tear their KMS state down via
mdp4\_destroy() / mdp5\_kms\_destroy() before returning the error. The
common error path in msm\_drm\_init() then runs msm\_drm\_uninit() -\>
msm\_drm\_kms\_uninit(), which tries to destroy the very same KMS a second
time, which causes a use-after-free crash.

Bring MDP4/MDP5 in line with the DPU driver whose dpu\_kms\_init() doesn't
perform error cleanup on the failure. Let the common path own the
cleanup, instead of freeing the KMS from their error paths.

The crash trace for the reference:

  \_\_lock\_acquire from lock\_acquire (kernel/locking/lockdep.c:5906 kernel/locking/lockdep.c:5863)
  lock\_acquire from touch\_wq\_lockdep\_map (kernel/workqueue.c:4094 (discriminator 1))
  touch\_wq\_lockdep\_map from \_\_flush\_workqueue (kernel/workqueue.c:4136)
  \_\_flush\_workqueue from msm\_drm\_kms\_uninit (drivers/gpu/drm/msm/msm\_kms.c:243 (discriminator 33))
  msm\_drm\_kms\_uninit from msm\_drm\_uninit (drivers/gpu/drm/msm/msm\_drv.c:93)
  msm\_drm\_uninit from msm\_drm\_init (drivers/gpu/drm/msm/msm\_drv.c:184)
  msm\_drm\_init from try\_to\_bring\_up\_aggregate\_device (drivers/base/component.c:249 drivers/base/component.c:227)
  try\_to\_bring\_up\_aggregate\_device from \_\_component\_add (drivers/base/component.c:269 drivers/base/component.c:748)
  \_\_component\_add from dsi\_host\_attach (drivers/gpu/drm/msm/dsi/dsi\_host.c:1739)
  dsi\_host\_attach from mipi\_dsi\_attach (drivers/gpu/drm/drm\_mipi\_dsi.c:383)
  mipi\_dsi\_attach from sharp\_nt\_panel\_probe (drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c:247)

Patchwork: https://patchwork.freedesktop.org/patch/742068/

## Affected and fixed versions

- Linux: \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 54437ace956dc7b758c0219d6f76654b3ead8d69; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 08827aa40f0ee9d37dcff8d6acb340b970051486; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< e2a99fa93b400dfbb9598103249f71969501094a; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 93c125e4ea98fb25f927ba5a334d85845127d667 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 93c125e4ea98fb25f927ba5a334d85845127d667 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-90363. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90363.md
Affected: Linux >= 506efcba31296e9cbc4f8f148eec1e4b29039931, < 54437ace956dc7b758c0219d6f76654b3ead8d69; >= 506efcba31296e9cbc4f8f148eec1e4b29039931, < 08827aa40f0ee9d37dcff8d6acb340b970051486; >= 506efcba31296e9cbc4f8f148eec1e4b29039931, < e2a99fa93b400dfbb9598103249f71969501094a; >= 506efcba31296e9cbc4f8f1…
Fixed in: Linux 54437ace956dc7b758c0219d6f76654b3ead8d69, Linux 08827aa40f0ee9d37dcff8d6acb340b970051486, Linux 93c125e4ea98fb25f927ba5a334d85845127d667

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-90363 being exploited?

There is no confirmed exploitation: CVE-2026-90363 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-90363?

It has no CVSS score yet. Unknown.

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

Linux \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 54437ace956dc7b758c0219d6f76654b3ead8d69; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 08827aa40f0ee9d37dcff8d6acb340b970051486; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< e2a99fa93b400dfbb9598103249f71969501094a; \>= 506efcba31296e9cbc4f8f148eec1e4b29039931, \< 93c125e4ea98fb25f927ba5a334d85845127d667; Linux 6.7.

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

Yes. Fixed in Linux 54437ace956dc7b758c0219d6f76654b3ead8d69, Linux 08827aa40f0ee9d37dcff8d6acb340b970051486, Linux 93c125e4ea98fb25f927ba5a334d85845127d667. Upgrade Linux to 93c125e4ea98fb25f927ba5a334d85845127d667 or later.

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

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/54437ace956dc7b758c0219d6f76654b3ead8d69>
- other: <https://git.kernel.org/stable/c/08827aa40f0ee9d37dcff8d6acb340b970051486>
- other: <https://git.kernel.org/stable/c/e2a99fa93b400dfbb9598103249f71969501094a>
- other: <https://git.kernel.org/stable/c/93c125e4ea98fb25f927ba5a334d85845127d667>

## 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-90363>

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