{"id":"CVE-2024-40992","published":"2024-07-12T12:37:35Z","modified":"2026-08-05T11:34:30Z","title":"RDMA/rxe: Fix responder length checking for UD request packets","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix responder length checking for UD request packets\n\nAccording to the IBA specification:\nIf a UD request packet is detected with an invalid length, the request\nshall be an invalid request and it shall be silently dropped by\nthe responder. The responder then waits for a new request packet.\n\ncommit 689c5421bfe0 (\"RDMA/rxe: Fix incorrect responder length checking\")\ndefers responder length check for UD QPs in function `copy_data`.\nBut it introduces a regression issue for UD QPs.\n\nWhen the packet size is too large to fit in the receive buffer.\n`copy_data` will return error code -EINVAL. Then `send_data_in`\nwill return RESPST_ERR_MALFORMED_WQE. UD QP will transfer into\nERROR state.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00606,"percentile":0.4993,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/163868ec1f6c610d16da9e458fe1dd7d5de97341","tags":[]},{"url":"https://git.kernel.org/stable/c/943c94f41dfe36536dc9aaa12c9efdf548ceb996","tags":[]},{"url":"https://git.kernel.org/stable/c/f67ac0061c7614c1548963d3ef1ee1606efd8636","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.99},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 689c5421bfe0eac65526bd97a466b9590a6aad3c, < 163868ec1f6c610d16da9e458fe1dd7d5de97341",">= 689c5421bfe0eac65526bd97a466b9590a6aad3c, < 943c94f41dfe36536dc9aaa12c9efdf548ceb996",">= 689c5421bfe0eac65526bd97a466b9590a6aad3c, < f67ac0061c7614c1548963d3ef1ee1606efd8636"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:01:44.819044Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38787","exploited":false,"provenance":"source"}}