Menu

Star on GitHub · 3.2k

CVE-2022-48913

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: blktrace: fix use after free for struct blk_trace When tracing the whole disk, 'dropped' and 'msg' will be created under 'q->de…

Published Aug 22, 2024CWE-416EPSS 0.21%

Overview

CVE-2022-48913 is a high-severity vulnerability. It was published on August 22, 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:

blktrace: fix use after free for struct blk_trace

When tracing the whole disk, 'dropped' and 'msg' will be created

under 'q->debugfs_dir' and 'bt->dir' is NULL, thus blk_trace_free()

won't remove those files. What's worse, the following UAF can be

triggered because of accessing stale 'dropped' and 'msg':

==================================================================

BUG: KASAN: use-after-free in blk_dropped_read+0x89/0x100

Read of size 4 at addr ffff88816912f3d8 by task blktrace/1188

CPU: 27 PID: 1188 Comm: blktrace Not tainted 5.17.0-rc4-next-20220217+ #469

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ?-20190727_073836-4

Call Trace:

<TASK>

dump_stack_lvl+0x34/0x44

print_address_description.constprop.0.cold+0xab/0x381

? blk_dropped_read+0x89/0x100

? blk_dropped_read+0x89/0x100

kasan_report.cold+0x83/0xdf

? blk_dropped_read+0x89/0x100

kasan_check_range+0x140/0x1b0

blk_dropped_read+0x89/0x

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

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

How severe is CVE-2022-48913?

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

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

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