CVE-2024-43845

In the Linux kernel, the following vulnerability has been resolved: udf: Fix bogus checksum computation in udf_rename() Syzbot reports uninitialized memory access in udf_rename() when updating checksum of '..' directory entry of a moved directory. This is indeed true as we pass on-stack diriter.fi to the udf_update_tag() and because that has only struct fileIdentDesc included in it and not the impUse or name fields, the checksumming function is going to checksum random stack contents beyond the end of the structure. This is actually harmless because the following udf_fiiter_write_fi() will recompute the checksum from on-disk buffers where everything is properly included. So all that is needed is just removing the bogus calculation.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Oct 2024, 19:51

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/27ab33854873e6fb958cb074681a0107cc2ecc4c - () https://git.kernel.org/stable/c/27ab33854873e6fb958cb074681a0107cc2ecc4c - Patch
References () https://git.kernel.org/stable/c/40d7b3ed52449d36143bab8d3e70926aa61a60f4 - () https://git.kernel.org/stable/c/40d7b3ed52449d36143bab8d3e70926aa61a60f4 - Patch
References () https://git.kernel.org/stable/c/9c439311c13fc6faab1921441165c9b8b500c83b - () https://git.kernel.org/stable/c/9c439311c13fc6faab1921441165c9b8b500c83b - Patch
References () https://git.kernel.org/stable/c/c996b570305e7a6910c2ce4cdcd4c22757ffe241 - () https://git.kernel.org/stable/c/c996b570305e7a6910c2ce4cdcd4c22757ffe241 - Patch
References () https://git.kernel.org/stable/c/fe2ead240c31e8d158713beca9d0681a6e6a53ab - () https://git.kernel.org/stable/c/fe2ead240c31e8d158713beca9d0681a6e6a53ab - Patch
CWE CWE-908
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 3.3

22 Oct 2024, 15:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/9c439311c13fc6faab1921441165c9b8b500c83b -

29 Aug 2024, 17:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/c996b570305e7a6910c2ce4cdcd4c22757ffe241 -

19 Aug 2024, 12:59

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: udf: corrige el cálculo falso de la suma de comprobación en udf_rename() Syzbot informa acceso a memoria no inicializada en udf_rename() al actualizar la suma de comprobación de la entrada del directorio '..' de un directorio movido. De hecho, esto es cierto cuando pasamos diriter.fi en la pila a udf_update_tag() y debido a que solo tiene la estructura fileIdentDesc incluida y no los campos impUse o nombre, la función de suma de verificación sumará los contenidos aleatorios de la pila más allá del final de la estructura. En realidad, esto es inofensivo porque el siguiente udf_fiiter_write_fi() volverá a calcular la suma de comprobación de los búferes en el disco donde todo está incluido correctamente. Así que todo lo que se necesita es simplemente eliminar el cálculo falso.

17 Aug 2024, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-17 10:15

Updated : 2024-10-25 19:51


NVD link : CVE-2024-43845

Mitre link : CVE-2024-43845

CVE.ORG link : CVE-2024-43845


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-908

Use of Uninitialized Resource