Menu

Star on GitHub · 3.2k

CVE-2022-48733

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free after failure to create a snapshot At ioctl.c:create_snapshot(), we allocate a pending snapshot struc…

Published Jun 20, 2024CWE-416EPSS 0.23%

Overview

CVE-2022-48733 is a high-severity vulnerability. It was published on June 20, 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:

btrfs: fix use-after-free after failure to create a snapshot

At ioctl.c:create_snapshot(), we allocate a pending snapshot structure and

then attach it to the transaction's list of pending snapshots. After that

we call btrfs_commit_transaction(), and if that returns an error we jump

to 'fail' label, where we kfree() the pending snapshot structure. This can

result in a later use-after-free of the pending snapshot:

1) We allocated the pending snapshot and added it to the transaction's

list of pending snapshots;

2) We call btrfs_commit_transaction(), and it fails either at the first

call to btrfs_run_delayed_refs() or btrfs_start_dirty_block_groups().

In both cases, we don't abort the transaction and we release our

transaction handle. We jump to the 'fail' label and free the pending

snapshot structure. We return with the pending snapshot still in the

transaction's list;

3) Another task commits the tr

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-2022-48733?

CVE-2022-48733 is a high-severity vulnerability. It was published on June 20, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-48733?

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-2022-48733?

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-2022-48733?

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

View all