CVE-2023-28576
JSON

6.4medium

Time-of-check Time-of-use (TOCTOU) Race Condition in Camera Kernel Driver

Severity
6.4medium CVSS:3.1 by qualcomm
Exploit likelihood
0.08% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
qualcomm

Description

The buffer obtained from kernel APIs such as cam_mem_get_cpu_buf() may be readable/writable in userspace after kernel accesses it. In other words, user mode may race and modify the packet header (e.g. header.count), causing checks (e.g. size checks) in kernel code to be invalid. This may lead to out-of-bounds read/write issues.

Affected

Product or packageVersionsReported by
Qualcomm, Inc. SnapdragonFastConnect 6800, FastConnect 6900, FastConnect 7800, QCA6391, QCA6426, QCA6436, QCN9074, QCS410 and 23 moreCVE List
qualcomm fastconnect_6800_firmwareNot specifiedNVD
qualcomm fastconnect_6900_firmwareNot specifiedNVD
qualcomm fastconnect_7800_firmwareNot specifiedNVD
qualcomm qca6391_firmwareNot specifiedNVD
qualcomm qca6426_firmwareNot specifiedNVD
qualcomm qca6436_firmwareNot specifiedNVD
qualcomm qcn9074_firmwareNot specifiedNVD
qualcomm qcs410_firmwareNot specifiedNVD
qualcomm qcs610_firmwareNot specifiedNVD
qualcomm sd865_5g_firmwareNot specifiedNVD
qualcomm snapdragon_8_gen_1_firmwareNot specifiedNVD

All scores

qualcomm6.4medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The buffer obtained from kernel APIs such as cam_mem_get_cpu_buf() may be readable/writable in userspace after kernel accesses it. In other words, user mode may race and modify the packet header (e.g. header.count), causing checks (e.g. size checks) in kernel code to be invalid. This may lead to out-of-bounds read/write issues.

NVD (es)

El buffer obtenido de APIs del kernel como cam_mem_get_cpu_buf() puede ser legible/escribible en espacio de usuario después de que el kernel acceda a él. En otras palabras, el modo de usuario puede competir y modificar la cabecera del paquete (por ejemplo, header.count), haciendo que las comprobaciones (por ejemplo, las comprobaciones de tamaño) en el código del núcleo no sean válidas. Esto puede llevar a problemas de lectura/escritura fuera de límites.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-28576 changed 2024-08-02CVE Terms of Use
NVDCVE-2023-28576 changed 2026-06-17Public domain