CVE-2026-23356

drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock()

No CVSS score yet EPSS 0.19%

Published 25 Mar 2026 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2026-23356

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23356 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.12% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, before 933d161baa3794547adee621c0bf52cbf2c1b3cd
affected from 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, before cf01aa6288e1190f89865e765056e2a9d8190639
affected from 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, before 7752569fc78e89794ce28946529850282233f99d
affected from 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, before e91d8d6565b7819d13dab21d4dbed5b45efba59b
affected from 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, before eef1390125b660b8b61f9f227a03bb9c5e6d36a5
affected from 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, before d1ef3aed4df2ef1fe46befd8f2da9a6ec5445508
affected from 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, before f558e5404a72054b525dced1a0c66aa95a144153
affected from 08a1ddab6df7d3c7b6341774cb1cf4b21b96a214, before ab140365fb62c0bdab22b2f516aff563b2559e3b
Other versions: unaffected
Linux
affected 3.10
unaffected before 3.10
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.167 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.77 up to and including 6.12.*
unaffected from 6.18.17 up to and including 6.18.*
unaffected from 6.19.7 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23356 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23356

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23356
trivy image --scanners vuln IMAGE | grep CVE-2026-23356

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-23356 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.