Use-after-free in Linux kernel - CVE-2022-49377
Published: February 26, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU104432
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-49377
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 blk_mq_has_sqsched() and blk_mq_get_sq_hctx() functions in block/blk-mq.c. A local user can escalate privileges on the system.
How to mitigate CVE-2022-49377
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/460aa288c5cd0544dcf933a2f0ad0e8c6d2d35ff
- https://git.kernel.org/stable/c/5d05426e2d5fd7df8afc866b78c36b37b00188b7
- https://git.kernel.org/stable/c/70fdd922c7bf8949f8df109cf2635dff64c90392
- https://git.kernel.org/stable/c/b140bac470b4f707cda59c7266214246238661df
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.15