CVE-2026-31642

rxrpc: Fix call removal to use RCU safe deletion

State
Published
Severity
Not scored
Published
Apr 24, 2026
Updated
Oct 15, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2baec2c3f854d1f79c7bb28386484e144e864a14 to before 3e47a38e584b905359fe0ce5be5165d1e8592a90Affected
  • 2baec2c3f854d1f79c7bb28386484e144e864a14 to before b15b1ce96777b88989a6a4de8d01efbcd81ad2d7Affected
  • 2baec2c3f854d1f79c7bb28386484e144e864a14 to before 280efb85e9759881a9d31d0874baa04583cb6c09Affected
  • 2baec2c3f854d1f79c7bb28386484e144e864a14 to before 93fc15be44a35b8e3c58d0238ac0d9b7c53465ffAffected
  • 2baec2c3f854d1f79c7bb28386484e144e864a14 to before c63abf25203b50243fe228090526f9dbf37727bdAffected
  • 2baec2c3f854d1f79c7bb28386484e144e864a14 to before 3be718f659683ad89fad6f1eb66bee99727cae64Affected
  • 2baec2c3f854d1f79c7bb28386484e144e864a14 to before ac5f54691be06a32246179d41be2d73598036debAffected
  • 2baec2c3f854d1f79c7bb28386484e144e864a14 to before 146d4ab94cf129ee06cd467cb5c71368a6b5bad6Affected
LinuxLinux
  • 4.13Affected
  • before 4.13Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.135 through 6.6.*Not affected
  • 6.12.82 through 6.12.*Not affected
  • 6.18.23 through 6.18.*Not affected
  • 6.19.13 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.