CVE-2022-48874: misc: fastrpc: Fix use-after-free and race in fastrpc_map_find
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.
Security readout for executives and security teams
Plain-English summary
CVE-2022-48874 is a Linux kernel memory-safety bug in the fastrpc component. A race condition can cause a use-after-free, which is the kind of flaw that may crash affected systems or create deeper kernel risk. The public sources do not provide CVSS, attacker prerequisites, or confirmed exploitation.
Executive priority
Track and remediate through normal kernel patch management unless local exposure analysis finds fastrpc use on sensitive systems. The bug is in kernel memory handling, but the public record lacks severity scoring, exploit evidence, and concrete impact detail.
Technical view
The issue is a race between unlocking a mutex in fastrpc_map_lookup and incrementing a reference count in fastrpc_map_find. The kernel fix merges fastrpc_map_find into fastrpc_map_lookup so list protection and reference handling occur under the appropriate spinlock before release.
Likely exposure
Exposure appears limited to Linux kernels in the affected version ranges where the fastrpc code is present and used. The source lists Linux kernel versions including 5.18, 6.1.8, and 6.2 as affected, but does not describe distributions, configurations, or default deployment exposure.
Exploitation context
The source bundle does not show CISA KEV listing, public exploitation, exploit availability, or attacker access requirements. Treat exploitation status as unconfirmed. Researchers should avoid assuming local or remote reachability without validating how fastrpc is exposed on the target system.
Researcher notes
The strongest evidence is the upstream fix description: a use-after-free race in fastrpc_map_find/lookup fixed by changing locking and reference-count flow. Impact and prerequisites are not described in the provided sources, so validation should focus on affected kernel code presence and vendor backport status.
Mitigation direction
Check vendor or distribution advisories for CVE-2022-48874 coverage.
Apply kernel updates that include the referenced stable fixes.
Confirm distribution backports, not just upstream version numbers.
Limit reliance on affected fastrpc functionality where operationally feasible.
Prioritize systems using affected Linux kernel branches.
Validation and detection
Inventory running Linux kernel versions across managed systems.
Identify systems where the fastrpc driver or functionality is present.
Compare kernel builds against vendor advisories for this CVE.
Verify patched builds include the referenced upstream stable fixes.
Correlate scanner findings with actual kernel package backport status.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-48874 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.