{"id":"CVE-2026-31642","state":"PUBLISHED","title":"rxrpc: Fix call removal to use RCU safe deletion","description":"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->calls 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.","publishedAt":"2026-04-24T14:44:56.888Z","updatedAt":"2026-10-15T01:17:26.893Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"3e47a38e584b905359fe0ce5be5165d1e8592a90","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"b15b1ce96777b88989a6a4de8d01efbcd81ad2d7","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"280efb85e9759881a9d31d0874baa04583cb6c09","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"93fc15be44a35b8e3c58d0238ac0d9b7c53465ff","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"c63abf25203b50243fe228090526f9dbf37727bd","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"3be718f659683ad89fad6f1eb66bee99727cae64","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"ac5f54691be06a32246179d41be2d73598036deb","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"146d4ab94cf129ee06cd467cb5c71368a6b5bad6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/trace/events/rxrpc.h","net/rxrpc/call_object.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"5.10.258","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.135","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.82","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.23","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.13","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/trace/events/rxrpc.h","net/rxrpc/call_object.c"]}],"references":["https://git.kernel.org/stable/c/3e47a38e584b905359fe0ce5be5165d1e8592a90","https://git.kernel.org/stable/c/b15b1ce96777b88989a6a4de8d01efbcd81ad2d7","https://git.kernel.org/stable/c/280efb85e9759881a9d31d0874baa04583cb6c09","https://git.kernel.org/stable/c/93fc15be44a35b8e3c58d0238ac0d9b7c53465ff","https://git.kernel.org/stable/c/c63abf25203b50243fe228090526f9dbf37727bd","https://git.kernel.org/stable/c/3be718f659683ad89fad6f1eb66bee99727cae64","https://git.kernel.org/stable/c/ac5f54691be06a32246179d41be2d73598036deb","https://git.kernel.org/stable/c/146d4ab94cf129ee06cd467cb5c71368a6b5bad6","https://cert-portal.siemens.com/productcert/html/ssa-784472.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31642.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31642","state":"PUBLISHED","datePublished":"2026-04-24T14:44:56.888Z","dateUpdated":"2026-10-15T01:17:26.893Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-03-09T15:48:24.127Z"},"containers":{"cna":{"title":"rxrpc: Fix call removal to use RCU safe deletion","descriptions":[{"lang":"en","value":"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->calls 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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"3e47a38e584b905359fe0ce5be5165d1e8592a90","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"b15b1ce96777b88989a6a4de8d01efbcd81ad2d7","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"280efb85e9759881a9d31d0874baa04583cb6c09","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"93fc15be44a35b8e3c58d0238ac0d9b7c53465ff","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"c63abf25203b50243fe228090526f9dbf37727bd","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"3be718f659683ad89fad6f1eb66bee99727cae64","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"ac5f54691be06a32246179d41be2d73598036deb","versionType":"git"},{"version":"2baec2c3f854d1f79c7bb28386484e144e864a14","status":"affected","lessThan":"146d4ab94cf129ee06cd467cb5c71368a6b5bad6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/trace/events/rxrpc.h","net/rxrpc/call_object.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"5.10.258","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.135","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.82","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.23","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.13","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/trace/events/rxrpc.h","net/rxrpc/call_object.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3e47a38e584b905359fe0ce5be5165d1e8592a90"},{"url":"https://git.kernel.org/stable/c/b15b1ce96777b88989a6a4de8d01efbcd81ad2d7"},{"url":"https://git.kernel.org/stable/c/280efb85e9759881a9d31d0874baa04583cb6c09"},{"url":"https://git.kernel.org/stable/c/93fc15be44a35b8e3c58d0238ac0d9b7c53465ff"},{"url":"https://git.kernel.org/stable/c/c63abf25203b50243fe228090526f9dbf37727bd"},{"url":"https://git.kernel.org/stable/c/3be718f659683ad89fad6f1eb66bee99727cae64"},{"url":"https://git.kernel.org/stable/c/ac5f54691be06a32246179d41be2d73598036deb"},{"url":"https://git.kernel.org/stable/c/146d4ab94cf129ee06cd467cb5c71368a6b5bad6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-01T16:13:09.070Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.10.258"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.15.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.1.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.6.135"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.12.82"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.18.23"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.19.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:17:26.893Z"},"x_adpType":"supplier"}]}}}