cbcvebase.
CVE-2024-56643
published 2024-12-27

CVE-2024-56643: 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…

PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
13.4th percentile
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: [] kmemdup+0x23/0x50 mm/util.c:128 [] kmemdup include/linux/string.h:465 [inline] [] dccp_feat_clone_sp_val net/dccp/feat.c:371 [inline] [] dccp_feat_clone_sp_val net/dccp/feat.c:367 [inline] [] dccp_feat_change_recv net/dccp/feat.c:1145 [inline] [] dccp_feat_parse_options+0x1196/0x2180 net/dccp/feat.c:1416 [] dccp_parse_options+0xa2a/0x1260 net/dccp/options.c:125 [] dccp_rcv_state_process+0x197/0x13d0 net/dccp/input.c:650 [] dccp_v4_do_rcv+0xf9/0x1a0 net/dccp/ipv4.c:688 [] sk_backlog_rcv include/net/sock.h:1041 [inline] [] __release_sock+0x139/0x3b0 net/core/sock.c:2570 [] release_sock+0x54/0x1b0 net/core/sock.c:3111 [] inet_wait_for_connect net/ipv4/af_inet.c:603 [inline] [] __inet_stream_connect+0x5d0/0xf70 net/ipv4/af_inet.c:696 [] inet_stream_connect+0x53/0xa0 net/ipv4/af_inet.c:735 [] __sys_connect_file+0x15c/0x1a0 net/socket.c:1865 [] __sys_connect+0x165/0x1a0 net/socket.c:1882 [] __do_sys_connect net/socket.c:1892 [inline] [] __se_sys_connect net/socket.c:1889 [inline] [] __x64_sys_connect+0x6e/0xb0 net/socket.c:1889 [] do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 [] 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

39 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.123-1 (bookworm)linux 6.1.123-1 (bookworm)
debianlinux-6.1< linux 6.1.123-1 (bookworm)linux 6.1.123-1 (bookworm)
linuxlinux
linuxlinux>= e77b8363b2ea7c0d89919547c1a8b0562f298b57 < 623be080ab3c13d71570bd32f7202a8efa8e2252623be080ab3c13d71570bd32f7202a8efa8e2252
linuxlinux>= e77b8363b2ea7c0d89919547c1a8b0562f298b57 < c99507fff94b926fc92279c92d80f229c91cb85dc99507fff94b926fc92279c92d80f229c91cb85d
linuxlinux>= e77b8363b2ea7c0d89919547c1a8b0562f298b57 < bc3d4423def1a9412a0ae454cb4477089ab79276bc3d4423def1a9412a0ae454cb4477089ab79276
linuxlinux>= e77b8363b2ea7c0d89919547c1a8b0562f298b57 < 6ff67909ee2ffad911e3122616df41dee23ff4f66ff67909ee2ffad911e3122616df41dee23ff4f6
linuxlinux>= e77b8363b2ea7c0d89919547c1a8b0562f298b57 < d3ec686a369fae5034303061f003cd3f94ddfd23d3ec686a369fae5034303061f003cd3f94ddfd23
linuxlinux>= e77b8363b2ea7c0d89919547c1a8b0562f298b57 < 9ee68b0f23706a77f53c832457b9384178b764219ee68b0f23706a77f53c832457b9384178b76421
linuxlinux>= e77b8363b2ea7c0d89919547c1a8b0562f298b57 < 22be4727a8f898442066bcac34f8a1ad0bc72e1422be4727a8f898442066bcac34f8a1ad0bc72e14
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.234-15.10.234-1
linuxlinux_kernel>= 0 < 6.1.123-16.1.123-1
linuxlinux_kernel>= 0 < 6.12.5-16.12.5-1
linuxlinux_kernel>= 0 < 6.12.5-16.12.5-1
linuxlinux_kernel>= 0 < 5.4.0-211.2315.4.0-211.231
linuxlinux_kernel>= 0 < 5.15.0-135.1465.15.0-135.146
linuxlinux_kernel>= 0 < 6.8.0-58.606.8.0-58.60
linuxlinux_kernel>= 2.6.29 < 5.4.2875.4.287
linuxlinux_kernel>= 5.11 < 5.15.1745.15.174
linuxlinux_kernel>= 5.16 < 6.1.1206.1.120
linuxlinux_kernel>= 5.5 < 5.10.2315.10.231
linuxlinux_kernel>= 6.2 < 6.6.666.6.66
linuxlinux_kernel>= 6.7 < 6.12.56.12.5
msrcazl3_kernel_6.6.64.2-9_on_azure_linux_3.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_msrc3.3LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.