CVE-2026-10682
Last modified
CVE-2026-10682 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. The userspace verifier z_vrfy_log_filter_set() for the log_filter_set syscall in subsys/logging/log_mgmt.c performed a signed comparison against the int16_t src_id parameter: src_id < (int16_t)log_src_cnt_get(domain_id). Any negative value for src_id (e.g. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
Description
The userspace verifier z_vrfy_log_filter_set() for the log_filter_set syscall in subsys/logging/log_mgmt.c performed a signed comparison against the int16_t src_id parameter: src_id < (int16_t)log_src_cnt_get(domain_id). Any negative value for src_id (e.g. -1) trivially satisfied this check and was forwarded into z_impl_log_filter_set, where it propagated to filter_set() and ultimately to get_dynamic_filter(), which uses source_id as an unsigned index into the linker-section array &TYPE_SECTION_START(log_dynamic)[source_id].filters. After implicit conversion through uint32_t, an int16_t -1 becomes 0xFFFFFFFF, indexing log_dynamic far out of bounds and causing the kernel to perform an OOB read and an OOB read-modify-write (LOG_FILTER_SLOT_GET/SET) against memory adjacent to the log_dynamic section. The written value is a constrained 3-bit log level slot within the targeted 32-bit word, but the target address is attacker-chosen (a small negative offset from log_dynamic) and the write occurs in supervisor mode following a syscall from an unprivileged user thread, providing a kernel memory-corruption / privilege-escalation primitive. The defect is reachable on any build with CONFIG_USERSPACE=y and CONFIG_LOG_RUNTIME_FILTERING=y. Present from Zephyr v3.3.0 through v4.4.1. The fix replaces the signed bound check with an unsigned comparison: (uint32_t)src_id < log_src_cnt_get(domain_id), which correctly rejects negative inputs.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | >= 3.0.0, < 4.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-10682?
How severe is CVE-2026-10682?
How do I fix CVE-2026-10682?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-10677The CONFIG_USERSPACE syscall verifier z_vrfy_k_poll() in ker…6.5
- CVE-2026-10678The MCTP-over-I2C+GPIO target binding in Zephyr (subsys/pmci…8.1
- CVE-2026-10679The DesignWare SPI driver (drivers/spi/spi_dw.c) computed th…5.5
- CVE-2026-1068An improper certificate validation vulnerability was reporte…6
- CVE-2026-10680The Classic (BR/EDR) L2CAP signaling handlers l2cap_br_conf_…7.6
- CVE-2026-10681In Zephyr's userspace dynamic-objects subsystem, thread_idx_…7
- CVE-2026-10683In the Synopsys DesignWare I2C driver (drivers/i2c/i2c_dw.c)…4.6
- CVE-2026-10684In subsys/debug/coredump/coredump_shell.c, print_coredump_hd…3
- CVE-2026-10685The Zephyr Bluetooth GATT client CCC-write response handler …7.6
- CVE-2026-10686Zephyr's IPv6 forwarding path re-sent routed unicast packets…7.5
- CVE-2026-10687Rejected reason: This CVE Record has been rejected by the Ze…
- CVE-2026-10688A vulnerability was determined in ahujasid blender-mcp up to…5.5
Are you affected by CVE-2026-10682?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
