CVE-2024-57912 Information

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.

Reference

https://git.kernel.org/stable/c/6007d10c5262f6f71479627c1216899ea7f09073 https://git.kernel.org/stable/c/979a0db76ceda8fe1f2f85a116bfe97620ebbadf https://git.kernel.org/stable/c/b7849f62e61242e0e02c776e1109eb81e59c567c https://git.kernel.org/stable/c/fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a

Share on: