The SocketCAN socket layer in subsys/net/lib/sockets/socketscan.c dereferences a NULL device pointer when a NETSOLCANRAW socket option is…
CVE-2026-105418
The SocketCAN socket layer in subsys/net/lib/sockets/socketscan.c dereferences a NULL device pointer when a NETSOLCANRAW socket option is read or written on a CAN socket that has not yet been bound. A freshly created CAN socket has interface index -1. netcontextgetiface() therefore returns NULL, netifgetdevice() returns NULL, and cansocksetsockoptvmeth() / cansockgetsockoptvmeth() read dev->api without a check and then call through the resulting pointer. Any thread that can create a CAN socket can trigger the dereference by calling setsockopt() or getsockopt() at level SOLCANRAW before bind(). That ordering is common in code ported from Linux. Because zsocksocket, zsocksetsockopt and zsockgetsockopt are system calls, an unprivileged user-mode thread on a CONFIGUSERSPACE build with CONFIGNETSOCKETSCAN enabled can make the kernel perform the faulting access in supervisor mode. The result is a kernel fatal error that halts or resets the system: a local denial of service across the user/kernel boundary. On targets without NULL-pointer fault detection, the kernel instead makes an indirect call through a value read from low memory, which the attacker does not control. Builds without…
Assessment
- CVSS
- 5.5 (v3.1)
- Severity
- Medium
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 2 December 2026
- Affected
- zephyrproject · Zephyr
- Weakness
- CWE-476
- Assigner
- zephyr
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-105418