VDB

CVE-2026-72155

CVE-2026-72155 PUBLISHED

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

Reported by linux · Published August 15, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftool6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-develAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023
perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel-livepatch-6.18.41-94.142Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.12.100-125.179Amazon Linux1:1.0-0.amzn2023
LinuxLinuxdc341272cf8e15a2c511db3c4df5dab8adf70ad0, a6fd2145c73b80bb6a5eed7355a4f63597d712d9, 9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a, 4.6

Affected products

VendorProductVersions
LinuxLinux3dd8012a8eeb3702fa17450ec1a16a3f38af138d, 3dd8012a8eeb3702fa17450ec1a16a3f38af138d, 3dd8012a8eeb3702fa17450ec1a16a3f38af138d
LinuxLinux4.6, 0, 5.10.266
amazon:2023bpftool6.180
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023kernel-livepatch-6.12.100-125.1790
LinuxLinux3dd8012a8eeb3702fa17450ec1a16a3f38af138d, 7.2, 7.1.5
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023kernel6.18-devel0
amazon:2023kernel6.120
amazon:2023kernel6.12-headers0
amazon:2023python3-perf6.180
amazon:2023microvm-kernel6.180
amazon:2023perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.180
amazon:2023kernel6.18-tools0

…and 7 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (17 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72155
vulnetix vdb fixes CVE-2026-72155

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72155/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›