CVE-2024-53151
svcrdma: Address an integer overflow
Reported by linux · Published December 24, 2024
In the Linux kernel, the following vulnerability has been resolved: svcrdma: Address an integer overflow Dan Carpenter reports: > Commit 78147ca8b4a9 ("svcrdma: Add a "parsed chunk list" data > structure") from Jun 22, 2020 (linux-next), leads to the following > Smatch static checker warning: > > net/sunrpc/xprtrdma/svc_rdma_recvfrom.c:498 xdr_check_write_chunk() > warn: potential user controlled sizeof overflow 'segcount * 4 * 4' > > net/sunrpc/xprtrdma/svc_rdma_recvfrom.c > 488 static bool xdr_check_write_chunk(struct svc_rdma_recv_ctxt *rctxt) > 489 { > 490 u32 segcount; > 491 __be32 *p; > 492 > 493 if (xdr_stream_decode_u32(&rctxt->rc_stream, &segcount)) > ^^^^^^^^ > > 494 return false; > 495 > 496 /* A bogus segcount causes this buffer overflow check to fail. */ > 497 p = xdr_inline_decode(&rctxt->rc_stream, > --> 498 segcount * rpcrdma_segment_maxsz * sizeof(*p)); > > > segcount is an untrusted u32. On 32bit systems anything >= SIZE_MAX / 16 will > have an integer overflow and some those values will be accepted by > xdr_inline_decode().
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2 |
| Linux | Linux | 5.11, 0, 5.15.174 |
| linux | linux_kernel | 5.11, 5.11, 5.11 |
| Linux | Linux | 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2 |
Timeline
- Dec 24, 2024 CVE Published
- Dec 25, 2024 EPSS Score (30 in total, the first dated here)
- Jan 22, 2025 Coalition ESS Score (11 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Dec 31, 2025 Security Advisory (176 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (139 in total, the first dated here)
- Aug 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-53151
vulnetix vdb fixes CVE-2024-53151
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53151/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart