Use After Free in Linux
CVE-2022-48873
In the Linux kernel, the following vulnerability has been resolved:
misc: fastrpc: Don't remove map on creater_process and device_release
Do not remove the map from the list on error path in
fastrpc_init_create_process, instead call fastrpc_map_put, to avoid
use-after-free. Do not remove it on fastrpc_device_release either,
call fastrpc_map_put instead.
The fastrpc_free_map is the only proper place to remove the map.
This is called only after the reference count is 0.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 15.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 5.1.6, 5.10.165, 5.15.90
- Linux Kernel — versions 6.2
Weakness classification (CWE)
References
- git.kernel.org/stable/c/4b5c44e924a571d0ad07054de549624fbc04e4d7 (Patch)
- git.kernel.org/stable/c/193cd853145b63e670bd73740250983af1475330 (Patch)
- git.kernel.org/stable/c/1b7b7bb400dd13dcb03fc6e591bb7ca4664bbec8 (Patch)
- git.kernel.org/stable/c/35ddd482345c43d9eec1f3406c0f20a95ed4054b (Patch)
- git.kernel.org/stable/c/5bb96c8f9268e2fdb0e5321cbc358ee5941efc15 (Patch)