{"id":"CVE-2026-23285","summary":"drbd: fix null-pointer dereference on local read error","details":"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, &m);\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.","modified":"2026-04-02T13:12:19.820991Z","published":"2026-03-25T10:26:44.698Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23285.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d195d3b205ca90db30d70d09d7bb6909aac178f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1e906c08594c8f9a6a524f38ede2c4e051196106"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e8935053ba389ae8d6685c10854d8021931bd89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f1d1614f841d91a4169db65812ffd1271735b42"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91df51d2df0ca4fd3281f73626341563d64a98a5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23285.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23285"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0d11f3cf279c5ad20a41f29242f170ba3c02f2da"},{"fixed":"6f1d1614f841d91a4169db65812ffd1271735b42"},{"fixed":"1e906c08594c8f9a6a524f38ede2c4e051196106"},{"fixed":"4e8935053ba389ae8d6685c10854d8021931bd89"},{"fixed":"91df51d2df0ca4fd3281f73626341563d64a98a5"},{"fixed":"0d195d3b205ca90db30d70d09d7bb6909aac178f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23285.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.6.130"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.77"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23285.json"}}],"schema_version":"1.7.5"}