Skip to content
Heist/ feed
Unrated

drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock()

Type: advisorySource: Official CVE List1 source record

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 latt

Announced Group revision 1
Original source ↗

CVE-2026-23356

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-23356

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "08a1ddab6df7d3c7b6341774cb1cf4b21b96a214",
        "lessThan": "933d161baa3794547adee621c0bf52cbf2c1b3cd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "08a1ddab6df7d3c7b6341774cb1cf4b21b96a214",
        "lessThan": "cf01aa6288e1190f89865e765056e2a9d8190639",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "08a1ddab6df7d3c7b6341774cb1cf4b21b96a214",
        "lessThan": "7752569fc78e89794ce28946529850282233f99d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "08a1ddab6df7d3c7b6341774cb1cf4b21b96a214",
        "lessThan": "e91d8d6565b7819d13dab21d4dbed5b45efba59b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "08a1ddab6df7d3c7b6341774cb1cf4b21b96a214",
        "lessThan": "eef1390125b660b8b61f9f227a03bb9c5e6d36a5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "08a1ddab6df7d3c7b6341774cb1cf4b21b96a214",
        "lessThan": "d1ef3aed4df2ef1fe46befd8f2da9a6ec5445508",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "08a1ddab6df7d3c7b6341774cb1cf4b21b96a214",
        "lessThan": "f558e5404a72054b525dced1a0c66aa95a144153",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "08a1ddab6df7d3c7b6341774cb1cf4b21b96a214",
        "lessThan": "ab140365fb62c0bdab22b2f516aff563b2559e3b",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/block/drbd/drbd_actlog.c",
      "drivers/block/drbd/drbd_interval.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.10"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.10",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.253",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.203",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.167",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.130",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.77",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.17",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.7",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/block/drbd/drbd_actlog.c",
      "drivers/block/drbd/drbd_interval.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-23356

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#27233 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement