CVE-2023-53826
kernel: ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 9, 2025
Updated · June 30, 2026
Description
A use-after-free vulnerability was found in the UBI (Unsorted Block Images) subsystem in the Linux kernel. In eraseblk_count_seq_show(), a wear-leveling entry can be accessed after it has been freed in __erase_worker(). The race occurs because ubi->lookuptbl access is not properly synchronized with wl_entry_destroy(), allowing the seq_show function to read from freed memory when displaying erase counts.
Statement
This is a use-after-free vulnerability in the UBI flash translation layer that can cause kernel crashes when reading debugfs information while erase operations are occurring. The impact is limited to systems using UBI for flash storage management.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-825 · Expired Pointer Dereference