CVE Feed
6.1 Medium

The CONFIGUSERSPACE syscall verifier for getsockopt() in subsys/net/lib/sockets/sockets.c dereferenced the caller-supplied optlen pointer…

CVE-2026-86086

The CONFIGUSERSPACE syscall verifier for getsockopt() in subsys/net/lib/sockets/sockets.c dereferenced the caller-supplied optlen pointer without validating it. zvrfyzsockgetsockopt() began with netsocklent kerneloptlen = (netsocklent )optlen;, reading four bytes through an unprivileged thread's pointer while executing in supervisor mode, before any KSYSCALLMEMORYREAD or kusermodefromcopy() check. Every sibling verifier in the same file — zvrfyzsockaccept(), zvrfyzsockrecvfrom(), zvrfyzsockgetpeername(), zvrfyzsockgetsockname() — validated the equivalent addrlen pointer correctly; getsockopt was the sole outlier. zsockgetsockopt() is declared syscall in include/zephyr/net/socket.h, so any user-mode thread holding (or able to create) a socket can invoke it directly with an arbitrary pointer value. No preparation, race, or heap grooming is required: a single call is enough. The issue is only present in builds with CONFIGUSERSPACE=y and CONFIGNETSOCKETS=y, which is precisely the configuration intended to contain an untrusted thread. The word read is not returned to the caller directly: the trailing kusermodetocopy() writes the updated length back through optlen itself, and for a…

Proof-of-concept code is published

Public PoC

Signals come from Exploit-DB, Metasploit, Nuclei and published proof-of-concept repositories. Their absence means nothing was found, not that nothing exists.

Assessment

CVSS
6.1 (v3.1)
Severity
Medium
EPSS
0% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Public PoC
Published
1 December 2026
Last updated
1 December 2026
Weakness
CWE-822
Assigner
vulnerabilities@zephyrproject.org

CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/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
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-86086