Use After Free Affecting torvalds/linux package, versions [4.18,5.10.269)[5.11,5.15.220)[5.16,6.1.187)[6.2,6.6.156)[6.7,6.10.10)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-20697295
  • published9 Oct 2026
  • disclosed18 Sept 2024
  • creditUnknown

Introduced: 18 Sep 2024

CVE-2024-46754  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.10.269, 5.15.220, 6.1.187, 6.6.156, 6.10.10 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free through the bpf_test_run process. An attacker can achieve kernel memory disclosure, arbitrary memory write, and potential privilege escalation by invoking the bpf(BPF_PROG_TEST_RUN) syscall with a file descriptor for a BPF_PROG_TYPE_LWT_SEG6LOCAL program, allowing manipulation of freed kernel objects and reading out-of-bounds memory to userspace.

Note: The Linux kernel project assigns a CVE to every bug fix it ships, whether or not the bug has been shown to be exploitable. This advisory was generated from that process and has not been individually assessed for exploitability. See the kernel's CVE process documentation: https://github.com/torvalds/linux/blob/master/Documentation/process/cve.rst

CVSS Base Scores

version 4.0
version 3.1