8.8high
firewire: core: fix invalid port index for parent device
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: firewire: core: fix invalid port index for parent device In a commit 24b7f8e5cd65 ("firewire: core: use helper functions for self ID sequence"), the enumeration over self ID sequence was refactored with some helper functions with KUnit tests. These helper functions are guaranteed to work expectedly by the KUnit tests, however their application includes a mistake to assign invalid value to the index of port connected to parent device. This bug affects the case that any extra node devices which has three or more ports are connected to 1394 OHCI controller. In the case, the path to update the tree cache could hits WARN_ON(), and gets general protection fault due to the access to invalid address computed by the invalid value. This commit fixes the bug to assign correct port index.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 24b7f8e5cd656196a13077e160aec45ad89b58d9 before 90753a38bc3d058820981f812a908a99f7b337c1, from 24b7f8e5cd656196a13077e160aec45ad89b58d9 before f6a6780e0b9bbcf311a727afed06fee533a5e957, 6.11 Not affected: before 6.11, from 6.11.6 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | from 6.11 before 6.11.6, 6.12 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
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: firewire: core: fix invalid port index for parent device In a commit 24b7f8e5cd65 ("firewire: core: use helper functions for self ID sequence"), the enumeration over self ID sequence was refactored with some helper functions with KUnit tests. These helper functions are guaranteed to work expectedly by the KUnit tests, however their application includes a mistake to assign invalid value to the index of port connected to parent device. This bug affects the case that any extra node devices which has three or more ports are connected to 1394 OHCI controller. In the case, the path to update the tree cache could hits WARN_ON(), and gets general protection fault due to the access to invalid address computed by the invalid value. This commit fixes the bug to assign correct port index.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firewire: core: fix invalid port index for parent device En una confirmación 24b7f8e5cd65 ("firewire: core: use helper functions for self ID sequence"), la enumeración sobre la secuencia de auto-identificación se refactorizó con algunas funciones auxiliares con pruebas KUnit. Se garantiza que estas funciones auxiliares funcionarán como se espera mediante las pruebas KUnit, sin embargo, su aplicación incluye un error para asignar un valor no válido al índice del puerto conectado al dispositivo principal. Este error afecta al caso en que cualquier dispositivo de nodo adicional que tenga tres o más puertos esté conectado al controlador 1394 OHCI. En el caso, la ruta para actualizar la caché del árbol podría alcanzar WARN_ON() y obtener un fallo de protección general debido al acceso a una dirección no válida calculada por el valor no válido. Esta confirmación corrige el error para asignar el índice de puerto correcto.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50113 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-50113 changed 2026-08-04 | Public domain |