In the Linux kernel, the following vulnerability has been resolved:
ice: Fix potential memory leak in icegnsstty_write()
The icegnssttywrite() return directly if the writebuf alloc failed, leaking the cmd_buf.
Fix by free cmdbuf if writebuf alloc failed.