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

5.5 · MEDIUM
Published Dec 27, 2024 linux EPSS 0.22% (12th pctl)

Overview

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

f2fs: fix to drop all discards after creating snapshot on lvm device

Piergiorgio reported a bug in bugzilla as below:

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

WARNING: CPU: 2 PID: 969 at fs/f2fs/segment.c:1330

RIP: 0010:__submit_discard_cmd+0x27d/0x400 [f2fs]

Call Trace:

__issue_discard_cmd+0x1ca/0x350 [f2fs]

issue_discard_thread+0x191/0x480 [f2fs]

kthread+0xcf/0x100

ret_from_fork+0x31/0x50

ret_from_fork_asm+0x1a/0x30

w/ below testcase, it can reproduce this bug quickly:

- pvcreate /dev/vdb

- vgcreate myvg1 /dev/vdb

- lvcreate -L 1024m -n mylv1 myvg1

- mount /dev/myvg1/mylv1 /mnt/f2fs

- dd if=/dev/zero of=/mnt/f2fs/file bs=1M count=20

- sync

- rm /mnt/f2fs/file

- sync

- lvcreate -L 1024m -s -n mylv1-snapshot /dev/myvg1/mylv1

- umount /mnt/f2fs

The root cause is: it will update discard_max_bytes of mounted lvm

device to zero after creating snapshot on this lvm device, then,

__submit_discard_cmd() will pass paramet

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 >= 4.19, < 6.6.66 Affected

Frequently Asked Questions

What is CVE-2024-56565?

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

How severe is CVE-2024-56565?

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

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

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