{"id":"CVE-2022-48874","published":"2024-08-21T06:10:05Z","modified":"2026-08-05T08:52:45Z","title":"misc: fastrpc: Fix use-after-free and race in fastrpc_map_find","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: Fix use-after-free and race in fastrpc_map_find\n\nCurrently, there is a race window between the point when the mutex is\nunlocked in fastrpc_map_lookup and the reference count increasing\n(fastrpc_map_get) in fastrpc_map_find, which can also lead to\nuse-after-free.\n\nSo lets merge fastrpc_map_find into fastrpc_map_lookup which allows us\nto both protect the maps list by also taking the &fl->lock spinlock and\nthe reference count, since the spinlock will be released only after.\nAdd take_ref argument to make this suitable for all callers.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0023,"percentile":0.14052,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a50c5c25b6e7d2824698c0e6385f882a18f4a498","tags":[]},{"url":"https://git.kernel.org/stable/c/9446fa1683a7e3937d9970248ced427c1983a1c5","tags":[]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":2.81},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8f6c1d8c4f0cc316b0456788fff8373554d1d99d, < a50c5c25b6e7d2824698c0e6385f882a18f4a498",">= 8f6c1d8c4f0cc316b0456788fff8373554d1d99d, < 9446fa1683a7e3937d9970248ced427c1983a1c5"]},{"vendor":"Linux","product":"Linux","versions":["5.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:05:19.392844Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53753","exploited":false,"provenance":"source"}}