CVE-2025-38484: iio: backend: fix out-of-bound write
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 "simplewritetobuffer". 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-aws-6.14to a version that resolves this vulnerability.Fixed in 6.14.0-1017.17~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-6.14to a version that resolves this vulnerability.Fixed in 6.14.0-1017.17~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-6.14to a version that resolves this vulnerability.Fixed in 6.14.0-1020.21~24.04.1 - Upgrade
Upgrade
ubuntu/linux-oem-6.14to a version that resolves this vulnerability.Fixed in 6.14.0-1016.16 - Upgrade
Upgrade
ubuntu/linux-oracle-6.14to a version that resolves this vulnerability.Fixed in 6.14.0-1017.17~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-6.14to a version that resolves this vulnerability.Fixed in 6.14.0-36.36.1~24.04.1 - Upgrade
Upgrade
ubuntu/linux-realtime-6.14to a version that resolves this vulnerability.Fixed in 6.14.0-1016.16~24.04.1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.40 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.14 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.15.8 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Compensating control
Before writing the string terminator at offset count, check that count is within the buffer bounds; truncate count to the available space, as simple_write_to_buffer does.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38484?
The severity of CVE-2025-38484 is categorized as a moderate vulnerability due to the potential for buffer overflows.
How do I fix CVE-2025-38484?
To fix CVE-2025-38484, you should update to the latest version of the Linux kernel where the vulnerability has been addressed.
What are the potential impacts of CVE-2025-38484?
The potential impacts of CVE-2025-38484 include unauthorized access and instability in systems using the affected Linux kernel.
Which versions of Linux Kernel are affected by CVE-2025-38484?
CVE-2025-38484 affects multiple versions of the Linux kernel that have not been updated to address this specific vulnerability.
Is CVE-2025-38484 related to IIO backend functionalities?
Yes, CVE-2025-38484 specifically relates to an out-of-bounds write vulnerability within the IIO backend functions in the Linux kernel.