{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38484","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T04:51:24.021Z","datePublished":"2025-07-28T11:21:48.690Z","dateUpdated":"2026-05-11T21:28:54.348Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:28:54.348Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/industrialio-backend.c"],"versions":[{"version":"df3892e5e861c43d5612728ed259634675b8a71f","lessThan":"6eea9f7648ddb9e4903735a1f77cf196c957aa38","status":"affected","versionType":"git"},{"version":"035b4989211dc1c8626e186d655ae8ca5141bb73","lessThan":"01e941aa7f5175125df4ac5d3aab099961525602","status":"affected","versionType":"git"},{"version":"035b4989211dc1c8626e186d655ae8ca5141bb73","lessThan":"da9374819eb3885636934c1006d450c3cb1a02ed","status":"affected","versionType":"git"},{"version":"04271a4d2740f98bbe36f82cd3d74677a839d1eb","status":"affected","versionType":"git"},{"version":"fd791c81f410ab1c554686a6f486dc7a176dfe35","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/industrialio-backend.c"],"versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","status":"unaffected","versionType":"semver"},{"version":"6.12.40","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.8","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.23","versionEndExcluding":"6.12.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.15.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/6eea9f7648ddb9e4903735a1f77cf196c957aa38"},{"url":"https://git.kernel.org/stable/c/01e941aa7f5175125df4ac5d3aab099961525602"},{"url":"https://git.kernel.org/stable/c/da9374819eb3885636934c1006d450c3cb1a02ed"}],"title":"iio: backend: fix out-of-bound write","x_generator":{"engine":"bippy-1.2.0"}}}}