CVE-2026-72155

mtd: spi-nor: swp: Improve locking user experience

No CVSS score yet EPSS 0.22%

Published 15 Aug 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-72155

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-2026-72155 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:

mtd: spi-nor: swp: Improve locking user experience

In the case of the first block being locked (or the few first blocks), if the user want to fully unlock the device it has two possibilities: - either it asks to unlock the entire device, and this works; - or it asks to unlock just the block(s) that are currently locked, which fails.

It fails because the conditions "can_be_top" and "can_be_bottom" are true. Indeed, in this case, we unlock everything, so the TB bit does not matter. However in the current implementation, use_top would be true (as this is the favourite option) and lock_len, which in practice should be reduced down to 0, is set to "nor->params->size - (ofs + len)" which is a positive number. This is wrong.

An easy way is to simply add an extra condition. In the unlock() path, if we can achieve the same result from both sides, it means we unlock everything and lock_len must simply be 0. A comment is added to clarify that logic.

Exploitation

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

The assessment of CISA (SSVC, 6 Nov 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
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, before 23c285be8f6fcde9088fe12bb69c701d46696be1
affected from 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, before a6fd2145c73b80bb6a5eed7355a4f63597d712d9
affected from 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, before 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a
affected from 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, before dc341272cf8e15a2c511db3c4df5dab8adf70ad0
affected from 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, before 6110ab5ffd84e8daa654652446a03ce2f77580a7
affected from 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, before c0806df5cf806545160f3fdac3c888926ceac557
affected from 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, before 12d4d69221159e6d0e72400ec81195d691169b53
affected from 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, before e1d456b26bf23e30db305a6184e8abd9ab68bbf2
Other versions: unaffected
Linux
affected 4.6
unaffected before 4.6
unaffected from 5.10.266 up to and including 5.10.*
unaffected from 5.15.217 up to and including 5.15.*
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.97 up to and including 6.12.*
unaffected from 6.18.40 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 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-2026-72155 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72155

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-2026-72155
trivy image --scanners vuln IMAGE | grep CVE-2026-72155

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-2026-72155 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.