Menu

Star on GitHub · 3.2k

CVE-2024-49868

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix a NULL pointer dereference when failed to start a new trasacntion [BUG] Syzbot reported a NULL pointer dereference w…

Published Oct 21, 2024CWE-476EPSS 0.29%

Overview

CVE-2024-49868 is a medium-severity vulnerability. 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:

btrfs: fix a NULL pointer dereference when failed to start a new trasacntion

[BUG]

Syzbot reported a NULL pointer dereference with the following crash:

FAULT_INJECTION: forcing a failure.

start_transaction+0x830/0x1670 fs/btrfs/transaction.c:676

prepare_to_relocate+0x31f/0x4c0 fs/btrfs/relocation.c:3642

relocate_block_group+0x169/0xd20 fs/btrfs/relocation.c:3678

...

BTRFS info (device loop0): balance: ended with status: -12

Oops: general protection fault, probably for non-canonical address 0xdffffc00000000cc: 0000 [#1] PREEMPT SMP KASAN NOPTI

KASAN: null-ptr-deref in range [0x0000000000000660-0x0000000000000667]

RIP: 0010:btrfs_update_reloc_root+0x362/0xa80 fs/btrfs/relocation.c:926

Call Trace:

<TASK>

commit_fs_roots+0x2ee/0x720 fs/btrfs/transaction.c:1496

btrfs_commit_transaction+0xfaf/0x3740 fs/btrfs/transaction.c:2430

del_balance_item fs/btrfs/volumes.c:3678 [inline]

reset_ba

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

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

How severe is CVE-2024-49868?

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

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-49868 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