CVE-2026-72155
mtd: spi-nor: swp: Improve locking user experience
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 23c285be8f6fcde9088fe12bb69c701d46696be1; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < a6fd2145c73b80bb6a5eed7355a4f63597d712d9; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < dc341272cf8e15a2c511db3c4df5dab8adf70ad0; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 6110ab5ffd84e8daa654652446a03ce2f77580a7; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < c0806df5cf806545160f3fdac3c888926ceac557; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 12d4d69221159e6d0e72400ec81195d691169b53; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < e1d456b26bf23e30db305a6184e8abd9ab68bbf2
- Anyone running Linux 4.6
Vulnerability facts
- Affected
- Linux >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 23c285be8f6fcde9088fe12bb69c701d46696be1; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < a6fd2145c73b80bb6a5eed7355a4f63597d712d9; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < dc341272cf8e15a2c511db3c4df5dab8adf70ad0; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 6110ab5ffd84e8daa654652446a03ce2f77580a7; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < c0806df5cf806545160f3fdac3c888926ceac557; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 12d4d69221159e6d0e72400ec81195d691169b53; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < e1d456b26bf23e30db305a6184e8abd9ab68bbf2; Linux 4.6
- Fixed in
- Linux 23c285be8f6fcde9088fe12bb69c701d46696be1, Linux 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a, Linux 6110ab5ffd84e8daa654652446a03ce2f77580a7, Linux 12d4d69221159e6d0e72400ec81195d691169b53
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 23c285be8f6fcde9088fe12bb69c701d46696be1; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < a6fd2145c73b80bb6a5eed7355a4f63597d712d9; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < dc341272cf8e15a2c511db3c4df5dab8adf70ad0; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 6110ab5ffd84e8daa654652446a03ce2f77580a7; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < c0806df5cf806545160f3fdac3c888926ceac557; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 12d4d69221159e6d0e72400ec81195d691169b53; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < e1d456b26bf23e30db305a6184e8abd9ab68bbf2 | — | cvelist |
| Linux | 4.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-72155. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-72155.md Affected: Linux >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 23c285be8f6fcde9088fe12bb69c701d46696be1; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < a6fd2145c73b80bb6a5eed7355a4f63597d712d9; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a; >= 3dd8012a8eeb3702fa17450… Fixed in: Linux 23c285be8f6fcde9088fe12bb69c701d46696be1, Linux 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a, Linux 6110ab5ffd84e8daa654652446a03ce2f77580a7, Linux 12d4d69221159e6d0e72400ec81195d691169b53 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.
References
Other
- https://git.kernel.org/stable/c/23c285be8f6fcde9088fe12bb69c701d46696be1
- https://git.kernel.org/stable/c/a6fd2145c73b80bb6a5eed7355a4f63597d712d9
- https://git.kernel.org/stable/c/9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a
- https://git.kernel.org/stable/c/dc341272cf8e15a2c511db3c4df5dab8adf70ad0
- https://git.kernel.org/stable/c/6110ab5ffd84e8daa654652446a03ce2f77580a7
- https://git.kernel.org/stable/c/c0806df5cf806545160f3fdac3c888926ceac557
- https://git.kernel.org/stable/c/12d4d69221159e6d0e72400ec81195d691169b53
- https://git.kernel.org/stable/c/e1d456b26bf23e30db305a6184e8abd9ab68bbf2
FAQ
Is CVE-2026-72155 being exploited?
There is no confirmed exploitation: CVE-2026-72155 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-72155?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-72155?
Linux >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 23c285be8f6fcde9088fe12bb69c701d46696be1; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < a6fd2145c73b80bb6a5eed7355a4f63597d712d9; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < dc341272cf8e15a2c511db3c4df5dab8adf70ad0; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 6110ab5ffd84e8daa654652446a03ce2f77580a7; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < c0806df5cf806545160f3fdac3c888926ceac557; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < 12d4d69221159e6d0e72400ec81195d691169b53; >= 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, < e1d456b26bf23e30db305a6184e8abd9ab68bbf2; Linux 4.6.
Is there a fix for CVE-2026-72155?
Yes. Fixed in Linux 23c285be8f6fcde9088fe12bb69c701d46696be1, Linux 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a, Linux 6110ab5ffd84e8daa654652446a03ce2f77580a7, Linux 12d4d69221159e6d0e72400ec81195d691169b53. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-72155?
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.