# CVE-2023-54026: opp: Fix use-after-free in lazy\_opp\_tables after probe deferral

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2025-12-24T10:55:55.182Z
- **Modified:** 2026-08-05T09:16:38.468Z

## Who should check

- Anyone running Linux \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< 39a0e723d3502f6dc4c603f57ebe8dc7bcc4a4bc; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< 76ab057de777723ec924654502d1a260ba7d7d54; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< c05e76d6b249e5254c31994eedd06dd3cc90dee0; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< b2a2ab039bd58f51355e33d7d3fc64605d7f870d
- Anyone running Linux 5.12

## Description

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

opp: Fix use-after-free in lazy\_opp\_tables after probe deferral

When dev\_pm\_opp\_of\_find\_icc\_paths() in \_allocate\_opp\_table() returns
-EPROBE\_DEFER, the opp\_table is freed again, to wait until all the
interconnect paths are available.

However, if the OPP table is using required-opps then it may already
have been added to the global lazy\_opp\_tables list. The error path
does not remove the opp\_table from the list again.

This can cause crashes later when the provider of the required-opps
is added, since we will iterate over OPP tables that have already been
freed. E.g.:

  Unable to handle kernel NULL pointer dereference when read
  CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 6.4.0-rc3
  PC is at \_of\_add\_opp\_table\_v2 (include/linux/of.h:949
  drivers/opp/of.c:98 drivers/opp/of.c:344 drivers/opp/of.c:404
  drivers/opp/of.c:1032) -\> lazy\_link\_required\_opp\_table()

Fix this by calling \_of\_clear\_opp\_table() to remove the opp\_table from
the list and clear other allocated resources. While at it, also add the
missing mutex\_destroy() calls in the error path.

## Affected and fixed versions

- Linux: \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< 39a0e723d3502f6dc4c603f57ebe8dc7bcc4a4bc; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< 76ab057de777723ec924654502d1a260ba7d7d54; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< c05e76d6b249e5254c31994eedd06dd3cc90dee0; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< b2a2ab039bd58f51355e33d7d3fc64605d7f870d (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54026.md
Affected: Linux >= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, < 39a0e723d3502f6dc4c603f57ebe8dc7bcc4a4bc; >= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, < 76ab057de777723ec924654502d1a260ba7d7d54; >= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, < c05e76d6b249e5254c31994eedd06dd3cc90dee0; >= 7eba0c7641b0009818e469d…
Fixed in: Linux 39a0e723d3502f6dc4c603f57ebe8dc7bcc4a4bc, Linux 76ab057de777723ec924654502d1a260ba7d7d54

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-2023-54026 being exploited?

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

### How serious is CVE-2023-54026?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-54026?

Linux \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< 39a0e723d3502f6dc4c603f57ebe8dc7bcc4a4bc; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< 76ab057de777723ec924654502d1a260ba7d7d54; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< c05e76d6b249e5254c31994eedd06dd3cc90dee0; \>= 7eba0c7641b0009818e469dbfcdd87a0155ab9d4, \< b2a2ab039bd58f51355e33d7d3fc64605d7f870d; Linux 5.12.

### Is there a fix for CVE-2023-54026?

Yes. Fixed in Linux 39a0e723d3502f6dc4c603f57ebe8dc7bcc4a4bc, Linux 76ab057de777723ec924654502d1a260ba7d7d54. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54026?

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/39a0e723d3502f6dc4c603f57ebe8dc7bcc4a4bc>
- other: <https://git.kernel.org/stable/c/76ab057de777723ec924654502d1a260ba7d7d54>
- other: <https://git.kernel.org/stable/c/c05e76d6b249e5254c31994eedd06dd3cc90dee0>
- other: <https://git.kernel.org/stable/c/b2a2ab039bd58f51355e33d7d3fc64605d7f870d>

## 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-2023-54026>

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