CVE-2026-23285

drbd: fix null-pointer dereference on local read error

State
Published
Severity
Not scored
Published
Mar 25, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0d11f3cf279c5ad20a41f29242f170ba3c02f2da to before 6f1d1614f841d91a4169db65812ffd1271735b42Affected
  • 0d11f3cf279c5ad20a41f29242f170ba3c02f2da to before 1e906c08594c8f9a6a524f38ede2c4e051196106Affected
  • 0d11f3cf279c5ad20a41f29242f170ba3c02f2da to before 4e8935053ba389ae8d6685c10854d8021931bd89Affected
  • 0d11f3cf279c5ad20a41f29242f170ba3c02f2da to before 91df51d2df0ca4fd3281f73626341563d64a98a5Affected
  • 0d11f3cf279c5ad20a41f29242f170ba3c02f2da to before 0d195d3b205ca90db30d70d09d7bb6909aac178fAffected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.77 through 6.12.*Not affected
  • 6.18.17 through 6.18.*Not affected
  • 6.19.7 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.