CVE-2022-49053·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: scsi: target: tcmu: Fix possible page UAF tcmu_try_get_data_page() looks up pages under cmdr_lock, but it does not take refcount properly and just returns page pointer. When tcmu_try_get_data_page() returns, the returned page may have been freed by tcmu_blocks_release(). We need to get_page() under cmdr_lock to avoid concurrent tcmu_blocks_release().
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.17.4
- Published
- 2025-02-26
Affected versions
From: 5.16
Until: 5.17.4
Fixed in: 5.17.4
How to fix this CVE
Update your Linux kernel to version 5.17.4 or later to resolve a use-after-free vulnerability in the TCMU SCSI target subsystem. This flaw could allow a local privileged user to trigger kernel memory corruption by accessing target device pages that may be freed concurrently. Apply the patch immediately to systems running vulnerable kernel versions 5.16 through 5.17.3.
sudo dnf check-update kernel && sudo dnf install kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if TCMU (target core module user-space backend) is loaded: lsmod | grep tcmu
- Review kernel logs for memory faults or use-after-free warnings: sudo dmesg | grep -i 'use.after.free\|uaf\|page.*freed'
- After patching, confirm the new kernel is booted: uname -r and verify it matches 5.17.4 or later
FAQ
What is CVE-2022-49053?
CVE-2022-49053 is a use-after-free vulnerability in the Linux kernel's TCMU (target core module user-space backend) subsystem where a page lookup function fails to properly reference-count pages, allowing concurrent release operations to free memory that is still in use.
Is CVE-2022-49053 being actively exploited?
No, this vulnerability is not actively exploited in the wild according to CISA records, and no public exploits are available. However, it requires local access with elevated privileges, limiting its attack surface.
What versions of Kernel are affected by CVE-2022-49053?
Linux kernel versions 5.16 through 5.17.3 are vulnerable. The fix was incorporated in kernel 5.17.4 and later stable releases.
How do I check if my server is vulnerable to CVE-2022-49053?
Run 'uname -r' to display your kernel version. If it shows 5.16.x or 5.17.0 through 5.17.3, your system is vulnerable. Additionally, check if TCMU is in use with 'lsmod | grep tcmu'.
Does Defensia detect CVE-2022-49053?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2022-49053 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/a6968f7a367f128d120447360734344d5a3d5336
- https://git.kernel.org/stable/c/a9564d84ed9f6ee71017d062d0d2182154294a4b
- https://git.kernel.org/stable/c/aec36b98a1bbaa84bfd8299a306e4c12314af626
- https://git.kernel.org/stable/c/b7f3b5d70c834f49f7d87a2f2ed1c6284d9a0322
- https://git.kernel.org/stable/c/d7c5d79e50be6e06b669141e3db1f977a0dd4e8e
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49053. Free for 1 server.
Get started free