Menu

Star on GitHub · 3.2k

CVE-2022-48869

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: USB: gadgetfs: Fix race between mounting and unmounting The syzbot fuzzer and Gerald Lee have identified a use-after-free bug i…

Published Aug 21, 2024CWE-416EPSS 0.23%

Overview

CVE-2022-48869 is a medium-severity vulnerability. It was published on August 21, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, 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:

USB: gadgetfs: Fix race between mounting and unmounting

The syzbot fuzzer and Gerald Lee have identified a use-after-free bug

in the gadgetfs driver, involving processes concurrently mounting and

unmounting the gadgetfs filesystem. In particular, gadgetfs_fill_super()

can race with gadgetfs_kill_sb(), causing the latter to deallocate

the_device while the former is using it. The output from KASAN says,

in part:

BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:102 [inline]

BUG: KASAN: use-after-free in atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:176 [inline]

BUG: KASAN: use-after-free in __refcount_sub_and_test include/linux/refcount.h:272 [inline]

BUG: KASAN: use-after-free in __refcount_dec_and_test include/linux/refcount.h:315 [inline]

BUG: KASAN: use-after-free in refcount_dec_and_test include/linux/refcount.h:333 [inline]

BUG: KASAN: use-after-free

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

CVE-2022-48869 is a medium-severity vulnerability. It was published on August 21, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2022-48869?

This vulnerability has a CVSS 3.1 base score of 4.7, 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-2022-48869?

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

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

View all