CVE-2026-10653
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe Zephyr net_buf library (lib/net_buf/buf.c) manipulated both of its reference counts -- the per-header buf->ref and the per-data-block ref_count at the start of each variable/heap data allocation -- with plain non-atomic C operators (buf->ref++, if (--buf->ref > 0), if (--(*ref_count))). The API is documented as self-synchronizing: callers may share one buffer across threads (e.g. via k_fifo) and each holder independently calls net_buf_unref() with no surrounding lock. Under true concurrency (SMP, or single-core preemption between the non-atomic load and store while another context unrefs the same buffer), two holders can both observe the same prior reference value and both conclude they are the last reference. For heap/variable-data pools (mem_pool_data_unref/heap_data_unref, used by zbus message subscribers, the IP stack RX/TX buffers when CONFIG_NET_BUF_FIXED_DATA_SIZE=n, capture, wireguard, ISO-TP and usbip) this produces a double k_heap_free()/k_free() of the same block -- heap-metadata corruption and a use-after-free on the heap-hardening poison pattern. For the per-header refcount the buffer is returned to the pool free LIFO twice for any pool type (including fixed-data pools used by Bluetooth and networking), corrupting the free list so a later allocation hands the same buffer to two owners. The fix converts both refcounts to atomic_inc/atomic_dec (overlaying buf->ref in an atomic_t-sized union and changing the data-block refcount from uint8_t to atomic_t). Impact is gated on genuine concurrency and on an application architecture that shares one buffer among multiple independent unref'ers; the trigger is a refcount/timing race rather than packet content, so an external attacker has at most weak indirect influence over the race window. Affects all Zephyr releases through v4.4.0. This fix is not being backported to v3.7-branch (LTS). The backport was attempted and closed unmerged (#111181): the v3.7 networking tree has diverged from main, and the new atomic word-packing -- together with the assertions it adds -- turns pre-existing v3.7-only reference-counting defects elsewhere in the stack into hard faults, so landing the change faithfully would mean pulling an open-ended set of additional v3.7-only fixes into an LTS branch. v3.7 remains affected. Applications on v3.7 that share one net_buf across threads should serialize their own net_buf_unref() calls rather than rely on the documented self-synchronizing behaviour. The fix is on main and has been backported to v4.3-branch (#110852) and v4.4-branch (#110853).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceZephyr's net_buf library uses non-atomic operations to manipulate reference counts (buf->ref++ and ref_count), allowing two concurrent callers to both believe they're the last holder of a buffer. This causes double-free of heap-allocated data blocks or corruption of the buffer pool free list.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.7.0, <= 4.4.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Zephyr version in useCheck the Zephyr version in your project by inspecting the VERSION file in the Zephyr base directory, or check the ZEPHYR_VERSION variable if using the Zephyr SDK. This is typically found in the west manifest or build configuration.Affected if The installed Zephyr version is between 2.7.0 and 4.4.1 inclusive, or if you cannot determine the exact version and are using a Zephyr release from this range.
-
Confirm net_buf library is includedVerify that your project uses the net_buf module by checking for inclusion of net_buf.h header, or by reviewing your build configuration (prj.conf) for CONFIG_NET_BUF setting.Affected if Your project includes and uses the net_buf library for buffer management.
-
Check for concurrent execution contextDetermine if your Zephyr build has SMP (Symmetric Multiprocessing) enabled by checking for CONFIG_SMP=y in your build configuration, or if preemption is possible by verifying CONFIG_PREEMPT_ENABLED=y and multi-threading usage.Affected if SMP is enabled or your application uses multiple threads that can simultaneously access net_buf buffers.
-
Inspect refcount implementation in net_buf sourceExamine the net_buf.c source file in your Zephyr tree (typically under subsys/net/buf.c). Look for non-atomic refcount operations: specifically check if ref and ref_count are modified using plain ++, --, or +=1/-=1 operators instead of atomic_inc/atomic_dec.Affected if The refcount operations use non-atomic C operators (plain increment/decrement) rather than atomic operations, making concurrent access unsafe.
You are affected if your Zephyr version is between 2.7.0 and 4.4.1, your project uses the net_buf library, your system supports concurrent execution (SMP or preemption), and the net_buf refcount code uses non-atomic operations.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate to a Zephyr release containing the atomic operations fix (atomic_inc/atomic_dec for both refcounts). Applications should audit buffer-sharing patterns across threads, as the vulnerability is triggered by concurrent net_buf_unref() calls on the same buffer.
Zephyr v4.4.2 or later
- Identify the current Zephyr version in use by checking the VERSION file or west manifest
- If running a version >= 2.7.0 and <= 4.4.1, upgrade to Zephyr v4.4.2 or later
- Alternatively, apply the vendor patch from commit 9bb2878319d5f46c29ab5fe855a378d87cd75fc3 which converts buf->ref and data-block ref_count to atomic operations
- Verify the fix by building the project and running any existing reference counting tests (e.g., tests/lib/net_buf/)
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation16.0 h
- Testing24.0 h
- Review / QA12.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $16,384.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-10653 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-10653 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data