Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-48822

7.8 · HIGH
Published Jul 16, 2024 linux CWE-416 EPSS 0.27% (20th pctl)

Overview

CVE-2022-48822 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 16, 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:

usb: f_fs: Fix use-after-free for epfile

Consider a case where ffs_func_eps_disable is called from

ffs_func_disable as part of composition switch and at the

same time ffs_epfile_release get called from userspace.

ffs_epfile_release will free up the read buffer and call

ffs_data_closed which in turn destroys ffs->epfiles and

mark it as NULL. While this was happening the driver has

already initialized the local epfile in ffs_func_eps_disable

which is now freed and waiting to acquire the spinlock. Once

spinlock is acquired the driver proceeds with the stale value

of epfile and tries to free the already freed read buffer

causing use-after-free.

Following is the illustration of the race:

CPU1 CPU2

ffs_func_eps_disable

epfiles (local copy)

ffs_epfile_release

ffs_data_closed

if (last file closed)

ffs_data_reset

ffs_data_clear

ffs_epfiles_destroy

s

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.9, < 4.14.267 Affected

Frequently Asked Questions

What is CVE-2022-48822?

CVE-2022-48822 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 16, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-48822?

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

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-48822?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-48822 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.