Linux
iio: fix potential out-of-bound write
In the Linux kernel, the following vulnerability has been resolved: iio: fix potential out-of-bound write The buffer is set to 20 characters. If a caller write more characters, count is truncated to the max available space in "simple_write_to_buffer". To protect from OoB access, check that the input size fit into buffer and add a zero terminator after copy to the end of the copied data.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6d5dd486c715908b5a6ed02315a15ff044a91025, < 81a635b6eccd6fc889f6d07ab9583b705f739ce1
- >= 6d5dd486c715908b5a6ed02315a15ff044a91025, < 16285a0931869baa618b1f5d304e1e9d090470a8
Fixed in 81a635b6eccd6fc889f6d07ab9583b705f739ce1, 16285a0931869baa618b1f5d304e1e9d090470a8
- 6.15
Fixed in 0, 6.15.9, 6.16
Mitigation
Upgrade Linux to 81a635b6eccd6fc889f6d07ab9583b705f739ce1 or 16285a0931869baa618b1f5d304e1e9d090470a8 or later.
Upgrade Linux to 0 or 6.15.9 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.