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.
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mtd: rawnand: serializar bloqueo/desbloqueo contra otras operaciones NAND nand_lock() y nand_unlock() llaman a chip -> ops.lock_area/unlock_area sin mantener el bloqueo del dispositivo NAND. En controladores que implementan SET_FEATURES a través de múltiples comandos PIO de bajo nivel, estos pueden competir con operaciones concurrentes de borrado/escritura en segundo plano de UBI/UBIFS que mantienen el bloqueo del dispositivo, resultando en conflictos de cmd_pending en el controlador NAND. Añadir nand_get_device()/nand_release_device() alrededor de las operaciones de bloqueo/desbloqueo para serializarlas contra todo otro acceso al controlador NAND.
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 0x7d23a5987d00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a5985bc0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2424535000> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2424534400> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2424653f00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a59e9140> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2424535dc0> | Operating System |
| linux | linux_kernel | 5.7 | <built-in method update of dict object at 0x7d2424653a40> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d23a5984440> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d23a59e9a80> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d24246c0b40> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2424534580> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2424535100> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d24245a0340> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d24246c3d40> | 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:*:*:*:*:*:* |