CVE-2023-53481

ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed

7.8 high EPSS 0.17%

Published 1 Oct 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2023-53481

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53481 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed

Following process will trigger an infinite loop in ubi_wl_put_peb():

ubifs_bgt ubi_bgt ubifs_leb_unmap ubi_leb_unmap ubi_eba_unmap_leb ubi_wl_put_peb wear_leveling_worker e1 = rb_entry(rb_first(&ubi->used) e2 = get_peb_for_wl(ubi) ubi_io_read_vid_hdr // return err (flash fault) out_error: ubi->move_from = ubi->move_to = NULL wl_entry_destroy(ubi, e1) ubi->lookuptbl[e->pnum] = NULL retry: e = ubi->lookuptbl[pnum]; // return NULL if (e == ubi->move_from) { // NULL == NULL gets true goto retry; // infinite loop !!!

$ top PID USER PR NI VIRT RES SHR S %CPU %MEM COMMAND 7676 root 20 0 0 0 0 R 100.0 0.0 ubifs_bgt0_0

Fix it by: 1) Letting ubi_wl_put_peb() returns directly if wearl leveling entry has been removed from 'ubi->lookuptbl'. 2) Using 'ubi->wl_lock' protecting wl entry deletion to preventing an use-after-free problem for wl entry in ubi_wl_put_peb().

Fetch a reproducer in [Link].

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.87% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 43f9b25a9cdd7b177f77f026b1461abd1abbd174, before b40d2fbf47af58377e898b5062077a47bb28a132
affected from 43f9b25a9cdd7b177f77f026b1461abd1abbd174, before f006f596fe851c3b6aae60b79f89f89f0e515d2f
affected from 43f9b25a9cdd7b177f77f026b1461abd1abbd174, before b5be23f6ae610bdb262160a1f294afee6d0e6a69
affected from 43f9b25a9cdd7b177f77f026b1461abd1abbd174, before 8a18856e074479bd050b01e688c58defadce7ab0
affected from 43f9b25a9cdd7b177f77f026b1461abd1abbd174, before 3afaaf6f5867dc4ad383808d4053f428ec7b867d
affected from 43f9b25a9cdd7b177f77f026b1461abd1abbd174, before cc4bc532acda66189bddc03b3fe1ad689d9a48a2
affected from 43f9b25a9cdd7b177f77f026b1461abd1abbd174, before 5af1c643184a5d09ff5b3f334077a4d0a163c677
affected from 43f9b25a9cdd7b177f77f026b1461abd1abbd174, before 4d57a7333e26040f2b583983e1970d9d460e56b0
Other versions: unaffected
Linux
affected 2.6.25
unaffected before 2.6.25
unaffected from 4.14.308 up to and including 4.14.*
unaffected from 4.19.276 up to and including 4.19.*
unaffected from 5.4.235 up to and including 5.4.*
unaffected from 5.10.173 up to and including 5.10.*
unaffected from 5.15.100 up to and including 5.15.*
unaffected from 6.1.18 up to and including 6.1.*
unaffected from 6.2.5 up to and including 6.2.*
unaffected 6.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53481 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53481

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53481
trivy image --scanners vuln IMAGE | grep CVE-2023-53481

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53481 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.