Medium · published May 8, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 6.7.3, < 6.8 | 6.8 |
| linux/linux_kernel | ≥ 6.8, < 6.18.19 | 6.18.19 |
| linux/linux_kernel | ≥ 6.19, < 6.19.9 | 6.19.9 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |