CVE-2024-57910

medium

Description

In the Linux kernel, the following vulnerability has been resolved: iio: light: vcnl4035: fix information leak in triggered buffer The 'buffer' local array is used to push data to userspace from a triggered buffer, but it does not set an initial value for the single data element, which is an u16 aligned to 8 bytes. That leaves at least 4 bytes uninitialized even after writing an integer value with regmap_read(). Initialize the array to zero before using it to avoid pushing uninitialized information to userspace.

References

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

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

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

https://git.kernel.org/stable/c/47d245be86492974db3aeb048609542167f56518

https://git.kernel.org/stable/c/47b43e53c0a0edf5578d5d12f5fc71c019649279

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