CVE-2025-22082: iio: backend: make sure to NULL terminate stack buffer

Published Apr 16, 2025
·
Updated

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 iiobackenddebugfswritereg() before passing it to sscanf(). It is a stack variable so we should not assume it will 0 initialized.

Affected Software

4 affected components
Linux Kernel
Linux Linux kernel>=6.12<6.12.23
Linux Linux kernel>=6.13<6.13.11
Linux Linux kernel>=6.14<6.14.2

Event History

Apr 16, 2025
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-22082?

CVE-2025-22082 is considered a medium severity vulnerability due to potential stack buffer issues.

2

How do I fix CVE-2025-22082?

To fix CVE-2025-22082, ensure that the stack buffer in iio_backend_debugfs_write_reg() is NULL terminated before using it.

3

What software is affected by CVE-2025-22082?

CVE-2025-22082 affects the Linux Kernel, particularly versions prior to the patch addressing this vulnerability.

4

What does CVE-2025-22082 exploit?

CVE-2025-22082 exploits a stack buffer issue which may lead to improper handling of input data.

5

What is the recommendation for users regarding CVE-2025-22082?

Users are recommended to update their Linux Kernel to the latest version to mitigate risks associated with CVE-2025-22082.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203