CVE-2025-38484

iio: backend: fix out-of-bound write

HIGH 7.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: iio: backend: fix out-of-bound write The buffer is set to 80 character. If a caller write more characters, count is truncated to the max available space in "simple_write_to_buffer". But afterwards a string terminator is written to the buffer at offset count without boundary check. The zero termination is written OUT-OF-BOUND. Add a check that the given buffer is smaller then the buffer to prevent.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected df3892e5e861c43d5612728ed259634675b8a71f < 6eea9f7648ddb9e4903735a1f77cf196c957aa38 ; affected 035b4989211dc1c8626e186d655ae8ca5141bb73 < 01e941aa7f5175125df4ac5d3aab099961525602 ; affected 035b4989211dc1c8626e186d655ae8ca5141bb73 < da9374819eb3885636934c1006d450c3cb1a02ed ; affected 04271a4d2740f98bbe36f82cd3d74677a839d1eb ; affected fd791c81f410ab1c554686a6f486dc7a176dfe35 ; affected 6.12.23 < 6.12.40
Linux · Linuxaffected 6.15 ; unaffected 0 < 6.15 ; unaffected 6.12.40 ≤ 6.12.* ; unaffected 6.15.8 ≤ 6.15.* ; unaffected 6.16 ≤ *

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