CVE-2024-47757

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential oob read in nilfs_btree_check_delete() The function nilfs_btree_check_delete(), which checks whether degeneration to direct mapping occurs before deleting a b-tree entry, causes memory access outside the block buffer when retrieving the maximum key if the root node has no entries. This does not usually happen because b-tree mappings with 0 child nodes are never created by mkfs.nilfs2 or nilfs2 itself. However, it can happen if the b-tree root node read from a device is configured that way, so fix this potential issue by adding a check for that case.
Configurations

Configuration 1 (hide)

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

History

08 Nov 2024, 16:15

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

22 Oct 2024, 15:54

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
References () https://git.kernel.org/stable/c/257f9e5185eb6de83377caea686c306e22e871f2 - () https://git.kernel.org/stable/c/257f9e5185eb6de83377caea686c306e22e871f2 - Patch
References () https://git.kernel.org/stable/c/a33e967b681e088a125b979975c93e3453e686cd - () https://git.kernel.org/stable/c/a33e967b681e088a125b979975c93e3453e686cd - Patch
References () https://git.kernel.org/stable/c/a8abfda768b9f33630cfbc4af6c4214f1e5681b0 - () https://git.kernel.org/stable/c/a8abfda768b9f33630cfbc4af6c4214f1e5681b0 - Patch
References () https://git.kernel.org/stable/c/c4cbcc64bb31e67e02940ce060cc77f7180564cf - () https://git.kernel.org/stable/c/c4cbcc64bb31e67e02940ce060cc77f7180564cf - Patch
References () https://git.kernel.org/stable/c/c4f8554996e8ada3be872dfb8f60e93bcf15fb27 - () https://git.kernel.org/stable/c/c4f8554996e8ada3be872dfb8f60e93bcf15fb27 - Patch
References () https://git.kernel.org/stable/c/d20674f31626e0596ae4c1d9401dfb6739b81b58 - () https://git.kernel.org/stable/c/d20674f31626e0596ae4c1d9401dfb6739b81b58 - Patch
References () https://git.kernel.org/stable/c/f9c96351aa6718b42a9f42eaf7adce0356bdb5e8 - () https://git.kernel.org/stable/c/f9c96351aa6718b42a9f42eaf7adce0356bdb5e8 - Patch
CWE CWE-125
First Time Linux linux Kernel
Linux
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nilfs2: se corrige una posible lectura fuera de línea en nilfs_btree_check_delete() La función nilfs_btree_check_delete(), que comprueba si se produce una degeneración en el mapeo directo antes de eliminar una entrada del árbol b, provoca un acceso a la memoria fuera del búfer de bloque al recuperar la clave máxima si el nodo raíz no tiene entradas. Esto no suele ocurrir porque los mapeos de árboles b con 0 nodos secundarios nunca son creados por mkfs.nilfs2 o nilfs2 en sí. Sin embargo, puede ocurrir si el nodo raíz del árbol b que lee desde un dispositivo está configurado de esa manera, así que solucione este posible problema añadiendo una comprobación para ese caso.

21 Oct 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-21 13:15

Updated : 2024-11-08 16:15


NVD link : CVE-2024-47757

Mitre link : CVE-2024-47757

CVE.ORG link : CVE-2024-47757


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read