Use-after-free in Linux kernel - CVE-2022-49270
Published: February 26, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU104464
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-49270
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the cleanup_mapped_device() function in drivers/md/dm.c. A local user can escalate privileges on the system.
How to mitigate CVE-2022-49270
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/0987f00a76a17aa7213da492c00ed9e5a6210c73
- https://git.kernel.org/stable/c/43a043aed964659bc69ef81f266912b73c80d837
- https://git.kernel.org/stable/c/588b7f5df0cb64f281290c7672470c006abe7160
- https://git.kernel.org/stable/c/fdfe414ca28ddfd562c233fb27385cf820de03e8
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.19