Executive Summary

Informations
Name CVE-2024-46858 First vendor Publication 2024-09-27
Vendor Cve Last vendor Modification 2024-12-27

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Overall CVSS Score 7
Base Score 7 Environmental Score 7
impact SubScore 5.9 Temporal Score 7
Exploitabality Sub Score 1
 
Attack Vector Local Attack Complexity High
Privileges Required Low User Interaction None
Scope Unchanged Confidentiality Impact High
Integrity Impact High 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:

mptcp: pm: Fix uaf in __timer_delete_sync

There are two paths to access mptcp_pm_del_add_timer, result in a race condition:

CPU1 CPU2
==== ====
net_rx_action
napi_poll netlink_sendmsg
__napi_poll netlink_unicast
process_backlog netlink_unicast_kernel
__netif_receive_skb genl_rcv
__netif_receive_skb_one_core netlink_rcv_skb
NF_HOOK genl_rcv_msg
ip_local_deliver_finish genl_family_rcv_msg
ip_protocol_deliver_rcu genl_family_rcv_msg_doit
tcp_v4_rcv mptcp_pm_nl_flush_addrs_doit
tcp_v4_do_rcv mptcp_nl_remove_addrs_list
tcp_rcv_established mptcp_pm_remove_addrs_and_subflows
tcp_data_queue remove_anno_list_by_saddr
mptcp_incoming_options mptcp_pm_del_add_timer
mptcp_pm_del_add_timer kfree(entry)

In remove_anno_list_by_saddr(running on CPU2), after leaving the critical zone protected by "pm.lock", the entry will be released, which leads to the occurrence of uaf in the mptcp_pm_del_add_timer(running on CPU1).

Keeping a reference to add_timer inside the lock, and calling sk_stop_timer_sync() with this reference, instead of "entry->add_timer".

Move list_del(&entry->list) to mptcp_pm_del_add_timer and inside the pm lock, do not directly access any members of the entry outside the pm lock, which can avoid similar "entry->x" uaf.

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-416 Use After Free

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3678

Sources (Detail)

https://git.kernel.org/stable/c/12134a652b0a10064844ea235173e70246eba6dc
https://git.kernel.org/stable/c/3554482f4691571fc4b5490c17ae26896e62171c
https://git.kernel.org/stable/c/6452b162549c7f9ef54655d3fb9977b9192e6e5b
https://git.kernel.org/stable/c/67409b358500c71632116356a0b065f112d7b707
https://git.kernel.org/stable/c/b4cd80b0338945a94972ac3ed54f8338d2da2076
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
16
17
18
19
20
21
22
23
24
25
26
27
Date Informations
2025-03-29 03:40:53
  • Multiple Updates
2025-03-28 13:45:13
  • Multiple Updates
2025-03-28 03:18:55
  • Multiple Updates
2025-03-19 03:14:14
  • Multiple Updates
2025-03-18 03:27:11
  • Multiple Updates
2025-03-14 03:14:27
  • Multiple Updates
2025-03-06 14:10:59
  • Multiple Updates
2025-02-22 03:24:34
  • Multiple Updates
2025-01-08 03:05:34
  • Multiple Updates
2025-01-07 03:05:07
  • Multiple Updates
2024-12-27 17:20:32
  • Multiple Updates
2024-12-25 03:03:44
  • Multiple Updates
2024-12-12 03:06:41
  • Multiple Updates
2024-11-23 03:03:37
  • Multiple Updates
2024-11-22 03:01:46
  • Multiple Updates
2024-11-20 03:00:05
  • Multiple Updates
2024-11-14 03:00:24
  • Multiple Updates
2024-11-09 03:00:24
  • Multiple Updates
2024-10-26 00:29:01
  • Multiple Updates
2024-10-25 21:29:55
  • Multiple Updates
2024-10-25 00:29:04
  • Multiple Updates
2024-10-24 17:28:09
  • Multiple Updates
2024-10-22 21:28:11
  • Multiple Updates
2024-10-17 21:27:36
  • Multiple Updates
2024-10-02 21:27:28
  • Multiple Updates
2024-10-02 00:27:37
  • Multiple Updates
2024-09-30 17:27:26
  • Multiple Updates
2024-09-27 17:27:23
  • First insertion