CVE-2026-72155 json
mtd: spi-nor: swp: Improve locking user experience
published 2026-08-15 2 mo ago modified 2026-11-06 2 d ago also EUVD-2026-58913
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.266, 5.15.217, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
- linux Debian 12 6.1.180-1
- linux Debian 13 6.12.100-1
- linux Debian 14 7.1.5-1
debian advisories DEBIAN-CVE-2026-72155
- linux Ubuntu 22.04 LTS 5.15.0-202.212
- linux Ubuntu 24.04 LTS 6.8.0-147.147
- linux Ubuntu 26.04 LTS 7.0.0-38.38
- linux-aws Ubuntu 22.04 LTS 5.15.0-1119.126
- linux-aws Ubuntu 24.04 LTS 6.8.0-1067.70
- linux-aws Ubuntu 26.04 LTS 7.0.0-1014.14
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1120.130
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1071.79
ubuntu advisories UBUNTU-CVE-2026-72155
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source Linux Micro 6.0 6.4.0-159998.55.1
- kernel-default Linux Micro 6.0 6.4.0-159998.55.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-159998.55.1
- kernel-default-base Linux Micro 6.0 6.4.0-159998.55.1.159998.21.42
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.90.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.90.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.53.90.1
- kernel-source SLE Module for Development Tools 15 SP7, SLE Module for Basesystem 15 SP7 6.4.0-150700.53.90.1
suse advisories SUSE-SU-2026:24550-1SUSE-SU-2026:5091-1
- git.kernel.org/stable/c/23c285be8f6fcde9088fe12bb69c701d46696be1 commit
- git.kernel.org/stable/c/a6fd2145c73b80bb6a5eed7355a4f63597d712d9 commit
- git.kernel.org/stable/c/9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a commit
- git.kernel.org/stable/c/dc341272cf8e15a2c511db3c4df5dab8adf70ad0 commit
- git.kernel.org/stable/c/6110ab5ffd84e8daa654652446a03ce2f77580a7 commit
- git.kernel.org/stable/c/c0806df5cf806545160f3fdac3c888926ceac557 commit
- git.kernel.org/stable/c/12d4d69221159e6d0e72400ec81195d691169b53 commit
- git.kernel.org/stable/c/e1d456b26bf23e30db305a6184e8abd9ab68bbf2 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-72155 updated cvss 5.5
kernel: mtd: spi-nor: swp: Improve locking user experience
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 d ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/23c285be8f6fcde9088fe12bb69c701d46696be1
- git.kernel.org /stable/c/a6fd2145c73b80bb6a5eed7355a4f63597d712d9
- git.kernel.org /stable/c/9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a
- git.kernel.org /stable/c/dc341272cf8e15a2c511db3c4df5dab8adf70ad0
- git.kernel.org /stable/c/6110ab5ffd84e8daa654652446a03ce2f77580a7
- git.kernel.org /stable/c/c0806df5cf806545160f3fdac3c888926ceac557
- git.kernel.org /stable/c/12d4d69221159e6d0e72400ec81195d691169b53
- git.kernel.org /stable/c/e1d456b26bf23e30db305a6184e8abd9ab68bbf2
Sources
- CVE List CVE-2026-72155
- NVD CVE-2026-72155
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.