CVE-2024-57912

medium

Description

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.

References

https://git.kernel.org/stable/c/fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a

https://git.kernel.org/stable/c/b7849f62e61242e0e02c776e1109eb81e59c567c

https://git.kernel.org/stable/c/979a0db76ceda8fe1f2f85a116bfe97620ebbadf

https://git.kernel.org/stable/c/64a989aa7475b8e76e69b9ec86819ea293e53bab

https://git.kernel.org/stable/c/6007d10c5262f6f71479627c1216899ea7f09073

Details

Source: Mitre, NVD

Published: 2025-01-19

Updated: 2025-01-23

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N

Severity: Low

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Severity: Medium