Menu

Star on GitHub · 3.3k

CVE-2024-53130

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint When using the "block:block_dirty_buffer" tracepoint, mark_buffer_d…

Published Dec 4, 2024CWE-476EPSS 0.24%

Overview

CVE-2024-53130 is a medium-severity vulnerability. It was published on December 4, 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:

nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint

When using the "block:block_dirty_buffer" tracepoint, mark_buffer_dirty()

may cause a NULL pointer dereference, or a general protection fault when

KASAN is enabled.

This happens because, since the tracepoint was added in

mark_buffer_dirty(), it references the dev_t member bh->b_bdev->bd_dev

regardless of whether the buffer head has a pointer to a block_device

structure.

In the current implementation, nilfs_grab_buffer(), which grabs a buffer

to read (or create) a block of metadata, including b-tree node blocks,

does not set the block device, but instead does so only if the buffer is

not in the "uptodate" state for each of its caller block reading

functions. However, if the uptodate flag is set on a folio/page, and the

buffer heads are detached from it by try_to_free_buffers(), and new buffer

heads are then attached by create_empty_buffers(), the uptodate

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-53130?

CVE-2024-53130 is a medium-severity vulnerability. It was published on December 4, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-53130?

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

Check the references section for vendor advisories, patches, and mitigation guidance. 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-53130?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-53130 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all
LiveWatch live →