CVE-2024-57912

In the Linux kernel, the following vulnerability has been resolved: iio: pressure: zpa2326: fix information leak in triggered buffer The 'sample' local struct is used to push data to user space from a triggered buffer, but it has a hole between the temperature and the timestamp (u32 pressure, u16 temperature, GAP, u64 timestamp). This hole is never initialized. Initialize the struct to zero before using it to avoid pushing uninitialized information to userspace.
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:6.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*

History

18 Feb 2025, 13:38

Type Values Removed Values Added
CWE CWE-908
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/6007d10c5262f6f71479627c1216899ea7f09073 - () https://git.kernel.org/stable/c/6007d10c5262f6f71479627c1216899ea7f09073 - Patch
References () https://git.kernel.org/stable/c/64a989aa7475b8e76e69b9ec86819ea293e53bab - () https://git.kernel.org/stable/c/64a989aa7475b8e76e69b9ec86819ea293e53bab - Patch
References () https://git.kernel.org/stable/c/9629ff1a86823269b12fb1ba9ca4efa945906287 - () https://git.kernel.org/stable/c/9629ff1a86823269b12fb1ba9ca4efa945906287 - Patch
References () https://git.kernel.org/stable/c/979a0db76ceda8fe1f2f85a116bfe97620ebbadf - () https://git.kernel.org/stable/c/979a0db76ceda8fe1f2f85a116bfe97620ebbadf - Patch
References () https://git.kernel.org/stable/c/b7849f62e61242e0e02c776e1109eb81e59c567c - () https://git.kernel.org/stable/c/b7849f62e61242e0e02c776e1109eb81e59c567c - Patch
References () https://git.kernel.org/stable/c/d25f1fc273670271412a52a1efbdaf5dcf274ed8 - () https://git.kernel.org/stable/c/d25f1fc273670271412a52a1efbdaf5dcf274ed8 - Patch
References () https://git.kernel.org/stable/c/fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a - () https://git.kernel.org/stable/c/fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CPE cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*

02 Feb 2025, 11:15

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

23 Jan 2025, 17:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/64a989aa7475b8e76e69b9ec86819ea293e53bab -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: pressure: zpa2326: fix information leak in triggered buffer La estructura local 'sample' se usa para enviar datos al espacio de usuario desde un búfer activado, pero tiene un agujero entre la temperatura y la marca de tiempo (presión u32, temperatura u16, GAP, marca de tiempo u64). Este agujero nunca se inicializa. Inicialice la estructura a cero antes de usarla para evitar enviar información no inicializada al espacio de usuario.

19 Jan 2025, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-19 12:15

Updated : 2025-02-18 13:38


NVD link : CVE-2024-57912

Mitre link : CVE-2024-57912

CVE.ORG link : CVE-2024-57912


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-908

Use of Uninitialized Resource