A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
The SocketCAN implementation validates the length of a user-provided buffer containing a socketcan_frame object using only a NET_ASSERT statement in zcan_sendto_ctx() before dereferencing it in socketcan_to_can_frame(). In production builds where assertions are disabled, a userspace application that controls the length passed to a sendto syscall can supply an incomplete or truncated frame, causing socketcan_to_can_frame() to dereference fields beyond the end of the buffer. This results in an out-of-bounds read that can cause denial-of-service crashes or, because the parsed frame contents are transmitted on the network, leak adjacent memory.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Zephyrproject zephyr
Weakness type
References
- github.com /zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning