iio: pressure: zpa2326: fix information leak in triggered buffer (Linux Linux)

CVE-2024-57912
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 < 9629ff1a86823269b12fb1ba9ca4efa945906287 ; affected 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 < d25f1fc273670271412a52a1efbdaf5dcf274ed8 ; affected 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 < 64a989aa7475b8e76e69b9ec86819ea293e53bab ; affected 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 < b7849f62e61242e0e02c776e1109eb81e59c567c ; affected 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 < fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a ; affected 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 < 979a0db76ceda8fe1f2f85a116bfe97620ebbadf
Linux · Linuxaffected 4.9 ; unaffected 0 < 4.9 ; unaffected 5.4.290 ≤ 5.4.* ; unaffected 5.10.234 ≤ 5.10.* ; unaffected 5.15.177 ≤ 5.15.* ; unaffected 6.1.125 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD