Skip to content
OpenAdvisories
Medium · 6.4 CVE-2023-28576 EUVD-2023-32246GHSA-qjfp-56q2-gxwj

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

Published Aug 8, 2023 · Updated Aug 2, 2024 · 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 products

VendorProductAffectedFixed
Qualcomm Snapdragon FastConnect 6800, FastConnect 6900, FastConnect 7800, QCA6391, QCA6426, QCA6436, QCN9074, QCS410, QCS610, SD865 5G, Snapdragon 8 Gen 1 Mobile Platform, Snapdragon 865 5G Mobile Platform, Snapdragon 865+ 5G Mobile Platform (SM8250-AB), Snapdragon 870 5G Mobile Platform (SM8250-AC), Snapdragon X55 5G… —

References