{"id":"DEBIAN-CVE-2024-57841","details":"In the Linux kernel, the following vulnerability has been resolved:  net: fix memory leak in tcp_conn_request()  If inet_csk_reqsk_queue_hash_add() return false, tcp_conn_request() will return without free the dst memory, which allocated in af_ops-\u003eroute_req.  Here is the kmemleak stack:  unreferenced object 0xffff8881198631c0 (size 240):   comm \"softirq\", pid 0, jiffies 4299266571 (age 1802.392s)   hex dump (first 32 bytes):     00 10 9b 03 81 88 ff ff 80 98 da bc ff ff ff ff  ................     81 55 18 bb ff ff ff ff 00 00 00 00 00 00 00 00  .U..............   backtrace:     [\u003cffffffffb93e8d4c\u003e] kmem_cache_alloc+0x60c/0xa80     [\u003cffffffffba11b4c5\u003e] dst_alloc+0x55/0x250     [\u003cffffffffba227bf6\u003e] rt_dst_alloc+0x46/0x1d0     [\u003cffffffffba23050a\u003e] __mkroute_output+0x29a/0xa50     [\u003cffffffffba23456b\u003e] ip_route_output_key_hash+0x10b/0x240     [\u003cffffffffba2346bd\u003e] ip_route_output_flow+0x1d/0x90     [\u003cffffffffba254855\u003e] inet_csk_route_req+0x2c5/0x500     [\u003cffffffffba26b331\u003e] tcp_conn_request+0x691/0x12c0     [\u003cffffffffba27bd08\u003e] tcp_rcv_state_process+0x3c8/0x11b0     [\u003cffffffffba2965c6\u003e] tcp_v4_do_rcv+0x156/0x3b0     [\u003cffffffffba299c98\u003e] tcp_v4_rcv+0x1cf8/0x1d80     [\u003cffffffffba239656\u003e] ip_protocol_deliver_rcu+0xf6/0x360     [\u003cffffffffba2399a6\u003e] ip_local_deliver_finish+0xe6/0x1e0     [\u003cffffffffba239b8e\u003e] ip_local_deliver+0xee/0x360     [\u003cffffffffba239ead\u003e] ip_rcv+0xad/0x2f0     [\u003cffffffffba110943\u003e] __netif_receive_skb_one_core+0x123/0x140  Call dst_release() to free the dst memory when inet_csk_reqsk_queue_hash_add() return false in tcp_conn_request().","modified":"2026-09-15T09:03:17.794255185Z","published":"2025-01-15T13:15:12.130Z","upstream":["CVE-2024-57841"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-57841"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.124-1"}]}],"versions":["6.1.106-1","6.1.106-2","6.1.106-3","6.1.112-1","6.1.115-1","6.1.119-1","6.1.123-1","6.1.27-1","6.1.37-1","6.1.38-1","6.1.38-2","6.1.38-2~bpo11+1","6.1.38-3","6.1.38-4","6.1.38-4~bpo11+1","6.1.52-1","6.1.55-1","6.1.55-1~bpo11+1","6.1.64-1","6.1.66-1","6.1.67-1","6.1.69-1","6.1.69-1~bpo11+1","6.1.76-1","6.1.76-1~bpo11+1","6.1.82-1","6.1.85-1","6.1.90-1","6.1.90-1~bpo11+1","6.1.94-1","6.1.94-1~bpo11+1","6.1.98-1","6.1.99-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-57841.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.9-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-57841.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.9-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-57841.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}