CVE-2022-48872: misc: fastrpc: Fix use-after-free race condition for maps
Vulnerability summary
CVE-2022-48872 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 8Timeline
- 21-08-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu108 products
- linux< 5.4.0-147.164 | < 5.15.0-70.77
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1100.108 | < 5.15.0-1034.38
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, < 556dfdb226ce1e5231d8836159b23f8bb0395bf4 | ≥ c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, < b171d0d2cf1b8387c72c8d325c5d5746fa271e39 | ≥ c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, < 61a0890cb95afec5c8a2f4a879de2b6220984ef1 | ≥ c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, < 079c78c68714f7d8d58e66c477b0243b31806907 | ≥ c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, < 96b328d119eca7563c1edcc4e1039a62e6370ecb | 5.1
- linux_kernel≥ 5.1, < 5.4.230 | ≥ 5.5, < 5.10.165 | ≥ 5.11, < 5.15.90 | ≥ 5.16, < 6.2 | 6.2:rc1 | 6.2:rc2 | 6.2:rc3 | 6.2:rc4
Debian1 product
- linux< 6.1.8-1
3 vendors · 111 products