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

7.8 · HIGH
Published May 1, 2024 linux CWE-416 EPSS 0.24% (15th pctl)

Overview

CVE-2024-26958 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:

nfs: fix UAF in direct writes

In production we have been hitting the following warning consistently

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

refcount_t: underflow; use-after-free.

WARNING: CPU: 17 PID: 1800359 at lib/refcount.c:28 refcount_warn_saturate+0x9c/0xe0

Workqueue: nfsiod nfs_direct_write_schedule_work [nfs]

RIP: 0010:refcount_warn_saturate+0x9c/0xe0

PKRU: 55555554

Call Trace:

<TASK>

? __warn+0x9f/0x130

? refcount_warn_saturate+0x9c/0xe0

? report_bug+0xcc/0x150

? handle_bug+0x3d/0x70

? exc_invalid_op+0x16/0x40

? asm_exc_invalid_op+0x16/0x20

? refcount_warn_saturate+0x9c/0xe0

nfs_direct_write_schedule_work+0x237/0x250 [nfs]

process_one_work+0x12f/0x4a0

worker_thread+0x14e/0x3b0

? ZSTD_getCParams_internal+0x220/0x220

kthread+0xdc/0x120

? __btf_name_valid+0xa0/0xa0

ret_from_fork+0x1f/0x30

This is because we're completing the nfs_direct_request twice in a row.

The source of this is when we have our

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 >= 0, < 5.10.215 Affected

Frequently Asked Questions

What is CVE-2024-26958?

CVE-2024-26958 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-26958?

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

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

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