Bug 2360259 (CVE-2025-22082) - CVE-2025-22082 kernel: iio: backend: make sure to NULL terminate stack buffer
Summary: CVE-2025-22082 kernel: iio: backend: make sure to NULL terminate stack buffer
Keywords:
Status: NEW
Alias: CVE-2025-22082
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-04-16 15:05 UTC by OSIDB Bzimport
Modified: 2025-04-30 09:15 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-16 15:05:13 UTC
In the Linux kernel, the following vulnerability has been resolved:

iio: backend: make sure to NULL terminate stack buffer

Make sure to NULL terminate the buffer in
iio_backend_debugfs_write_reg() before passing it to sscanf(). It is a
stack variable so we should not assume it will 0 initialized.

Comment 1 Avinash Hanwate 2025-04-17 09:21:48 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041614-CVE-2025-22082-dcb0@gregkh/T


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