In the Linux kernel, the following vulnerability has been resolved: ice: Fix potential memory leak in ice_gnss_tty_write() The ice_gnss_tty_write() return directly if the write_buf alloc failed, leaking the cmd_buf. Fix by free cmd_buf if write_buf alloc failed.
https://git.kernel.org/stable/c/f58985620f55580a07d40062c4115d8c9cf6ae27
https://git.kernel.org/stable/c/500ca1da9d0876244eb4d1b0ece6fa0e9968d45d