CVE-2026-43427
JSON

7.1high

usb: class: cdc-wdm: fix reordering issue in read code path

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: usb: class: cdc-wdm: fix reordering issue in read code path Quoting the bug report: Due to compiler optimization or CPU out-of-order execution, the desc->length update can be reordered before the memmove. If this happens, wdm_read() can see the new length and call copy_to_user() on uninitialized memory. This also violates LKMM data race rules [1]. Fix it by using WRITE_ONCE and memory barriers.

Affected

Product or packageVersionsReported by
Linux Linuxfrom afba937e540c902c989cd516fd97ea0c8499bb27 before 638328ca9c17ae6511ad62198c57bae32ffa3c91, from afba937e540c902c989cd516fd97ea0c8499bb27 before 170e8daca24da6edb4be82ab01abf44e87af387b, from afba937e540c902c989cd516fd97ea0c8499bb27 before c8fa96ed021923dae147bcd9f9205b8df7b82360, from afba937e540c902c989cd516fd97ea0c8499bb27 before 4ee3062bf2c9a722afef429826e8607eaf3fc6a0, from afba937e540c902c989cd516fd97ea0c8499bb27 before 276aef0fd2b92f41b920ac891c72cadeee957934, from afba937e540c902c989cd516fd97ea0c8499bb27 before 67ed312124bb1b61858778ac0b985b48961c862a, from afba937e540c902c989cd516fd97ea0c8499bb27 before e3c874b05901dc519054b5107d16620e6d2b5fea, from afba937e540c902c989cd516fd97ea0c8499bb27 before 8df672bfe3ec2268c2636584202755898e547173 and 1 more
Not affected: before 2.6.26, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.167 up to 6.1.*, from 6.6.130 up to 6.6.*, from 6.12.78 up to 6.12.*
CVE List
linux linux_kernelfrom 2.6.26.1 before 5.10.253, from 5.11 before 5.15.203, from 5.16 before 6.1.167, from 6.2 before 6.6.130, from 6.7 before 6.12.78, from 6.13 before 6.18.19, from 6.19 before 6.19.9, 2.6.26 and 1 moreNVD

Classification

CWE-125

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: usb: class: cdc-wdm: fix reordering issue in read code path Quoting the bug report: Due to compiler optimization or CPU out-of-order execution, the desc->length update can be reordered before the memmove. If this happens, wdm_read() can see the new length and call copy_to_user() on uninitialized memory. This also violates LKMM data race rules [1]. Fix it by using WRITE_ONCE and memory barriers.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: class: cdc-wdm: corregir problema de reordenamiento en la ruta de código de lectura Citando el informe de error: Debido a la optimización del compilador o a la ejecución fuera de orden de la CPU, la actualización de desc -> length puede reordenarse antes del memmove. Si esto ocurre, wdm_read() puede ver la nueva longitud y llamar a copy_to_user() en memoria no inicializada. Esto también viola las reglas de carrera de datos de LKMM [1]. Solucionarlo usando WRITE_ONCE y barreras de memoria.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43427 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-43427 changed 2026-11-11Public domain