Executive Summary

Informations
Name CVE-2024-57841 First vendor Publication 2025-01-15
Vendor Cve Last vendor Modification 2025-01-21

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Overall CVSS Score 5.5
Base Score 5.5 Environmental Score 5.5
impact SubScore 3.6 Temporal Score 5.5
Exploitabality Sub Score 1.8
 
Attack Vector Local Attack Complexity Low
Privileges Required Low User Interaction None
Scope Unchanged Confidentiality Impact None
Integrity Impact None Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

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->route_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:
[] kmem_cache_alloc+0x60c/0xa80
[] dst_alloc+0x55/0x250
[] rt_dst_alloc+0x46/0x1d0
[] __mkroute_output+0x29a/0xa50
[] ip_route_output_key_hash+0x10b/0x240
[] ip_route_output_flow+0x1d/0x90
[] inet_csk_route_req+0x2c5/0x500
[] tcp_conn_request+0x691/0x12c0
[] tcp_rcv_state_process+0x3c8/0x11b0
[] tcp_v4_do_rcv+0x156/0x3b0
[] tcp_v4_rcv+0x1cf8/0x1d80
[] ip_protocol_deliver_rcu+0xf6/0x360
[] ip_local_deliver_finish+0xe6/0x1e0
[] ip_local_deliver+0xee/0x360
[] ip_rcv+0xad/0x2f0
[] __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().

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-57841

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-401 Failure to Release Memory Before Removing Last Reference ('Memory Leak')

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 9
Os 3740

Sources (Detail)

https://git.kernel.org/stable/c/2af69905180b3fea12f9c1db374b153a06977021
https://git.kernel.org/stable/c/4f4aa4aa28142d53f8b06585c478476cfe325cfc
https://git.kernel.org/stable/c/9d38959677291552d1b0ed2689a540af279b5bf8
https://git.kernel.org/stable/c/b0b190218c78d8aeecfba36ea3a90063b3ede52d
https://git.kernel.org/stable/c/de3f999bf8aee16e9da1c1224191abdc69e97c9d
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Date Informations
2025-07-14 12:38:52
  • Multiple Updates
2025-06-26 02:38:50
  • Multiple Updates
2025-06-25 12:36:51
  • Multiple Updates
2025-06-24 02:43:26
  • Multiple Updates
2025-05-27 02:48:53
  • Multiple Updates
2025-03-29 03:44:45
  • Multiple Updates
2025-03-28 13:48:00
  • Multiple Updates
2025-03-28 03:22:35
  • Multiple Updates
2025-03-25 03:28:32
  • Multiple Updates
2025-03-19 03:17:21
  • Multiple Updates
2025-03-18 03:30:20
  • Multiple Updates
2025-03-14 03:17:27
  • Multiple Updates
2025-03-06 14:14:01
  • Multiple Updates
2025-02-22 03:27:32
  • Multiple Updates
2025-01-21 21:20:40
  • Multiple Updates
2025-01-15 17:20:30
  • First insertion