{"id":"CVE-2026-31642","summary":"rxrpc: Fix call removal to use RCU safe deletion","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix call removal to use RCU safe deletion\n\nFix rxrpc call removal from the rxnet-\u003ecalls list to use list_del_rcu()\nrather than list_del_init() to prevent stuffing up reading\n/proc/net/rxrpc/calls from potentially getting into an infinite loop.\n\nThis, however, means that list_empty() no longer works on an entry that's\nbeen deleted from the list, making it harder to detect prior deletion.  Fix\nthis by:\n\nFirstly, make rxrpc_destroy_all_calls() only dump the first ten calls that\nare unexpectedly still on the list.  Limiting the number of steps means\nthere's no need to call cond_resched() or to remove calls from the list\nhere, thereby eliminating the need for rxrpc_put_call() to check for that.\n\nrxrpc_put_call() can then be fixed to unconditionally delete the call from\nthe list as it is the only place that the deletion occurs.","modified":"2026-05-28T03:52:48.641286490Z","published":"2026-04-24T14:44:56.888Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31642.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/146d4ab94cf129ee06cd467cb5c71368a6b5bad6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3be718f659683ad89fad6f1eb66bee99727cae64"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93fc15be44a35b8e3c58d0238ac0d9b7c53465ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac5f54691be06a32246179d41be2d73598036deb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c63abf25203b50243fe228090526f9dbf37727bd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31642.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31642"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2baec2c3f854d1f79c7bb28386484e144e864a14"},{"fixed":"93fc15be44a35b8e3c58d0238ac0d9b7c53465ff"},{"fixed":"c63abf25203b50243fe228090526f9dbf37727bd"},{"fixed":"3be718f659683ad89fad6f1eb66bee99727cae64"},{"fixed":"ac5f54691be06a32246179d41be2d73598036deb"},{"fixed":"146d4ab94cf129ee06cd467cb5c71368a6b5bad6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31642.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"6.6.135"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.82"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.23"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31642.json"}}],"schema_version":"1.7.5"}