In the Linux kernel, the following vulnerability has been resolved: ice: Add check for kzalloc Add the check for the return value of kzalloc in order to avoid NULL pointer dereference. Moreover, use the goto-label to share the clean code.
https://git.kernel.org/stable/c/96a9873188552ebb2afe76033d7329a5ecabef6e
https://git.kernel.org/stable/c/40543b3d9d2c13227ecd3aa90a713c201d1d7f09