In the Linux kernel, the following vulnerability has been resolved: wifi: carl9170: NUL terminate string in debugfs The "buf" buffer comes from the user. We use it to store a number or two so it doesn't need to be large. It gets passed to sscanf() in the write functions such as carl9170_debugfs_erp_write(). Ensure that buffer is NUL terminated. This is debugfs so it's root only.
https://git.kernel.org/stable/c/ece30e1daf6a9c95d6f9d0518534a0b9c8c7fd42
https://git.kernel.org/stable/c/c52d27ed82d8b897cd9d98f855642a9e6308c273
https://git.kernel.org/stable/c/3bf2b59d4f82ec4d0d6ce2012062be8d1fb1c000
https://git.kernel.org/stable/c/341993ab55f031aba1a404561b725bffc0882116
https://git.kernel.org/stable/c/337906117a0dc5af469d94f9c8a0ee7ac4dcfd86
https://git.kernel.org/stable/c/2e7dd4aa94db6043e309acbd4587dbe2ee11d21c
https://git.kernel.org/stable/c/289894a1eb2ee38de04df42fdcf4a8cb97ad3b8d
https://git.kernel.org/stable/c/178998a6cf135fb527e6962f00b0bdc28e51e299