Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-27012

7.8 · HIGH
Published May 1, 2024 linux CWE-401 EPSS 0.27% (19th pctl)

Overview

CVE-2024-27012 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: restore set elements when delete set fails

From abort path, nft_mapelem_activate() needs to restore refcounters to

the original state. Currently, it uses the set->ops->walk() to iterate

over these set elements. The existing set iterator skips inactive

elements in the next generation, this does not work from the abort path

to restore the original state since it has to skip active elements

instead (not inactive ones).

This patch moves the check for inactive elements to the set iterator

callback, then it reverses the logic for the .activate case which

needs to skip active elements.

Toggle next generation bit for elements when delete set command is

invoked and call nft_clear() from .activate (abort) path to restore the

next generation bit.

The splat below shows an object in mappings memleak:

[43929.457523] ------------[ cut here ]------------

[43929.457532] WARNING: CPU: 0 PID: 1139 at include/n

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.4, < 6.8.8 Affected

Frequently Asked Questions

What is CVE-2024-27012?

CVE-2024-27012 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-27012?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-27012?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-27012?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-27012 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.