0.0
NA
CVE-2026-72155
mtd: spi-nor: swp: Improve locking user experience
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.

INFO

Published Date :

Aug. 15, 2026, 6:21 a.m.

Last Modified :

Aug. 17, 2026, 6:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-72155 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Fix incorrect logic in MTD spi-nor driver for unlocking specific blocks.
  • Update the Linux kernel to include the fix for mtd: spi-nor: swp.
  • Ensure unlock logic correctly handles the first locked blocks.
  • Verify that lock_len is set to 0 when unlocking everything.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-72155 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-72155 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-72155 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-72155 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'dc341272cf8e15a2c511db3c4df5dab8adf70ad0', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '6110ab5ffd84e8daa654652446a03ce2f77580a7', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'c0806df5cf806545160f3fdac3c888926ceac557', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '12d4d69221159e6d0e72400ec81195d691169b53', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'e1d456b26bf23e30db305a6184e8abd9ab68bbf2', 'versionType': 'git'}], 'programFiles': ['drivers/mtd/spi-nor/swp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/mtd/spi-nor/swp.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'dc341272cf8e15a2c511db3c4df5dab8adf70ad0', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '6110ab5ffd84e8daa654652446a03ce2f77580a7', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'c0806df5cf806545160f3fdac3c888926ceac557', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '12d4d69221159e6d0e72400ec81195d691169b53', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'e1d456b26bf23e30db305a6184e8abd9ab68bbf2', 'versionType': 'git'}], 'programFiles': ['drivers/mtd/spi-nor/swp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/mtd/spi-nor/swp.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 15, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'dc341272cf8e15a2c511db3c4df5dab8adf70ad0', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '6110ab5ffd84e8daa654652446a03ce2f77580a7', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'c0806df5cf806545160f3fdac3c888926ceac557', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': '12d4d69221159e6d0e72400ec81195d691169b53', 'versionType': 'git'}, {'status': 'affected', 'version': '3dd8012a8eeb3702fa17450ec1a16a3f38af138d', 'lessThan': 'e1d456b26bf23e30db305a6184e8abd9ab68bbf2', 'versionType': 'git'}], 'programFiles': ['drivers/mtd/spi-nor/swp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/mtd/spi-nor/swp.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/12d4d69221159e6d0e72400ec81195d691169b53
    Added Reference https://git.kernel.org/stable/c/6110ab5ffd84e8daa654652446a03ce2f77580a7
    Added Reference https://git.kernel.org/stable/c/9a0d8dec3d11ca95d67537ea8fa6ee2730a5038a
    Added Reference https://git.kernel.org/stable/c/c0806df5cf806545160f3fdac3c888926ceac557
    Added Reference https://git.kernel.org/stable/c/dc341272cf8e15a2c511db3c4df5dab8adf70ad0
    Added Reference https://git.kernel.org/stable/c/e1d456b26bf23e30db305a6184e8abd9ab68bbf2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.