CVE-2022-48636

In the Linux kernel, the following vulnerability has been resolved: s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup Fix Oops in dasd_alias_get_start_dev() function caused by the pavgroup pointer being NULL. The pavgroup pointer is checked on the entrance of the function but without the lcu->lock being held. Therefore there is a race window between dasd_alias_get_start_dev() and _lcu_update() which sets pavgroup to NULL with the lcu->lock held. Fix by checking the pavgroup pointer with lcu->lock held.
Configurations

No configuration.

History

21 Nov 2024, 07:33

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/2e473351400e3dd66f0b71eddcef82ee45a584c1 - () https://git.kernel.org/stable/c/2e473351400e3dd66f0b71eddcef82ee45a584c1 -
References () https://git.kernel.org/stable/c/49f401a98b318761ca2e15d4c7869a20043fbed4 - () https://git.kernel.org/stable/c/49f401a98b318761ca2e15d4c7869a20043fbed4 -
References () https://git.kernel.org/stable/c/650a2e79d176db753654d3dde88e53a2033036ac - () https://git.kernel.org/stable/c/650a2e79d176db753654d3dde88e53a2033036ac -
References () https://git.kernel.org/stable/c/aaba5ff2742043705bc4c02fd0b2b246e2e16da1 - () https://git.kernel.org/stable/c/aaba5ff2742043705bc4c02fd0b2b246e2e16da1 -
References () https://git.kernel.org/stable/c/d3a67c21b18f33c79382084af556557c442f12a6 - () https://git.kernel.org/stable/c/d3a67c21b18f33c79382084af556557c442f12a6 -
References () https://git.kernel.org/stable/c/d86b4267834e6d4af62e3073e48166e349ab1b70 - () https://git.kernel.org/stable/c/d86b4267834e6d4af62e3073e48166e349ab1b70 -
References () https://git.kernel.org/stable/c/db7ba07108a48c0f95b74fabbfd5d63e924f992d - () https://git.kernel.org/stable/c/db7ba07108a48c0f95b74fabbfd5d63e924f992d -
References () https://git.kernel.org/stable/c/f5fcc9d6d71d9ff7fdbdd4b89074e6e24fffc20b - () https://git.kernel.org/stable/c/f5fcc9d6d71d9ff7fdbdd4b89074e6e24fffc20b -

29 Oct 2024, 16:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-476
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: s390/dasd: corrige Ups en dasd_alias_get_start_dev debido a la falta de pavgroup. Corrige Ups en la función dasd_alias_get_start_dev() causada porque el puntero pavgroup es NULL. El puntero pavgroup se verifica en la entrada de la función pero sin que se mantenga presionado el bloqueo lcu->. Por lo tanto, existe una ventana de ejecución entre dasd_alias_get_start_dev() y _lcu_update() que establece pavgroup en NULL con el bloqueo lcu->retenido. Para solucionarlo, compruebe el puntero de pavgroup con lcu->lock retenido.

28 Apr 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-28 13:15

Updated : 2024-11-21 07:33


NVD link : CVE-2022-48636

Mitre link : CVE-2022-48636

CVE.ORG link : CVE-2022-48636


JSON object : View

Products Affected

No product.

CWE
CWE-476

NULL Pointer Dereference