SecurityContext

CVE-2025-40133: Linux Kernel - Use After Free

  • Cve: CVE-2025-40133
  • Name: Linux Kernel - Use After Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable(). mptcp_active_enable() is called from subflow_finish_connect(), which is icsk->icsk_af_ops->sk_rx_dst_set() and it's not always under RCU. Using sk_dst_get(sk)->dev could trigger UAF. Let's use __sk_dst_get() and dst_dev_rcu().
  • Impact: Attackers can trigger use-after-free, potentially causing system crashes or arbitrary code execution.
  • Remediation: Update to the latest Linux kernel version containing the fix for mptcp_active_enable()
  • Vulnerability type: use_after_free
  • Vulnerability impact: use_after_free
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00514
  • Epss percentile: 0.44651
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-11-12T11:15:42Z
  • Age in days: 377
  • Modified at: 2026-10-19T21:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-40133
  • Nvd status: deferred
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/893c49a78d9f85e4b8081b908fb7c407d018106a
https://git.kernel.org/stable/c/ad16235c9d3ef7ec17c109ff39b7504f49d17072
https://git.kernel.org/stable/c/cc976ec9e38bb79409de3261ba1dbb6868e2a53e

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.12, < 6.18; >= 6.12, < 6.17.3; >= 6.12, < 6.12.55nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports