Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-102959

published medium CVSS 3.1 · 6.4

Stack use-after-return on RX timeout in Grow R502-A fingerprint sensor driver

Published
25 Nov 2026, 20:27:18 UTC
Updated
25 Nov 2026, 20:27:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
zephyrproject — zephyr3.7.0 to < 4.3.2 · 4.4.0 to < 4.5.0 · Other versions: unaffected Affected Not stated zephyr

Description

The Grow R502-A fingerprint sensor driver (drivers/sensor/grow_r502a/grow_r502a.c) points drv_data->rx_buf.data at an rx_packet buffer on the caller's stack and enables the UART RX interrupt before waiting 1500 ms for a reply. When the wait timed out, transceive_packet() returned -ETIMEDOUT but left the RX interrupt enabled and rx_buf.data still pointing at the caller's buffer. Once the caller's frame has returned, any bytes that arrive late on the UART are written by the interrupt handler uart_cb_handler() through the dangling pointer into stack memory that the thread has since reused. The bytes come from the device on the other end of the UART. An attacker with physical access who replaces or impersonates the fingerprint module can trigger this by delaying a reply past the timeout and then sending a packet. A slow or faulty genuine module can also trigger it by accident. The result is a write of attacker-chosen bytes into a live thread stack. The write length comes from the header of the late packet. Commit 96968fac22b, which landed together with this fix, bounds it to a header plus CONFIG_R502A_DATA_PKT_SIZE bytes; affected releases do not have that bound. This can crash the device and may allow control-flow hijacking, depending on what occupies the reused stack region. The fix disables the RX interrupt, resets the RX semaphore and clears rx_buf.data on timeout, and the interrupt handler now refuses to write when no receive buffer is armed.

en · zephyr · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.4 / 10
Severity
medium
Provider
zephyr · cna
Vector string
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
zephyrproject zephyr 3.7.0 to < 4.3.2 (affected · semver)4.4.0 to < 4.5.0 (affected · semver)Default: unaffected zephyr · cna

Weaknesses

1
  • CWE-562 use-after-free (zephyr · cna)

References

2
  • Fix commit https://github.com/zephyrproject-rtos/zephyr/commit/bd936c30d86fe98682c481e2d953157c223b774a patch Contributors: zephyr (cna)
  • GHSA-4j4w-72jr-q9g2 https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-4j4w-72jr-q9g2 Contributors: zephyr (cna)

Provider assertions

1

zephyr · cna

Stack use-after-return on RX timeout in Grow R502-A fingerprint sensor driver

Provenance

Schema
5.2
Searchable
yes
Content hash
91a518ef546d7d6ea5fd3eda5bc804d78d47fb5fbaec4a874c01073f6a8cf2b2
Ingested
25 Nov 2026, 20:33:55 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected