All reports
Medium

kernel: scsi: target: tcmu: Fix possible page UAF

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49053

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-21

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().

A flaw was found in the Linux kernel’s SCSI target core, specifically in the TCMU (Target Core User) subsystem. The function tcmu_try_get_data_page() failed to increment the reference count on memory pages it retrieves. This allowed a use-after-free condition if another thread freed the page via tcmu_blocks_release() while it was still in use. A local, unprivileged user could exploit this flaw to trigger kernel memory corruption or a system crash. Systems using TCMU-backed SCSI targets are affected. The highest threat from this vulnerability is to system availability, with a potential risk to confidentiality and integrity depending on exploitation context.