What’s Vulnerable › Vulnerabilities

CVE-2022-49053: scsi: target: tcmu: Fix possible page UAF

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

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

Get alerted when CVE-2022-49053 or the next vulnerability affects your stack