CVE-2026-11742
Last modified
CVE-2026-11742 is a low-severity vulnerability rated 3.6/10 on the CVSS scale. The kernel queue helper z_queue_node_peek() in kernel/queue.c dereferences a node taken from a queue's data_q list, reading the node's flag byte and, for items enqueued via k_queue_alloc_append/alloc_prepend, the data pointer of an internally allocated alloc_node struct. The implementations of z_impl_k_queue_peek_head() and z_impl_k_queue_peek_tail() performed this read-and-dereference without holding the queue's spinlock, while every other accessor of the same list — including k_queue_get(), which unlinks a node and k_free()s its backing alloc_node — operates under that lock. Because peek was unsynchronized, a concurrent k_queue_get() on the same queue (on an SMP build, or under preemption/ISR concurrency) can free the node between the moment peek obtains the node pointer and the moment it dereferences it. EPSS estimates a 0.09% chance of exploitation in the next 30 days.
Description
The kernel queue helper z_queue_node_peek() in kernel/queue.c dereferences a node taken from a queue's data_q list, reading the node's flag byte and, for items enqueued via k_queue_alloc_append/alloc_prepend, the data pointer of an internally allocated alloc_node struct. The implementations of z_impl_k_queue_peek_head() and z_impl_k_queue_peek_tail() performed this read-and-dereference without holding the queue's spinlock, while every other accessor of the same list — including k_queue_get(), which unlinks a node and k_free()s its backing alloc_node — operates under that lock. Because peek was unsynchronized, a concurrent k_queue_get() on the same queue (on an SMP build, or under preemption/ISR concurrency) can free the node between the moment peek obtains the node pointer and the moment it dereferences it. The peek then reads flag bits and a data pointer out of freed, potentially re-allocated heap memory and returns a stale or dangling pointer to its caller. k_fifo and k_lifo are thin wrappers over k_queue, so this affects buffer queues used throughout the net_buf, Bluetooth, USB, and networking subsystems; the peek operations are also system calls reachable from CONFIG_USERSPACE threads. The consequences are a use-after-free read that can leak stale heap contents (one pointer word) and, when the returned dangling pointer is subsequently consumed as a live buffer, a dereference that can crash the system or corrupt memory. Exploitation requires winning a small race window with local access (e.g. a userspace process racing k_queue_peek_* against k_queue_get on a shared queue, or two CPUs), so practical impact is bounded and of low severity. The fix wraps both peek implementations with k_spin_lock/k_spin_unlock on the queue lock, making the read-and-dereference atomic with respect to the concurrent unlink-and-free and bringing peek into line with the rest of the queue's locking discipline.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 1.12.0, < 4.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-11742?
How severe is CVE-2026-11742?
How do I fix CVE-2026-11742?
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-11736A stack-based buffer overflow vulnerability affects certain …1.9
- CVE-2026-11737Insufficient input validation vulnerability in the listed N…4.3
- CVE-2026-11738Insufficient input validation vulnerability in the listed NE…4.3
- CVE-2026-11739A command injection vulnerability in certain affected NETGEA…4.9
- CVE-2026-1174A vulnerability was determined in birkir prime up to 0.4.0.b…7.5
- CVE-2026-11740Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-11743The SF32LB MPI QSPI NOR flash driver (drivers/flash/flash_sf…6.6
- CVE-2026-11745A vulnerability has been identified in centraldogma-server-m…8.8
- CVE-2026-11746A vulnerability has been identified in centraldogma-server v…9.4
- CVE-2026-11748A vulnerability has been identified in centraldogma-server-a…6.9
- CVE-2026-1175A vulnerability was identified in birkir prime up to 0.4.0.b…7.5
- CVE-2026-11752A vulnerability has been identified in armeria-xds versions …5.9
Are you affected by CVE-2026-11742?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
