Menu

Star on GitHub · 3.2k

CVE-2022-48872

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix use-after-free race condition for maps It is possible that in between calling fastrpc_map_get() until map->f…

Published Aug 21, 2024CWE-416EPSS 0.24%

Overview

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

misc: fastrpc: Fix use-after-free race condition for maps

It is possible that in between calling fastrpc_map_get() until

map->fl->lock is taken in fastrpc_free_map(), another thread can call

fastrpc_map_lookup() and get a reference to a map that is about to be

deleted.

Rewrite fastrpc_map_get() to only increase the reference count of a map

if it's non-zero. Propagate this to callers so they can know if a map is

about to be deleted.

Fixes this warning:

refcount_t: addition on 0; use-after-free.

WARNING: CPU: 5 PID: 10100 at lib/refcount.c:25 refcount_warn_saturate

...

Call trace:

refcount_warn_saturate

[fastrpc_map_get inlined]

[fastrpc_map_lookup inlined]

fastrpc_map_create

fastrpc_internal_invoke

fastrpc_device_ioctl

__arm64_sys_ioctl

invoke_syscall

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

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

How severe is CVE-2022-48872?

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

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

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