CVE-2022-48703

In the Linux kernel, the following vulnerability has been resolved: thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR In some case, the GDDV returns a package with a buffer which has zero length. It causes that kmemdup() returns ZERO_SIZE_PTR (0x10). Then the data_vault_read() got NULL point dereference problem when accessing the 0x10 value in data_vault. [ 71.024560] BUG: kernel NULL pointer dereference, address: 0000000000000010 This patch uses ZERO_OR_NULL_PTR() for checking ZERO_SIZE_PTR or NULL value in data_vault.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*

History

05 Mar 2025, 15:11

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CWE CWE-476
References () https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d - () https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d - Patch
References () https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2 - () https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

21 Nov 2024, 07:33

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d - () https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d -
References () https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2 - () https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2 -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Thermal/int340x_thermal: maneja data_vault cuando el valor es ZERO_SIZE_PTR. En algunos casos, el GDDV devuelve un paquete con un buffer que tiene longitud cero. Provoca que kmemdup() devuelva ZERO_SIZE_PTR (0x10). Luego, data_vault_read() tuvo un problema de desreferencia de punto NULL al acceder al valor 0x10 en data_vault. [71.024560] ERROR: desreferencia del puntero NULL del kernel, dirección: 00000000000000010 Este parche usa ZERO_OR_NULL_PTR() para verificar ZERO_SIZE_PTR o el valor NULL en data_vault.

03 May 2024, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-03 16:15

Updated : 2025-03-05 15:11


NVD link : CVE-2022-48703

Mitre link : CVE-2022-48703

CVE.ORG link : CVE-2022-48703


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference