Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected df3892e5e861c43d5612728ed259634675b8a71f before 6eea9f7648ddb9e4903735a1f77cf196c957aa38; affected 035b4989211dc1c8626e186d655ae8ca5141bb73 before 01e941aa7f5175125df4ac5d3aab099961525602; affected 035b4989211dc1c8626e186d655ae8ca5141bb73 before da9374819eb3885636934c1006d450c3cb1a02ed; affected 04271a4d2740f98bbe36f82cd3d74677a839d1eb; affected fd791c81f410ab1c554686a6f486dc7a176dfe35; affected 6.12.23 before 6.12.40; affected 6.13.11 before 6.14; affected 6.14.2 before 6.15 |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.12.40 through 6.12.*; unaffected 6.15.8 through 6.15.*; unaffected 6.16 through * |
CWE
No CWE identifiers supplied.