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

5.5 · MEDIUM
Published Oct 21, 2024 linux EPSS 0.20% (10th pctl)

Overview

CVE-2024-49964 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

mm/hugetlb: fix memfd_pin_folios free_huge_pages leak

memfd_pin_folios followed by unpin_folios fails to restore free_huge_pages

if the pages were not already faulted in, because the folio refcount for

pages created by memfd_alloc_folio never goes to 0. memfd_pin_folios

needs another folio_put to undo the folio_try_get below:

memfd_alloc_folio()

alloc_hugetlb_folio_nodemask()

dequeue_hugetlb_folio_nodemask()

dequeue_hugetlb_folio_node_exact()

folio_ref_unfreeze(folio, 1); ; adds 1 refcount

folio_try_get() ; adds 1 refcount

hugetlb_add_to_page_cache() ; adds 512 refcount (on x86)

With the fix, after memfd_pin_folios + unpin_folios, the refcount for the

(unfaulted) page is 512, which is correct, as the refcount for a faulted

unpinned page is 513.

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.11, < 6.11.3 Affected

Frequently Asked Questions

What is CVE-2024-49964?

CVE-2024-49964 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-49964?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-49964?

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

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