cveboard RSS feed

CVE-2026-72155

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

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

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
3dd8012a8eeb3702fa17450ec1a16a3f38af138daffectedgit23c285be8f6fcde9088fe12bb69c701d46696be1UnavailableNone listed
3dd8012a8eeb3702fa17450ec1a16a3f38af138daffectedgita6fd2145c73b80bb6a5eed7355a4f63597d712d9UnavailableNone listed
3dd8012a8eeb3702fa17450ec1a16a3f38af138daffectedgit9a0d8dec3d11ca95d67537ea8fa6ee2730a5038aUnavailableNone listed
3dd8012a8eeb3702fa17450ec1a16a3f38af138daffectedgitdc341272cf8e15a2c511db3c4df5dab8adf70ad0UnavailableNone listed
3dd8012a8eeb3702fa17450ec1a16a3f38af138daffectedgit6110ab5ffd84e8daa654652446a03ce2f77580a7UnavailableNone listed
3dd8012a8eeb3702fa17450ec1a16a3f38af138daffectedgitc0806df5cf806545160f3fdac3c888926ceac557UnavailableNone listed
3dd8012a8eeb3702fa17450ec1a16a3f38af138daffectedgit12d4d69221159e6d0e72400ec81195d691169b53UnavailableNone listed
3dd8012a8eeb3702fa17450ec1a16a3f38af138daffectedgite1d456b26bf23e30db305a6184e8abd9ab68bbf2UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.6affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.6UnavailableNone listed
5.10.266unaffectedsemverUnavailable5.10.*None listed
5.15.217unaffectedsemverUnavailable5.15.*None listed
6.1.178unaffectedsemverUnavailable6.1.*None listed
6.6.145unaffectedsemverUnavailable6.6.*None listed
6.12.97unaffectedsemverUnavailable6.12.*None listed
6.18.40unaffectedsemverUnavailable6.18.*None listed
7.1.5unaffectedsemverUnavailable7.1.*None listed
7.2unaffectedoriginal_commit_for_fixUnavailable*None listed