# CVE-2023-53826: ubi: Fix UAF wear-leveling entry in eraseblk\_count\_seq\_show()

> 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.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-09T01:29:39.679Z
- **Modified:** 2026-06-17T06:46:08.393Z

## Who should check

- Anyone running Linux \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 3f9b63dfce44a7c3c095dd93d910408e07ab1845; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 84250da1c63cb7d421a3b4812b5c2ce2e47d31a1; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 1cb14c06d6035539ef4215c4ba0871aea71d7c38; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 9d448dd6bcb61a508204b57ea1f454ba9bac2f24; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 79548ccdd992707879b4b683b7251c58ddf26f12; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 84253f3c2dad6be10d30c92626c763d9a9f512ad; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< a100de2974d208cfca032179b02ed4d1a0a7f143; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< a240bc5c43130c6aa50831d7caaa02a1d84e1bce
- Anyone running Linux 2.6.22

## Description

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

ubi: Fix UAF wear-leveling entry in eraseblk\_count\_seq\_show()

Wear-leveling entry could be freed in error path, which may be accessed
again in eraseblk\_count\_seq\_show(), for example:

\_\_erase\_worker                eraseblk\_count\_seq\_show
                                wl = ubi-\>lookuptbl\[\*block\_number\]
				if (wl)
  wl\_entry\_destroy
    ubi-\>lookuptbl\[e-\>pnum\] = NULL
    kmem\_cache\_free(ubi\_wl\_entry\_slab, e)
		                   erase\_count = wl-\>ec  // UAF!

Wear-leveling entry updating/accessing in ubi-\>lookuptbl should be
protected by ubi-\>wl\_lock, fix it by adding ubi-\>wl\_lock to serialize
wl entry accessing between wl\_entry\_destroy() and
eraseblk\_count\_seq\_show().

Fetch a reproducer in \[Link\].

## Affected and fixed versions

- Linux: \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 3f9b63dfce44a7c3c095dd93d910408e07ab1845; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 84250da1c63cb7d421a3b4812b5c2ce2e47d31a1; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 1cb14c06d6035539ef4215c4ba0871aea71d7c38; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 9d448dd6bcb61a508204b57ea1f454ba9bac2f24; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 79548ccdd992707879b4b683b7251c58ddf26f12; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 84253f3c2dad6be10d30c92626c763d9a9f512ad; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< a100de2974d208cfca032179b02ed4d1a0a7f143; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< a240bc5c43130c6aa50831d7caaa02a1d84e1bce (cvelist)
- Linux: 2.6.22 (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-53826. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53826.md
Affected: Linux >= 801c135ce73d5df1caf3eca35b66a10824ae0707, < 3f9b63dfce44a7c3c095dd93d910408e07ab1845; >= 801c135ce73d5df1caf3eca35b66a10824ae0707, < 84250da1c63cb7d421a3b4812b5c2ce2e47d31a1; >= 801c135ce73d5df1caf3eca35b66a10824ae0707, < 1cb14c06d6035539ef4215c4ba0871aea71d7c38; >= 801c135ce73d5df1caf3eca…
Fixed in: Linux 3f9b63dfce44a7c3c095dd93d910408e07ab1845, Linux 84250da1c63cb7d421a3b4812b5c2ce2e47d31a1, Linux 1cb14c06d6035539ef4215c4ba0871aea71d7c38, Linux 9d448dd6bcb61a508204b57ea1f454ba9bac2f24, Linux 79548ccdd992707879b4b683b7251c58ddf26f12, Linux 84253f3c2dad6be10d30c92626c763d9a9f512ad

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 3f9b63dfce44a7c3c095dd93d910408e07ab1845; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 84250da1c63cb7d421a3b4812b5c2ce2e47d31a1; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 1cb14c06d6035539ef4215c4ba0871aea71d7c38; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 9d448dd6bcb61a508204b57ea1f454ba9bac2f24; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 79548ccdd992707879b4b683b7251c58ddf26f12; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< 84253f3c2dad6be10d30c92626c763d9a9f512ad; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< a100de2974d208cfca032179b02ed4d1a0a7f143; \>= 801c135ce73d5df1caf3eca35b66a10824ae0707, \< a240bc5c43130c6aa50831d7caaa02a1d84e1bce; Linux 2.6.22.

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

Yes. Fixed in Linux 3f9b63dfce44a7c3c095dd93d910408e07ab1845, Linux 84250da1c63cb7d421a3b4812b5c2ce2e47d31a1, Linux 1cb14c06d6035539ef4215c4ba0871aea71d7c38, Linux 9d448dd6bcb61a508204b57ea1f454ba9bac2f24, Linux 79548ccdd992707879b4b683b7251c58ddf26f12, Linux 84253f3c2dad6be10d30c92626c763d9a9f512ad. No fix listed yet: follow the vendor advisory.

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

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/3f9b63dfce44a7c3c095dd93d910408e07ab1845>
- other: <https://git.kernel.org/stable/c/84250da1c63cb7d421a3b4812b5c2ce2e47d31a1>
- other: <https://git.kernel.org/stable/c/1cb14c06d6035539ef4215c4ba0871aea71d7c38>
- other: <https://git.kernel.org/stable/c/9d448dd6bcb61a508204b57ea1f454ba9bac2f24>
- other: <https://git.kernel.org/stable/c/79548ccdd992707879b4b683b7251c58ddf26f12>
- other: <https://git.kernel.org/stable/c/84253f3c2dad6be10d30c92626c763d9a9f512ad>
- other: <https://git.kernel.org/stable/c/a100de2974d208cfca032179b02ed4d1a0a7f143>
- other: <https://git.kernel.org/stable/c/a240bc5c43130c6aa50831d7caaa02a1d84e1bce>

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

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