CVE-2022-48874CWE-416

CVE-2022-48874

High · published August 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
12.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

misc: fastrpc: Fix use-after-free and race in fastrpc_map_find

Currently, there is a race window between the point when the mutex is

unlocked in fastrpc_map_lookup and the reference count increasing

(fastrpc_map_get) in fastrpc_map_find, which can also lead to

use-after-free.

So lets merge fastrpc_map_find into fastrpc_map_lookup which allows us

to both protect the maps list by also taking the &fl->lock spinlock and

the reference count, since the spinlock will be released only after.

Add take_ref argument to make this suitable for all callers.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00230 · 12.9th percentile
Weakness
CWE-416 · Use After Free
Published
2024-08-21T11:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel≥ 5.18, < 6.1.86.1.8
References (2)
EPSS history
Timeline
  • 21 AUG 06:10Z
    misc: fastrpc: Fix use-after-free and race in fastrpc_map_find
    cvelistv5