CVE-2026-97413

RDMA/rtrs-srv: Fix integer underflow in process_read and process_write

CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.50 % · percentile 43 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-srv: Fix integer underflow in process_read and process_write usr_len is read from a network-supplied message field (le16_to_cpu) and used to compute data_len = off - usr_len without validating that usr_len <= off. A malicious RDMA client can send usr_len > off causing an integer underflow, resulting in data_len wrapping to a huge size_t value which is then passed to the rdma_ev callback as a memory length, leading to out-of-bounds memory access. Fix by reading and validating usr_len <= off before rtrs_srv_get_ops_ids() in both process_read() and process_write(), ensuring the early return path acquires no reference and has no resource leak.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 9cb837480424e78ed585376f944088246685aec3 < 6b1e26e70d7ca9f0906af2283558a530eeb1f066 ; affected 9cb837480424e78ed585376f944088246685aec3 < 2c52b2afded988233cd4ccc185cf5147bbc77a76 ; affected 9cb837480424e78ed585376f944088246685aec3 < b042b4947752df0b3d16e683ac09fb4f7f0e33e0 ; affected 9cb837480424e78ed585376f944088246685aec3 < 24ad03bfeda05fca04c56677e57fd3d6bc3e9978 ; affected 9cb837480424e78ed585376f944088246685aec3 < c76e9123ab91a903396d26e6ab1b5caae5c6b149 ; affected 9cb837480424e78ed585376f944088246685aec3 < 54bf38b27afc08a0eb6b732f9c14eb8a4bcb66b5
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.111 ≤ 6.12.*

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