Linux
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 "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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= df3892e5e861c43d5612728ed259634675b8a71f, < 6eea9f7648ddb9e4903735a1f77cf196c957aa38
- >= 035b4989211dc1c8626e186d655ae8ca5141bb73, < 01e941aa7f5175125df4ac5d3aab099961525602
- >= 035b4989211dc1c8626e186d655ae8ca5141bb73, < da9374819eb3885636934c1006d450c3cb1a02ed
- 04271a4d2740f98bbe36f82cd3d74677a839d1eb
- fd791c81f410ab1c554686a6f486dc7a176dfe35
- >= 6.12.23, < 6.12.40
- >= 6.13.11, < 6.14
- >= 6.14.2, < 6.15
Fixed in 6eea9f7648ddb9e4903735a1f77cf196c957aa38, 01e941aa7f5175125df4ac5d3aab099961525602, da9374819eb3885636934c1006d450c3cb1a02ed, 6.12.40, 6.14, 6.15
- 6.15
Fixed in 0, 6.12.40, 6.15.8, 6.16
Mitigation
Upgrade Linux to 6eea9f7648ddb9e4903735a1f77cf196c957aa38 or 01e941aa7f5175125df4ac5d3aab099961525602 or da9374819eb3885636934c1006d450c3cb1a02ed or 6.12.40 or 6.14 or 6.15 or later.
Upgrade Linux to 0 or 6.12.40 or 6.15.8 or 6.16 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.