# CVE-2024-40992: RDMA/rxe: Fix responder length checking for UD request packets

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2024-07-12T12:37:35.800Z
- Modified: 2026-08-05T11:34:30.286Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/rxe: Fix responder length checking for UD request packets

According to the IBA specification:
If a UD request packet is detected with an invalid length, the request
shall be an invalid request and it shall be silently dropped by
the responder. The responder then waits for a new request packet.

commit 689c5421bfe0 ("RDMA/rxe: Fix incorrect responder length checking")
defers responder length check for UD QPs in function `copy_data`.
But it introduces a regression issue for UD QPs.

When the packet size is too large to fit in the receive buffer.
`copy_data` will return error code -EINVAL. Then `send_data_in`
will return RESPST_ERR_MALFORMED_WQE. UD QP will transfer into
ERROR state.

(As written by CVE List.)

## Affected

- Linux Linux: from 689c5421bfe0eac65526bd97a466b9590a6aad3c before 163868ec1f6c610d16da9e458fe1dd7d5de97341; from 689c5421bfe0eac65526bd97a466b9590a6aad3c before 943c94f41dfe36536dc9aaa12c9efdf548ceb996; from 689c5421bfe0eac65526bd97a466b9590a6aad3c before f67ac0061c7614c1548963d3ef1ee1606efd8636; 6.2 (not affected: before 6.2; from 6.6.36 up to 6.6.*; from 6.9.7 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.2 before 6.6.36; from 6.7 before 6.9.7; 6.10

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/163868ec1f6c610d16da9e458fe1dd7d5de97341> (patch)
- <https://git.kernel.org/stable/c/943c94f41dfe36536dc9aaa12c9efdf548ceb996> (patch)
- <https://git.kernel.org/stable/c/f67ac0061c7614c1548963d3ef1ee1606efd8636> (patch)

## Sources

- CVE List: [CVE-2024-40992](https://www.cve.org/CVERecord?id=CVE-2024-40992), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-40992](https://nvd.nist.gov/vuln/detail/CVE-2024-40992), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-40992 · Whole record: https://cve.day/CVE-2024-40992.json · Rebuilt by cve.day 2026-11-25T22:58:42.880Z
