CVE-2023-28576

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

6.4 medium EPSS 0.085%

Published 8 Aug 2023 Updated 2 Aug 2024 CNA: 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.

Severity (CVSS)

6.4 medium CVSS 3.1 from qualcomm (CNA)
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.085%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 0.31% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 8 Jul 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected products

As the CNA lists them.

ProductVersions
Snapdragon
affected FastConnect 6800
affected FastConnect 6900
affected FastConnect 7800
affected QCA6391
affected QCA6426
affected QCA6436
affected QCN9074
affected QCS410
affected QCS610
affected SD865 5G
affected Snapdragon 8 Gen 1 Mobile Platform
affected Snapdragon 865 5G Mobile Platform
affected Snapdragon 865+ 5G Mobile Platform (SM8250-AB)
affected Snapdragon 870 5G Mobile Platform (SM8250-AC)
affected Snapdragon X55 5G Modem-RF System
affected Snapdragon XR2 5G Platform
affected SW5100
affected SW5100P
affected SXR2130
affected WCD9341
affected WCD9370
affected WCD9380
affected WCN3660B
affected WCN3680B
affected WCN3950
and 6 more entries
Other versions: unaffected

Is my server affected?

This CVE is in Snapdragon of Qualcomm, Inc., which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2023-28576 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.