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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.02% (4th 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-6231831
  • published8 Feb 2024
  • disclosed31 Jan 2024
  • creditUnknown

Introduced: 31 Jan 2024

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

How to fix?

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

Overview

Affected versions of this package are vulnerable to Use After Free via the nft_setelem_catchall_deactivate function. An attacker can achieve local privilege escalation by exploiting the function's improper check of the catch-all set element's active status, leading to a double-free condition.

Note:

This is only exploitable if the attacker can load and interact with the Netfilter subsystem.

Workaround

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

CVSS Base Scores

version 3.1