Use After Free Affecting torvalds/linux package, versions [3.15,6.8-rc2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.29% (70th 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-6231832
  • published8 Feb 2024
  • disclosed31 Jan 2024
  • creditUnknown

Introduced: 31 Jan 2024

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

How to fix?

Upgrade torvalds/linux to version 6.8-rc2 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the nft_verdict_init function. An attacker can achieve local privilege escalation by issuing a drop error that resembles NF_ACCEPT, leading to a double-free condition in the nf_hook_slow function.

Note:

This is only exploitable if the Netfilter subsystem is configured to allow positive values as a drop error within the hook verdict.

Workaround

This vulnerability can be mitigated by preventing the affected code from being loaded by blacklisting the kernel netfilter module.

CVSS Scores

version 3.1