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.
https://git.kernel.org/stable/c/81a635b6eccd6fc889f6d07ab9583b705f739ce1
https://git.kernel.org/stable/c/16285a0931869baa618b1f5d304e1e9d090470a8