# CVE-2026-23285: drbd: fix null-pointer dereference on local read error

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-03-25T10:26:44.698Z
- **Modified:** 2026-06-17T10:21:15.373Z

## Who should check

- Anyone running Linux \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 6f1d1614f841d91a4169db65812ffd1271735b42; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 1e906c08594c8f9a6a524f38ede2c4e051196106; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 4e8935053ba389ae8d6685c10854d8021931bd89; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 91df51d2df0ca4fd3281f73626341563d64a98a5; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 0d195d3b205ca90db30d70d09d7bb6909aac178f
- Anyone running Linux 6.4

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

## Affected and fixed versions

- Linux: \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 6f1d1614f841d91a4169db65812ffd1271735b42; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 1e906c08594c8f9a6a524f38ede2c4e051196106; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 4e8935053ba389ae8d6685c10854d8021931bd89; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 91df51d2df0ca4fd3281f73626341563d64a98a5; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 0d195d3b205ca90db30d70d09d7bb6909aac178f (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 0d195d3b205ca90db30d70d09d7bb6909aac178f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23285. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23285.md
Affected: Linux >= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, < 6f1d1614f841d91a4169db65812ffd1271735b42; >= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, < 1e906c08594c8f9a6a524f38ede2c4e051196106; >= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, < 4e8935053ba389ae8d6685c10854d8021931bd89; >= 0d11f3cf279c5ad20a41f29…
Fixed in: Linux 6f1d1614f841d91a4169db65812ffd1271735b42, Linux 1e906c08594c8f9a6a524f38ede2c4e051196106, Linux 4e8935053ba389ae8d6685c10854d8021931bd89, Linux 91df51d2df0ca4fd3281f73626341563d64a98a5, Linux 0d195d3b205ca90db30d70d09d7bb6909aac178f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23285 being exploited?

There is no confirmed exploitation: CVE-2026-23285 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23285?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23285?

Linux \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 6f1d1614f841d91a4169db65812ffd1271735b42; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 1e906c08594c8f9a6a524f38ede2c4e051196106; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 4e8935053ba389ae8d6685c10854d8021931bd89; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 91df51d2df0ca4fd3281f73626341563d64a98a5; \>= 0d11f3cf279c5ad20a41f29242f170ba3c02f2da, \< 0d195d3b205ca90db30d70d09d7bb6909aac178f; Linux 6.4.

### Is there a fix for CVE-2026-23285?

Yes. Fixed in Linux 6f1d1614f841d91a4169db65812ffd1271735b42, Linux 1e906c08594c8f9a6a524f38ede2c4e051196106, Linux 4e8935053ba389ae8d6685c10854d8021931bd89, Linux 91df51d2df0ca4fd3281f73626341563d64a98a5, Linux 0d195d3b205ca90db30d70d09d7bb6909aac178f. Upgrade Linux to 0d195d3b205ca90db30d70d09d7bb6909aac178f or later.

### How do I check if I'm affected by CVE-2026-23285?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6f1d1614f841d91a4169db65812ffd1271735b42>
- patch: <https://git.kernel.org/stable/c/1e906c08594c8f9a6a524f38ede2c4e051196106>
- patch: <https://git.kernel.org/stable/c/4e8935053ba389ae8d6685c10854d8021931bd89>
- patch: <https://git.kernel.org/stable/c/91df51d2df0ca4fd3281f73626341563d64a98a5>
- patch: <https://git.kernel.org/stable/c/0d195d3b205ca90db30d70d09d7bb6909aac178f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23285>

HTML: <https://flawdb.com/CVE-2026-23285> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23285>
