In the Linux kernel, the following vulnerability has been resolved: rxrpc, afs: Fix missing error pointer check after rxrpc_kernel_lookup_peer() rxrpc_kernel_lookup_peer() can also return error pointers in addition to NULL, so just checking for NULL is not sufficient. Fix this by: (1) Changing rxrpc_kernel_lookup_peer() to return -ENOMEM rather than NULL on allocation failure. (2) Making the callers in afs use IS_ERR() and PTR_ERR() to pass on the error code returned.
https://git.kernel.org/stable/c/d55fa7cd4b19ba91b34b307d769c149e56ad0a75
https://git.kernel.org/stable/c/54331c5dcc6d97683d7ca2788e7ef9c9505e1477
https://git.kernel.org/stable/c/4245a79003adf30e67f8e9060915bd05cb31d142