{"id":"CVE-2024-53151","published":"2024-12-24T11:28:50Z","modified":"2026-08-05T11:44:11Z","title":"svcrdma: Address an integer overflow","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsvcrdma: Address an integer overflow\n\nDan Carpenter reports:\n> Commit 78147ca8b4a9 (\"svcrdma: Add a \"parsed chunk list\" data\n> structure\") from Jun 22, 2020 (linux-next), leads to the following\n> Smatch static checker warning:\n>\n>\tnet/sunrpc/xprtrdma/svc_rdma_recvfrom.c:498 xdr_check_write_chunk()\n>\twarn: potential user controlled sizeof overflow 'segcount * 4 * 4'\n>\n> net/sunrpc/xprtrdma/svc_rdma_recvfrom.c\n>     488 static bool xdr_check_write_chunk(struct svc_rdma_recv_ctxt *rctxt)\n>     489 {\n>     490         u32 segcount;\n>     491         __be32 *p;\n>     492\n>     493         if (xdr_stream_decode_u32(&rctxt->rc_stream, &segcount))\n>                                                               ^^^^^^^^\n>\n>     494                 return false;\n>     495\n>     496         /* A bogus segcount causes this buffer overflow check to fail. */\n>     497         p = xdr_inline_decode(&rctxt->rc_stream,\n> --> 498                               segcount * rpcrdma_segment_maxsz * sizeof(*p));\n>\n>\n> segcount is an untrusted u32.  On 32bit systems anything >= SIZE_MAX / 16 will\n> have an integer overflow and some those values will be accepted by\n> xdr_inline_decode().","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.00637,"percentile":0.51491,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://git.kernel.org/stable/c/21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b","tags":[]},{"url":"https://git.kernel.org/stable/c/c1f8195bf68edd2cef0f18a4cead394075a54b5a","tags":[]},{"url":"https://git.kernel.org/stable/c/838dd342962cef4c320632a5af48d3c31f2f9877","tags":[]},{"url":"https://git.kernel.org/stable/c/4cbc3ba6dc2f746497cade60bcbaa82ae3696689","tags":[]},{"url":"https://git.kernel.org/stable/c/e5c440c227ecdc721f2da0dd88b6358afd1031a7","tags":[]},{"url":"https://git.kernel.org/stable/c/3c63d8946e578663b868cb9912dac616ea68bfd0","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.3},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b",">= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < c1f8195bf68edd2cef0f18a4cead394075a54b5a",">= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 838dd342962cef4c320632a5af48d3c31f2f9877",">= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 4cbc3ba6dc2f746497cade60bcbaa82ae3696689",">= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < e5c440c227ecdc721f2da0dd88b6358afd1031a7",">= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 3c63d8946e578663b868cb9912dac616ea68bfd0"]},{"vendor":"Linux","product":"Linux","versions":["5.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:09:46.736232Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-51823","exploited":false,"provenance":"source"}}