5.5medium
rxrpc: Fix call removal to use RCU safe deletion
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix call removal to use RCU safe deletion Fix rxrpc call removal from the rxnet->calls list to use list_del_rcu() rather than list_del_init() to prevent stuffing up reading /proc/net/rxrpc/calls from potentially getting into an infinite loop. This, however, means that list_empty() no longer works on an entry that's been deleted from the list, making it harder to detect prior deletion. Fix this by: Firstly, make rxrpc_destroy_all_calls() only dump the first ten calls that are unexpectedly still on the list. Limiting the number of steps means there's no need to call cond_resched() or to remove calls from the list here, thereby eliminating the need for rxrpc_put_call() to check for that. rxrpc_put_call() can then be fixed to unconditionally delete the call from the list as it is the only place that the deletion occurs.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2baec2c3f854d1f79c7bb28386484e144e864a14 before 3e47a38e584b905359fe0ce5be5165d1e8592a90, from 2baec2c3f854d1f79c7bb28386484e144e864a14 before b15b1ce96777b88989a6a4de8d01efbcd81ad2d7, from 2baec2c3f854d1f79c7bb28386484e144e864a14 before 280efb85e9759881a9d31d0874baa04583cb6c09, from 2baec2c3f854d1f79c7bb28386484e144e864a14 before 93fc15be44a35b8e3c58d0238ac0d9b7c53465ff, from 2baec2c3f854d1f79c7bb28386484e144e864a14 before c63abf25203b50243fe228090526f9dbf37727bd, from 2baec2c3f854d1f79c7bb28386484e144e864a14 before 3be718f659683ad89fad6f1eb66bee99727cae64, from 2baec2c3f854d1f79c7bb28386484e144e864a14 before ac5f54691be06a32246179d41be2d73598036deb, from 2baec2c3f854d1f79c7bb28386484e144e864a14 before 146d4ab94cf129ee06cd467cb5c71368a6b5bad6 and 1 more Not affected: before 4.13, from 5.10.258 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.135 up to 6.6.*, from 6.12.82 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.13.1 before 6.6.135, from 6.7 before 6.12.82, from 6.13 before 6.18.23, from 6.19 before 6.19.13, 4.13, 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: Fix call removal to use RCU safe deletion Fix rxrpc call removal from the rxnet->calls list to use list_del_rcu() rather than list_del_init() to prevent stuffing up reading /proc/net/rxrpc/calls from potentially getting into an infinite loop. This, however, means that list_empty() no longer works on an entry that's been deleted from the list, making it harder to detect prior deletion. Fix this by: Firstly, make rxrpc_destroy_all_calls() only dump the first ten calls that are unexpectedly still on the list. Limiting the number of steps means there's no need to call cond_resched() or to remove calls from the list here, thereby eliminating the need for rxrpc_put_call() to check for that. rxrpc_put_call() can then be fixed to unconditionally delete the call from the list as it is the only place that the deletion occurs.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: rxrpc: Corrección de la eliminación de llamadas para usar la eliminación segura de RCU Corrige la eliminación de llamadas rxrpc de la lista rxnet -> calls para usar list_del_rcu() en lugar de list_del_init() para evitar que la lectura de /proc/ net/rxrpc/calls se atasque y potencialmente entre en un bucle infinito. Esto, sin embargo, significa que list_empty() ya no funciona en una entrada que ha sido eliminada de la lista, lo que dificulta la detección de una eliminación previa. Soluciona esto mediante: En primer lugar, haz que rxrpc_destroy_all_calls() solo vuelque las primeras diez llamadas que inesperadamente aún están en la lista. Limitar el número de pasos significa que no es necesario llamar a cond_resched() o eliminar llamadas de la lista aquí, eliminando así la necesidad de que rxrpc_put_call() lo compruebe. rxrpc_put_call() puede entonces ser corregido para eliminar incondicionalmente la llamada de la lista, ya que es el único lugar donde ocurre la eliminación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31642 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-31642 changed 2026-11-11 | Public domain |