CVE-2026-23285

drbd: fix null-pointer dereference on local read error

No CVSS score yet EPSS 0.19%

Published 25 Mar 2026 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2026-23285

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-23285 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 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.

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 4.85% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, before 6f1d1614f841d91a4169db65812ffd1271735b42
affected from 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, before 1e906c08594c8f9a6a524f38ede2c4e051196106
affected from 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, before 4e8935053ba389ae8d6685c10854d8021931bd89
affected from 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, before 91df51d2df0ca4fd3281f73626341563d64a98a5
affected from 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, before 0d195d3b205ca90db30d70d09d7bb6909aac178f
Other versions: unaffected
Linux
affected 6.4
unaffected before 6.4
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-23285 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23285

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-23285
trivy image --scanners vuln IMAGE | grep CVE-2026-23285

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-23285 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.