{"id":"CVE-2025-38484","summary":"iio: backend: fix out-of-bound write","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: backend: fix out-of-bound write\n\nThe buffer is set to 80 character. If a caller write more characters,\ncount is truncated to the max available space in \"simple_write_to_buffer\".\nBut afterwards a string terminator is written to the buffer at offset count\nwithout boundary check. The zero termination is written OUT-OF-BOUND.\n\nAdd a check that the given buffer is smaller then the buffer to prevent.","modified":"2026-04-02T12:48:00.283519Z","published":"2025-07-28T11:21:48.690Z","related":["SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38484.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01e941aa7f5175125df4ac5d3aab099961525602"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6eea9f7648ddb9e4903735a1f77cf196c957aa38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da9374819eb3885636934c1006d450c3cb1a02ed"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38484.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38484"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"df3892e5e861c43d5612728ed259634675b8a71f"},{"fixed":"6eea9f7648ddb9e4903735a1f77cf196c957aa38"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"035b4989211dc1c8626e186d655ae8ca5141bb73"},{"fixed":"01e941aa7f5175125df4ac5d3aab099961525602"},{"fixed":"da9374819eb3885636934c1006d450c3cb1a02ed"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"04271a4d2740f98bbe36f82cd3d74677a839d1eb"},{"last_affected":"fd791c81f410ab1c554686a6f486dc7a176dfe35"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38484.json"}}],"schema_version":"1.7.5"}