CVE-2024-50026
JSON

5.5medium

scsi: wd33c93: Don't use stale scsi_pointer value

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: wd33c93: Don't use stale scsi_pointer value A regression was introduced with commit dbb2da557a6a ("scsi: wd33c93: Move the SCSI pointer to private command data") which results in an oops in wd33c93_intr(). That commit added the scsi_pointer variable and initialized it from hostdata->connected. However, during selection, hostdata->connected is not yet valid. Fix this by getting the current scsi_pointer from hostdata->selecting.

Affected

Product or packageVersionsReported by
Linux Linuxfrom dbb2da557a6a87c88bbb4b1fef037091b57f701b before 3afeceda855dea9b85cddd96307d4d17c8742005, from dbb2da557a6a87c88bbb4b1fef037091b57f701b before e04642a207f1d2ae28a08624c04c67f5681f3451, from dbb2da557a6a87c88bbb4b1fef037091b57f701b before b60ff1a95c7c386cdd6153de3d7d85edaeabd800, from dbb2da557a6a87c88bbb4b1fef037091b57f701b before 9023ed8d91eb1fcc93e64dc4962f7412b1c4cbec, 5.18
Not affected: before 5.18, from 6.1.113 up to 6.1.*, from 6.6.57 up to 6.6.*, from 6.11.4 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 5.18 before 6.1.113, from 6.2 before 6.6.57, from 6.7 before 6.11.4, 6.12NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: scsi: wd33c93: Don't use stale scsi_pointer value A regression was introduced with commit dbb2da557a6a ("scsi: wd33c93: Move the SCSI pointer to private command data") which results in an oops in wd33c93_intr(). That commit added the scsi_pointer variable and initialized it from hostdata->connected. However, during selection, hostdata->connected is not yet valid. Fix this by getting the current scsi_pointer from hostdata->selecting.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: wd33c93: No usar valor scsi_pointer obsoleto Se introdujo una regresión con el commit dbb2da557a6a ("scsi: wd33c93: Mover el puntero SCSI a datos de comando privados") que da como resultado un error en wd33c93_intr(). Esa confirmación agregó la variable scsi_pointer y la inicializó desde hostdata->connected. Sin embargo, durante la selección, hostdata->connected aún no es válido. Solucione esto obteniendo el scsi_pointer actual desde hostdata->selecting.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50026 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-50026 changed 2026-06-17Public domain