Description
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 "simple_write_to_buffer". 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.
Product status
df3892e5e861c43d5612728ed259634675b8a71f (git) before 6eea9f7648ddb9e4903735a1f77cf196c957aa38
035b4989211dc1c8626e186d655ae8ca5141bb73 (git) before 01e941aa7f5175125df4ac5d3aab099961525602
035b4989211dc1c8626e186d655ae8ca5141bb73 (git) before da9374819eb3885636934c1006d450c3cb1a02ed
04271a4d2740f98bbe36f82cd3d74677a839d1eb (git)
fd791c81f410ab1c554686a6f486dc7a176dfe35 (git)
6.12.23 (semver) before 6.12.40
6.13.11 (semver) before 6.14
6.14.2 (semver) before 6.15
6.15
Any version before 6.15
6.12.40 (semver)
6.15.8 (semver)
6.16 (original_commit_for_fix)
References
git.kernel.org/...c/6eea9f7648ddb9e4903735a1f77cf196c957aa38
git.kernel.org/...c/01e941aa7f5175125df4ac5d3aab099961525602
git.kernel.org/...c/da9374819eb3885636934c1006d450c3cb1a02ed