CVE-2024-47723

In the Linux kernel, the following vulnerability has been resolved: jfs: fix out-of-bounds in dbNextAG() and diAlloc() In dbNextAG() , there is no check for the case where bmp->db_numag is greater or same than MAXAG due to a polluted image, which causes an out-of-bounds. Therefore, a bounds check should be added in dbMount(). And in dbNextAG(), a check for the case where agpref is greater than bmp->db_numag should be added, so an out-of-bounds exception should be prevented. Additionally, a check for the case where agno is greater or same than MAXAG should be added in diAlloc() to prevent out-of-bounds.
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/5ad6284c8d433f8a213111c5c44ead4d9705b622 -
  • () https://git.kernel.org/stable/c/d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0 -

24 Oct 2024, 16:17

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0338e66cba272351ca9d7d03f3628e390e70963b - () https://git.kernel.org/stable/c/0338e66cba272351ca9d7d03f3628e390e70963b - Patch
References () https://git.kernel.org/stable/c/128d5cfdcf844cb690c9295a3a1c1114c21fc15a - () https://git.kernel.org/stable/c/128d5cfdcf844cb690c9295a3a1c1114c21fc15a - Patch
References () https://git.kernel.org/stable/c/6ce8b6ab44a8b5918c0ee373d4ad19d19017931b - () https://git.kernel.org/stable/c/6ce8b6ab44a8b5918c0ee373d4ad19d19017931b - Patch
References () https://git.kernel.org/stable/c/96855f40e152989c9e7c20c4691ace5581098acc - () https://git.kernel.org/stable/c/96855f40e152989c9e7c20c4691ace5581098acc - Patch
References () https://git.kernel.org/stable/c/c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2 - () https://git.kernel.org/stable/c/c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2 - Patch
References () https://git.kernel.org/stable/c/e63866a475562810500ea7f784099bfe341e761a - () https://git.kernel.org/stable/c/e63866a475562810500ea7f784099bfe341e761a - Patch
References () https://git.kernel.org/stable/c/ead82533278502428883085a787d5a00f15e5eb9 - () https://git.kernel.org/stable/c/ead82533278502428883085a787d5a00f15e5eb9 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: jfs: corregir fuera de los límites en dbNextAG() y diAlloc() En dbNextAG(), no hay ninguna comprobación para el caso en el que bmp->db_numag es mayor o igual que MAXAG debido a una imagen contaminada, lo que provoca un out-of-bounds. Por lo tanto, se debe agregar una comprobación de los límites en dbMount(). Y en dbNextAG(), se debe agregar una comprobación para el caso en el que agpref es mayor que bmp->db_numag, por lo que se debe evitar una excepción fuera de los límites. Además, se debe agregar una comprobación para el caso en el que agno es mayor o igual que MAXAG en diAlloc() para prevenir out-of-bounds.
CWE CWE-125

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-47723

Mitre link : CVE-2024-47723

CVE.ORG link : CVE-2024-47723


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read