# CVE-2026-142918: drm/msm/a6xx: fix use-after-free of OPP in a6xx\_pm\_resume

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:25:58.409Z
- **Modified:** 2026-12-03T04:18:32.203Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker with local access could trigger a use-after-free in the Linux kernel's msm DRM a6xx GPU driver during power resume by using an OPP object after its reference was dropped.

## Who should check

- Anyone running Linux \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 1f0aa8ec63d2a9ee1d45412f5218114f956da75a; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< efcbc434273773e203aa7a674da2c2e3c434ef33; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< e17881b8b9283a4f446d7a8d10922e8c4f544019; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 6459d1895ca87a901e4e2abbec1a113845c7e908; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 8128ae7af6b4dc95e486c5c0a80839a069df578e
- Anyone running Linux 6.5

## Description

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

drm/msm/a6xx: fix use-after-free of OPP in a6xx\_pm\_resume

The OPP reference obtained via dev\_pm\_opp\_find\_freq\_ceil() is dropped
with dev\_pm\_opp\_put() before being passed to dev\_pm\_opp\_set\_opp(). If
the reference count reaches zero, the OPP object may be freed, leading
to a use-after-free when dev\_pm\_opp\_set\_opp() dereferences it.

Fix the order of calls: first use the OPP to set the required
performance state, then release the reference.

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

## Affected and fixed versions

- Linux: \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 1f0aa8ec63d2a9ee1d45412f5218114f956da75a; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< efcbc434273773e203aa7a674da2c2e3c434ef33; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< e17881b8b9283a4f446d7a8d10922e8c4f544019; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 6459d1895ca87a901e4e2abbec1a113845c7e908; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 8128ae7af6b4dc95e486c5c0a80839a069df578e (cvelist)
- Linux: 6.5 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-142918.md
Affected: Linux >= 5a903a44a98471cedf0021fac0a6a64bbe86943f, < 1f0aa8ec63d2a9ee1d45412f5218114f956da75a; >= 5a903a44a98471cedf0021fac0a6a64bbe86943f, < efcbc434273773e203aa7a674da2c2e3c434ef33; >= 5a903a44a98471cedf0021fac0a6a64bbe86943f, < e17881b8b9283a4f446d7a8d10922e8c4f544019; >= 5a903a44a98471cedf0021f…
Fixed in: Linux 1f0aa8ec63d2a9ee1d45412f5218114f956da75a, Linux 6459d1895ca87a901e4e2abbec1a113845c7e908, Linux 8128ae7af6b4dc95e486c5c0a80839a069df578e

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

There is no confirmed exploitation: CVE-2026-142918 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 1f0aa8ec63d2a9ee1d45412f5218114f956da75a; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< efcbc434273773e203aa7a674da2c2e3c434ef33; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< e17881b8b9283a4f446d7a8d10922e8c4f544019; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 6459d1895ca87a901e4e2abbec1a113845c7e908; \>= 5a903a44a98471cedf0021fac0a6a64bbe86943f, \< 8128ae7af6b4dc95e486c5c0a80839a069df578e; Linux 6.5.

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

Yes. Fixed in Linux 1f0aa8ec63d2a9ee1d45412f5218114f956da75a, Linux 6459d1895ca87a901e4e2abbec1a113845c7e908, Linux 8128ae7af6b4dc95e486c5c0a80839a069df578e. Upgrade Linux to 8128ae7af6b4dc95e486c5c0a80839a069df578e or later.

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

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/1f0aa8ec63d2a9ee1d45412f5218114f956da75a>
- other: <https://git.kernel.org/stable/c/efcbc434273773e203aa7a674da2c2e3c434ef33>
- other: <https://git.kernel.org/stable/c/e17881b8b9283a4f446d7a8d10922e8c4f544019>
- other: <https://git.kernel.org/stable/c/6459d1895ca87a901e4e2abbec1a113845c7e908>
- other: <https://git.kernel.org/stable/c/8128ae7af6b4dc95e486c5c0a80839a069df578e>

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

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