# CVE-2024-46858: mptcp: pm: Fix uaf in \_\_timer\_delete\_sync

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

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.85% (percentile 56, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-09-27T12:42:49.167Z
- **Modified:** 2026-08-05T11:39:03.201Z

## Who should check

- Anyone running Linux \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 0e7814b028cd50b3ff79659d23dfa9da6a1e75e1; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 3554482f4691571fc4b5490c17ae26896e62171c; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 67409b358500c71632116356a0b065f112d7b707; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 6452b162549c7f9ef54655d3fb9977b9192e6e5b; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 12134a652b0a10064844ea235173e70246eba6dc; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< b4cd80b0338945a94972ac3ed54f8338d2da2076
- Anyone running Linux 5.10

## Description

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.

## Affected and fixed versions

- Linux: \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 0e7814b028cd50b3ff79659d23dfa9da6a1e75e1; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 3554482f4691571fc4b5490c17ae26896e62171c; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 67409b358500c71632116356a0b065f112d7b707; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 6452b162549c7f9ef54655d3fb9977b9192e6e5b; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 12134a652b0a10064844ea235173e70246eba6dc; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< b4cd80b0338945a94972ac3ed54f8338d2da2076 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46858. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46858.md
Affected: Linux >= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, < 0e7814b028cd50b3ff79659d23dfa9da6a1e75e1; >= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, < 3554482f4691571fc4b5490c17ae26896e62171c; >= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, < 67409b358500c71632116356a0b065f112d7b707; >= 00cfd77b9063dcdf3628a70…
Fixed in: Linux 0e7814b028cd50b3ff79659d23dfa9da6a1e75e1, Linux 3554482f4691571fc4b5490c17ae26896e62171c, Linux 67409b358500c71632116356a0b065f112d7b707, Linux 6452b162549c7f9ef54655d3fb9977b9192e6e5b, Linux 12134a652b0a10064844ea235173e70246eba6dc

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

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

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

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 0e7814b028cd50b3ff79659d23dfa9da6a1e75e1; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 3554482f4691571fc4b5490c17ae26896e62171c; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 67409b358500c71632116356a0b065f112d7b707; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 6452b162549c7f9ef54655d3fb9977b9192e6e5b; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< 12134a652b0a10064844ea235173e70246eba6dc; \>= 00cfd77b9063dcdf3628a7087faba60de85a9cc8, \< b4cd80b0338945a94972ac3ed54f8338d2da2076; Linux 5.10.

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

Yes. Fixed in Linux 0e7814b028cd50b3ff79659d23dfa9da6a1e75e1, Linux 3554482f4691571fc4b5490c17ae26896e62171c, Linux 67409b358500c71632116356a0b065f112d7b707, Linux 6452b162549c7f9ef54655d3fb9977b9192e6e5b, Linux 12134a652b0a10064844ea235173e70246eba6dc. No fix listed yet: follow the vendor advisory.

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

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/67409b358500c71632116356a0b065f112d7b707>
- patch: <https://git.kernel.org/stable/c/6452b162549c7f9ef54655d3fb9977b9192e6e5b>
- patch: <https://git.kernel.org/stable/c/12134a652b0a10064844ea235173e70246eba6dc>
- patch: <https://git.kernel.org/stable/c/b4cd80b0338945a94972ac3ed54f8338d2da2076>
- other: <https://git.kernel.org/stable/c/0e7814b028cd50b3ff79659d23dfa9da6a1e75e1>
- other: <https://git.kernel.org/stable/c/3554482f4691571fc4b5490c17ae26896e62171c>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.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-46858>

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