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

7.8 · HIGH
Published Dec 27, 2024 linux CWE-787 EPSS 0.24% (15th pctl)

Overview

CVE-2024-56548 is a high-severity vulnerability affecting linux linux_kernel. It was published on December 27, 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:

hfsplus: don't query the device logical block size multiple times

Devices block sizes may change. One of these cases is a loop device by

using ioctl LOOP_SET_BLOCK_SIZE.

While this may cause other issues like IO being rejected, in the case of

hfsplus, it will allocate a block by using that size and potentially write

out-of-bounds when hfsplus_read_wrapper calls hfsplus_submit_bio and the

latter function reads a different io_size.

Using a new min_io_size initally set to sb_min_blocksize works for the

purposes of the original fix, since it will be set to the max between

HFSPLUS_SECTOR_SIZE and the first seen logical block size. We still use the

max between HFSPLUS_SECTOR_SIZE and min_io_size in case the latter is not

initialized.

Tested by mounting an hfsplus filesystem with loop block sizes 512, 1024

and 4096.

The produced KASAN report before the fix looks like this:

[ 419.944641] ===============================

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 >= 3.0.8, < 4.19.325 Affected

Frequently Asked Questions

What is CVE-2024-56548?

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

How severe is CVE-2024-56548?

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

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

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