CVE-2026-23356CWE-617

CVE-2026-23356

Medium · published March 25, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
2.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00136 · 2.8th percentile
Weakness
CWE-617 · Reachable Assertion
Published
2026-03-25T15:16Z
Affected products (15)
ProductVersionsFixed in
linux/linux_kernel≥ 3.10.1, < 5.10.2535.10.253
linux/linux_kernel≥ 5.11, < 5.15.2035.15.203
linux/linux_kernel≥ 5.16, < 6.1.1676.1.167
linux/linux_kernel≥ 6.2, < 6.6.1306.6.130
linux/linux_kernel≥ 6.7, < 6.12.776.12.77
linux/linux_kernel≥ 6.13, < 6.18.176.18.17
linux/linux_kernel≥ 6.19, < 6.19.76.19.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (9)
EPSS history
Timeline
  • 25 MAR 10:27Z
    drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock()
    cvelistv5