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-42109

7.8 · HIGH
Published Jul 30, 2024 linux EPSS 0.25% (16th pctl)

Overview

CVE-2024-42109 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 30, 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: unconditionally flush pending work before notifier

syzbot reports:

KASAN: slab-uaf in nft_ctx_update include/net/netfilter/nf_tables.h:1831

KASAN: slab-uaf in nft_commit_release net/netfilter/nf_tables_api.c:9530

KASAN: slab-uaf int nf_tables_trans_destroy_work+0x152b/0x1750 net/netfilter/nf_tables_api.c:9597

Read of size 2 at addr ffff88802b0051c4 by task kworker/1:1/45

[..]

Workqueue: events nf_tables_trans_destroy_work

Call Trace:

nft_ctx_update include/net/netfilter/nf_tables.h:1831 [inline]

nft_commit_release net/netfilter/nf_tables_api.c:9530 [inline]

nf_tables_trans_destroy_work+0x152b/0x1750 net/netfilter/nf_tables_api.c:9597

Problem is that the notifier does a conditional flush, but its possible

that the table-to-be-removed is still referenced by transactions being

processed by the worker, so we need to flush unconditionally.

We could make the flush_work depend on whether we found

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 >= 5.15.129, < 5.15.163 Affected

Frequently Asked Questions

What is CVE-2024-42109?

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

How severe is CVE-2024-42109?

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-42109?

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-42109?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-42109 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.