CVE-2022-49053

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*

History

24 Mar 2025, 17:43

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/a6968f7a367f128d120447360734344d5a3d5336 - () https://git.kernel.org/stable/c/a6968f7a367f128d120447360734344d5a3d5336 - Patch
References () https://git.kernel.org/stable/c/a9564d84ed9f6ee71017d062d0d2182154294a4b - () https://git.kernel.org/stable/c/a9564d84ed9f6ee71017d062d0d2182154294a4b - Patch
References () https://git.kernel.org/stable/c/aec36b98a1bbaa84bfd8299a306e4c12314af626 - () https://git.kernel.org/stable/c/aec36b98a1bbaa84bfd8299a306e4c12314af626 - Patch
References () https://git.kernel.org/stable/c/b7f3b5d70c834f49f7d87a2f2ed1c6284d9a0322 - () https://git.kernel.org/stable/c/b7f3b5d70c834f49f7d87a2f2ed1c6284d9a0322 - Patch
References () https://git.kernel.org/stable/c/d7c5d79e50be6e06b669141e3db1f977a0dd4e8e - () https://git.kernel.org/stable/c/d7c5d79e50be6e06b669141e3db1f977a0dd4e8e - Patch
References () https://git.kernel.org/stable/c/e3e0e067d5b34e4a68e3cc55f8eebc413f56f8ed - () https://git.kernel.org/stable/c/e3e0e067d5b34e4a68e3cc55f8eebc413f56f8ed - Patch
References () https://git.kernel.org/stable/c/fb7a5115422fbd6a4d505e8844f1ef5529f10489 - () https://git.kernel.org/stable/c/fb7a5115422fbd6a4d505e8844f1ef5529f10489 - Patch
CPE cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

27 Feb 2025, 18:15

Type Values Removed Values Added
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: target: tcmu: Fix possible page UAF tcmu_try_get_data_page() busca páginas bajo cmdr_lock, pero no toma el recuento de referencias correctamente y solo devuelve el puntero de página. Cuando tcmu_try_get_data_page() regresa, la página devuelta puede haber sido liberada por tcmu_blocks_release(). Necesitamos get_page() bajo cmdr_lock para evitar tcmu_blocks_release() concurrente.

26 Feb 2025, 07:00

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:00

Updated : 2025-03-24 17:43


NVD link : CVE-2022-49053

Mitre link : CVE-2022-49053

CVE.ORG link : CVE-2022-49053


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free