CVE-2026-23285 (GCVE-0-2026-23285)

Vulnerability from cvelistv5 – Published: 2026-03-25 10:26 – Updated: 2026-03-25 16:49
VLAI?
Title
drbd: fix null-pointer dereference on local read error
Summary
In the Linux kernel, the following vulnerability has been resolved: drbd: fix null-pointer dereference on local read error In drbd_request_endio(), READ_COMPLETED_WITH_ERROR is passed to __req_mod() with a NULL peer_device: __req_mod(req, what, NULL, &m); The READ_COMPLETED_WITH_ERROR handler then unconditionally passes this NULL peer_device to drbd_set_out_of_sync(), which dereferences it, causing a null-pointer dereference. Fix this by obtaining the peer_device via first_peer_device(device), matching how drbd_req_destroy() handles the same situation.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 0d11f3cf279c5ad20a41f29242f170ba3c02f2da , < 6f1d1614f841d91a4169db65812ffd1271735b42 (git)
Affected: 0d11f3cf279c5ad20a41f29242f170ba3c02f2da , < 1e906c08594c8f9a6a524f38ede2c4e051196106 (git)
Affected: 0d11f3cf279c5ad20a41f29242f170ba3c02f2da , < 4e8935053ba389ae8d6685c10854d8021931bd89 (git)
Affected: 0d11f3cf279c5ad20a41f29242f170ba3c02f2da , < 91df51d2df0ca4fd3281f73626341563d64a98a5 (git)
Affected: 0d11f3cf279c5ad20a41f29242f170ba3c02f2da , < 0d195d3b205ca90db30d70d09d7bb6909aac178f (git)
Create a notification for this product.
    Linux Linux Affected: 6.4
Unaffected: 0 , < 6.4 (semver)
Unaffected: 6.6.130 , ≤ 6.6.* (semver)
Unaffected: 6.12.77 , ≤ 6.12.* (semver)
Unaffected: 6.18.17 , ≤ 6.18.* (semver)
Unaffected: 6.19.7 , ≤ 6.19.* (semver)
Unaffected: 7.0-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/block/drbd/drbd_req.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6f1d1614f841d91a4169db65812ffd1271735b42",
              "status": "affected",
              "version": "0d11f3cf279c5ad20a41f29242f170ba3c02f2da",
              "versionType": "git"
            },
            {
              "lessThan": "1e906c08594c8f9a6a524f38ede2c4e051196106",
              "status": "affected",
              "version": "0d11f3cf279c5ad20a41f29242f170ba3c02f2da",
              "versionType": "git"
            },
            {
              "lessThan": "4e8935053ba389ae8d6685c10854d8021931bd89",
              "status": "affected",
              "version": "0d11f3cf279c5ad20a41f29242f170ba3c02f2da",
              "versionType": "git"
            },
            {
              "lessThan": "91df51d2df0ca4fd3281f73626341563d64a98a5",
              "status": "affected",
              "version": "0d11f3cf279c5ad20a41f29242f170ba3c02f2da",
              "versionType": "git"
            },
            {
              "lessThan": "0d195d3b205ca90db30d70d09d7bb6909aac178f",
              "status": "affected",
              "version": "0d11f3cf279c5ad20a41f29242f170ba3c02f2da",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/block/drbd/drbd_req.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.4"
            },
            {
              "lessThan": "6.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.77",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.130",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.77",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.17",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.7",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0-rc2",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrbd: fix null-pointer dereference on local read error\n\nIn drbd_request_endio(), READ_COMPLETED_WITH_ERROR is passed to\n__req_mod() with a NULL peer_device:\n\n  __req_mod(req, what, NULL, \u0026m);\n\nThe READ_COMPLETED_WITH_ERROR handler then unconditionally passes this\nNULL peer_device to drbd_set_out_of_sync(), which dereferences it,\ncausing a null-pointer dereference.\n\nFix this by obtaining the peer_device via first_peer_device(device),\nmatching how drbd_req_destroy() handles the same situation."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-03-25T16:49:09.840Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6f1d1614f841d91a4169db65812ffd1271735b42"
        },
        {
          "url": "https://git.kernel.org/stable/c/1e906c08594c8f9a6a524f38ede2c4e051196106"
        },
        {
          "url": "https://git.kernel.org/stable/c/4e8935053ba389ae8d6685c10854d8021931bd89"
        },
        {
          "url": "https://git.kernel.org/stable/c/91df51d2df0ca4fd3281f73626341563d64a98a5"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d195d3b205ca90db30d70d09d7bb6909aac178f"
        }
      ],
      "title": "drbd: fix null-pointer dereference on local read error",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-23285",
    "datePublished": "2026-03-25T10:26:44.698Z",
    "dateReserved": "2026-01-13T15:37:45.992Z",
    "dateUpdated": "2026-03-25T16:49:09.840Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-23285\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-03-25T11:16:23.247\",\"lastModified\":\"2026-03-25T15:41:33.977\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrbd: fix null-pointer dereference on local read error\\n\\nIn drbd_request_endio(), READ_COMPLETED_WITH_ERROR is passed to\\n__req_mod() with a NULL peer_device:\\n\\n  __req_mod(req, what, NULL, \u0026m);\\n\\nThe READ_COMPLETED_WITH_ERROR handler then unconditionally passes this\\nNULL peer_device to drbd_set_out_of_sync(), which dereferences it,\\ncausing a null-pointer dereference.\\n\\nFix this by obtaining the peer_device via first_peer_device(device),\\nmatching how drbd_req_destroy() handles the same situation.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0d195d3b205ca90db30d70d09d7bb6909aac178f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1e906c08594c8f9a6a524f38ede2c4e051196106\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4e8935053ba389ae8d6685c10854d8021931bd89\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6f1d1614f841d91a4169db65812ffd1271735b42\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/91df51d2df0ca4fd3281f73626341563d64a98a5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…