In the Linux kernel, the following vulnerability has been resolved:
gpio: virtuser: fix potential out-of-bound write
If the caller wrote more characters, count is truncated to the max available space in "simplewriteto_buffer". Check that the input size does not exceed the buffer size. Write a zero termination afterwards.