5.5medium
rxrpc, afs: Fix missing error pointer check after rxrpc_kernel_lookup_peer()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 72904d7b9bfbf2dd146254edea93958bc35bbbfe before d854c93b12f2076c564f595b41b93b02fd42a0f9, from 72904d7b9bfbf2dd146254edea93958bc35bbbfe before d55fa7cd4b19ba91b34b307d769c149e56ad0a75, from 72904d7b9bfbf2dd146254edea93958bc35bbbfe before 54331c5dcc6d97683d7ca2788e7ef9c9505e1477, from 72904d7b9bfbf2dd146254edea93958bc35bbbfe before 4245a79003adf30e67f8e9060915bd05cb31d142, 056fc740be000d39a7dba700a935f3bbfbc664e6, from 6.7.3 before 6.8, 6.8 Not affected: before 6.8, from 6.12.114 up to 6.12.*, from 6.18.19 up to 6.18.*, from 6.19.9 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.7.3 before 6.8, from 6.8 before 6.18.19, from 6.19 before 6.19.9, 7.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: rxrpc, afs: Corrección de la comprobación faltante del puntero de error después de rxrpc_kernel_lookup_peer() rxrpc_kernel_lookup_peer() también puede devolver punteros de error además de NULL, por lo que solo comprobar si es NULL no es suficiente. Solucione esto mediante: (1) Cambiando rxrpc_kernel_lookup_peer() para que devuelva -ENOMEM en lugar de NULL en caso de fallo de asignación. (2) Haciendo que las funciones que llaman en afs utilicen IS_ERR() y PTR_ERR() para pasar el código de error devuelto.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43463 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-43463 changed 2026-11-11 | Public domain |