rxrpc: Fix call removal to use RCU safe deletion (Linux Linux)

CVE-2026-31642
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-835 — Loop with Unreachable Exit Condition

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2baec2c3f854d1f79c7bb28386484e144e864a14 < 3e47a38e584b905359fe0ce5be5165d1e8592a90 ; affected 2baec2c3f854d1f79c7bb28386484e144e864a14 < b15b1ce96777b88989a6a4de8d01efbcd81ad2d7 ; affected 2baec2c3f854d1f79c7bb28386484e144e864a14 < 280efb85e9759881a9d31d0874baa04583cb6c09 ; affected 2baec2c3f854d1f79c7bb28386484e144e864a14 < 93fc15be44a35b8e3c58d0238ac0d9b7c53465ff ; affected 2baec2c3f854d1f79c7bb28386484e144e864a14 < c63abf25203b50243fe228090526f9dbf37727bd ; affected 2baec2c3f854d1f79c7bb28386484e144e864a14 < 3be718f659683ad89fad6f1eb66bee99727cae64
Linux · Linuxaffected 4.13 ; unaffected 0 < 4.13 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.135 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD