Bug 2383899 (CVE-2025-38484) - CVE-2025-38484 kernel: iio: backend: fix out-of-bound write
Summary: CVE-2025-38484 kernel: iio: backend: fix out-of-bound write
Keywords:
Status: NEW
Alias: CVE-2025-38484
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-28 12:01 UTC by OSIDB Bzimport
Modified: 2025-08-14 06:01 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-28 12:01:49 UTC
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.

Comment 1 Avinash Hanwate 2025-07-28 16:09:09 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025072815-CVE-2025-38484-4faf@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.