# CVE-2024-56643: dccp: Fix memory leak in dccp\_feat\_change\_recv

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

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-12-27T15:02:44.492Z
- **Modified:** 2026-06-17T08:12:37.623Z

## Who should check

- Anyone running Linux \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 623be080ab3c13d71570bd32f7202a8efa8e2252; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< c99507fff94b926fc92279c92d80f229c91cb85d; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< bc3d4423def1a9412a0ae454cb4477089ab79276; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 6ff67909ee2ffad911e3122616df41dee23ff4f6; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< d3ec686a369fae5034303061f003cd3f94ddfd23; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 9ee68b0f23706a77f53c832457b9384178b76421; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 22be4727a8f898442066bcac34f8a1ad0bc72e14
- Anyone running Linux 2.6.29

## Description

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

dccp: Fix memory leak in dccp\_feat\_change\_recv

If dccp\_feat\_push\_confirm() fails after new value for SP feature was accepted
without reconciliation ('entry == NULL' branch), memory allocated for that value
with dccp\_feat\_clone\_sp\_val() is never freed.

Here is the kmemleak stack for this:

unreferenced object 0xffff88801d4ab488 (size 8):
  comm "syz-executor310", pid 1127, jiffies 4295085598 (age 41.666s)
  hex dump (first 8 bytes):
    01 b4 4a 1d 80 88 ff ff                          ..J.....
  backtrace:
    \[\<00000000db7cabfe\>\] kmemdup+0x23/0x50 mm/util.c:128
    \[\<0000000019b38405\>\] kmemdup include/linux/string.h:465 \[inline\]
    \[\<0000000019b38405\>\] dccp\_feat\_clone\_sp\_val net/dccp/feat.c:371 \[inline\]
    \[\<0000000019b38405\>\] dccp\_feat\_clone\_sp\_val net/dccp/feat.c:367 \[inline\]
    \[\<0000000019b38405\>\] dccp\_feat\_change\_recv net/dccp/feat.c:1145 \[inline\]
    \[\<0000000019b38405\>\] dccp\_feat\_parse\_options+0x1196/0x2180 net/dccp/feat.c:1416
    \[\<00000000b1f6d94a\>\] dccp\_parse\_options+0xa2a/0x1260 net/dccp/options.c:125
    \[\<0000000030d7b621\>\] dccp\_rcv\_state\_process+0x197/0x13d0 net/dccp/input.c:650
    \[\<000000001f74c72e\>\] dccp\_v4\_do\_rcv+0xf9/0x1a0 net/dccp/ipv4.c:688
    \[\<00000000a6c24128\>\] sk\_backlog\_rcv include/net/sock.h:1041 \[inline\]
    \[\<00000000a6c24128\>\] \_\_release\_sock+0x139/0x3b0 net/core/sock.c:2570
    \[\<00000000cf1f3a53\>\] release\_sock+0x54/0x1b0 net/core/sock.c:3111
    \[\<000000008422fa23\>\] inet\_wait\_for\_connect net/ipv4/af\_inet.c:603 \[inline\]
    \[\<000000008422fa23\>\] \_\_inet\_stream\_connect+0x5d0/0xf70 net/ipv4/af\_inet.c:696
    \[\<0000000015b6f64d\>\] inet\_stream\_connect+0x53/0xa0 net/ipv4/af\_inet.c:735
    \[\<0000000010122488\>\] \_\_sys\_connect\_file+0x15c/0x1a0 net/socket.c:1865
    \[\<00000000b4b70023\>\] \_\_sys\_connect+0x165/0x1a0 net/socket.c:1882
    \[\<00000000f4cb3815\>\] \_\_do\_sys\_connect net/socket.c:1892 \[inline\]
    \[\<00000000f4cb3815\>\] \_\_se\_sys\_connect net/socket.c:1889 \[inline\]
    \[\<00000000f4cb3815\>\] \_\_x64\_sys\_connect+0x6e/0xb0 net/socket.c:1889
    \[\<00000000e7b1e839\>\] do\_syscall\_64+0x33/0x40 arch/x86/entry/common.c:46
    \[\<0000000055e91434\>\] entry\_SYSCALL\_64\_after\_hwframe+0x67/0xd1

Clean up the allocated memory in case of dccp\_feat\_push\_confirm() failure
and bail out with an error reset code.

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

## Affected and fixed versions

- Linux: \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 623be080ab3c13d71570bd32f7202a8efa8e2252; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< c99507fff94b926fc92279c92d80f229c91cb85d; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< bc3d4423def1a9412a0ae454cb4477089ab79276; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 6ff67909ee2ffad911e3122616df41dee23ff4f6; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< d3ec686a369fae5034303061f003cd3f94ddfd23; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 9ee68b0f23706a77f53c832457b9384178b76421; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 22be4727a8f898442066bcac34f8a1ad0bc72e14 (cvelist)
- Linux: 2.6.29 (cvelist)

## Mitigation

- Upgrade Linux to 22be4727a8f898442066bcac34f8a1ad0bc72e14 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-56643. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56643.md
Affected: Linux >= e77b8363b2ea7c0d89919547c1a8b0562f298b57, < 623be080ab3c13d71570bd32f7202a8efa8e2252; >= e77b8363b2ea7c0d89919547c1a8b0562f298b57, < c99507fff94b926fc92279c92d80f229c91cb85d; >= e77b8363b2ea7c0d89919547c1a8b0562f298b57, < bc3d4423def1a9412a0ae454cb4477089ab79276; >= e77b8363b2ea7c0d8991954…
Fixed in: Linux 623be080ab3c13d71570bd32f7202a8efa8e2252, Linux 6ff67909ee2ffad911e3122616df41dee23ff4f6, Linux 9ee68b0f23706a77f53c832457b9384178b76421, Linux 22be4727a8f898442066bcac34f8a1ad0bc72e14

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-56643 being exploited?

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

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

Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 623be080ab3c13d71570bd32f7202a8efa8e2252; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< c99507fff94b926fc92279c92d80f229c91cb85d; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< bc3d4423def1a9412a0ae454cb4477089ab79276; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 6ff67909ee2ffad911e3122616df41dee23ff4f6; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< d3ec686a369fae5034303061f003cd3f94ddfd23; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 9ee68b0f23706a77f53c832457b9384178b76421; \>= e77b8363b2ea7c0d89919547c1a8b0562f298b57, \< 22be4727a8f898442066bcac34f8a1ad0bc72e14; Linux 2.6.29.

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

Yes. Fixed in Linux 623be080ab3c13d71570bd32f7202a8efa8e2252, Linux 6ff67909ee2ffad911e3122616df41dee23ff4f6, Linux 9ee68b0f23706a77f53c832457b9384178b76421, Linux 22be4727a8f898442066bcac34f8a1ad0bc72e14. Upgrade Linux to 22be4727a8f898442066bcac34f8a1ad0bc72e14 or later.

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

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/623be080ab3c13d71570bd32f7202a8efa8e2252>
- patch: <https://git.kernel.org/stable/c/c99507fff94b926fc92279c92d80f229c91cb85d>
- patch: <https://git.kernel.org/stable/c/bc3d4423def1a9412a0ae454cb4477089ab79276>
- patch: <https://git.kernel.org/stable/c/6ff67909ee2ffad911e3122616df41dee23ff4f6>
- patch: <https://git.kernel.org/stable/c/d3ec686a369fae5034303061f003cd3f94ddfd23>
- patch: <https://git.kernel.org/stable/c/9ee68b0f23706a77f53c832457b9384178b76421>
- patch: <https://git.kernel.org/stable/c/22be4727a8f898442066bcac34f8a1ad0bc72e14>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.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-56643>

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