What’s Vulnerable › Vulnerabilities
CVE-2022-49053: scsi: target: tcmu: Fix possible page UAF
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
- Weakness: CWE-416
Description
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().
Affected products
- Linux kernel: before 4.14.276; from 4.15 before 4.19.239; from 4.20 before 5.4.190; from 5.5 before 5.10.112; from 5.11 before 5.15.35; from 5.16 before 5.17.4 — fixed in 4.14.276, 4.19.239, 5.10.112, 5.15.35, 5.17.4, 5.4.190
How to fix
Upgrade to a fixed version: Linux kernel 4.14.276, 4.19.239, 5.10.112, 5.15.35. Check the vendor advisory for mitigations.
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
- https://git.kernel.org/stable/c/e3e0e067d5b34e4a68e3cc55f8eebc413f56f8ed
- https://git.kernel.org/stable/c/fb7a5115422fbd6a4d505e8844f1ef5529f10489
Get alerted when CVE-2022-49053 or the next vulnerability affects your stack