Use-after-free in Linux kernel - CVE-2022-49464
Published: February 26, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU104420
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-49464
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 z_erofs_shifted_transform() function in fs/erofs/decompressor.c. A local user can escalate privileges on the system.
How to mitigate CVE-2022-49464
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/4d53a625f29074e7b8236c2c0e0922edb7608df9
- https://git.kernel.org/stable/c/6b59e1907f58cf877c563dcf013159eb9f994b64
- https://git.kernel.org/stable/c/dcbe6803fffd387f72b48c2373b5f5ed12a5804b
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.14
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.3
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19