CVE-2026-23356
drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock()
Reported by linux · Published March 25, 2026
In the Linux kernel, the following vulnerability has been resolved: drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock() Even though we check that we "should" be able to do lc_get_cumulative() while holding the device->al_lock spinlock, it may still fail, if some other code path decided to do lc_try_lock() with bad timing. If that happened, we logged "LOGIC BUG for enr=...", but still did not return an error. The rest of the code now assumed that this request has references for the relevant activity log extents. The implcations are that during an active resync, mutual exclusivity of resync versus application IO is not guaranteed. And a potential crash at this point may not realizs that these extents could have been target of in-flight IO and would need to be resynced just in case. Also, once the request completes, it will give up activity log references it does not even hold, which will trigger a BUG_ON(refcnt == 0) in lc_put(). Fix: Do not crash the kernel for a condition that is harmless during normal operation: also catch "e->refcnt == 0", not only "e == NULL" when being noisy about "al_complete_io() called on inactive extent %u\n". And do not try to be smart and "guess" whether something will work, then be surprised when it does not. Deal with the fact that it may or may not work. If it does not, remember a possible "partially in activity log" state (only possible for requests that cross extent boundaries), and return an error code from drbd_al_begin_io_nonblock(). A latter call for the same request will then resume from where we left off.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| perf | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel-libbpf | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.18-libbpf | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel-livepatch-6.1.168-202.320 | Amazon Linux | 1:1.0-0.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
5 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214 |
| Linux | Linux | 3.10, 0, 5.10.253 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel6.18-libbpf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.1.168-202.320 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-devel | 0 |
| linux | linux_kernel | 3.10, 3.10, 3.10 |
| amazon:2023 | kernel-livepatch-6.12.77-99.140 | 0 |
…and 27 more
Timeline
- Mar 24, 2026 CVE Published
- Mar 25, 2026 EPSS Score (27 in total, the first dated here)
- Mar 25, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 29, 2026 Security Advisory (142 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (59 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-23356
vulnetix vdb fixes CVE-2026-23356
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23356/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart