# CVE-2024-53151: svcrdma: Address an integer overflow

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.94% (percentile 59, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2024-12-24T11:28:50.917Z
- **Modified:** 2026-08-05T11:44:11.228Z

## Who should check

- Anyone running Linux \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< c1f8195bf68edd2cef0f18a4cead394075a54b5a; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 838dd342962cef4c320632a5af48d3c31f2f9877; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 4cbc3ba6dc2f746497cade60bcbaa82ae3696689; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< e5c440c227ecdc721f2da0dd88b6358afd1031a7; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 3c63d8946e578663b868cb9912dac616ea68bfd0
- Anyone running Linux 5.11

## Description

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().

## Affected and fixed versions

- Linux: \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< c1f8195bf68edd2cef0f18a4cead394075a54b5a; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 838dd342962cef4c320632a5af48d3c31f2f9877; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 4cbc3ba6dc2f746497cade60bcbaa82ae3696689; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< e5c440c227ecdc721f2da0dd88b6358afd1031a7; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 3c63d8946e578663b868cb9912dac616ea68bfd0 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 3c63d8946e578663b868cb9912dac616ea68bfd0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53151. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53151.md
Affected: Linux >= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b; >= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < c1f8195bf68edd2cef0f18a4cead394075a54b5a; >= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 838dd342962cef4c320632a5af48d3c31f2f9877; >= 78147ca8b4a9b6cf0e597dd…
Fixed in: Linux 21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b, Linux 838dd342962cef4c320632a5af48d3c31f2f9877, Linux 4cbc3ba6dc2f746497cade60bcbaa82ae3696689, Linux 3c63d8946e578663b868cb9912dac616ea68bfd0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53151 being exploited?

There is no confirmed exploitation: CVE-2024-53151 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.94% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53151?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-53151?

Linux \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< c1f8195bf68edd2cef0f18a4cead394075a54b5a; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 838dd342962cef4c320632a5af48d3c31f2f9877; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 4cbc3ba6dc2f746497cade60bcbaa82ae3696689; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< e5c440c227ecdc721f2da0dd88b6358afd1031a7; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 3c63d8946e578663b868cb9912dac616ea68bfd0; Linux 5.11.

### Is there a fix for CVE-2024-53151?

Yes. Fixed in Linux 21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b, Linux 838dd342962cef4c320632a5af48d3c31f2f9877, Linux 4cbc3ba6dc2f746497cade60bcbaa82ae3696689, Linux 3c63d8946e578663b868cb9912dac616ea68bfd0. Upgrade Linux to 3c63d8946e578663b868cb9912dac616ea68bfd0 or later.

### How do I check if I'm affected by CVE-2024-53151?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/21e1cf688fb0397788c8dd42e1e0b08d58ac5c7b>
- patch: <https://git.kernel.org/stable/c/c1f8195bf68edd2cef0f18a4cead394075a54b5a>
- patch: <https://git.kernel.org/stable/c/838dd342962cef4c320632a5af48d3c31f2f9877>
- patch: <https://git.kernel.org/stable/c/4cbc3ba6dc2f746497cade60bcbaa82ae3696689>
- patch: <https://git.kernel.org/stable/c/e5c440c227ecdc721f2da0dd88b6358afd1031a7>
- patch: <https://git.kernel.org/stable/c/3c63d8946e578663b868cb9912dac616ea68bfd0>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53151>

HTML: <https://flawdb.com/CVE-2024-53151> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53151>
