In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: serialize lock/unlock against other NAND operations nand_lock() and nand_unlock() call into chip->ops.lock_area/unlock_area without holding the NAND device lock. On controllers that implement SET_FEATURES via multiple low-level PIO commands, these can race with concurrent UBI/UBIFS background erase/write operations that hold the device lock, resulting in cmd_pending conflicts on the NAND controller. Add nand_get_device()/nand_release_device() around the lock/unlock operations to serialize them against all other NAND controller access.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
NVD-CWE-noinfo
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdc9f48c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdd6a4380> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdd6a6ac0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdc3f4640> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdc9f4640> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdc9f7140> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdd9bed00> | Operating System |
| linux | linux_kernel | 5.7 | <built-in method update of dict object at 0x702bdd6ac840> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bdd9bd500> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bdc9f6bc0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bdc9f6000> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bdc9f4500> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bdc3f5580> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bdd6a6b40> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bdc9f6900> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:5.7:-:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* |