CVE-2022-50506
Gravedad CVSS v3.1:
MEDIA
Tipo:
CWE-476
Desreferencia a puntero nulo (NULL)
Fecha de publicación:
04/10/2025
Última modificación:
05/02/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drbd: only clone bio if we have a backing device<br />
<br />
Commit c347a787e34cb (drbd: set ->bi_bdev in drbd_req_new) moved a<br />
bio_set_dev call (which has since been removed) to "earlier", from<br />
drbd_request_prepare to drbd_req_new.<br />
<br />
The problem is that this accesses device->ldev->backing_bdev, which is<br />
not NULL-checked at this point. When we don&#39;t have an ldev (i.e. when<br />
the DRBD device is diskless), this leads to a null pointer deref.<br />
<br />
So, only allocate the private_bio if we actually have a disk. This is<br />
also a small optimization, since we don&#39;t clone the bio to only to<br />
immediately free it again in the diskless case.
Impacto
Puntuación base 3.x
5.50
Gravedad 3.x
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.18 (incluyendo) | 6.0.6 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



