What’s Vulnerable › Vulnerabilities
CVE-2024-50113: firewire: core: fix invalid port index for parent device
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-05 · updated 2026-08-04
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 products
- Linux kernel: from 6.11 before 6.11.6; 6.12-rc1, 6.12-rc2, 6.12-rc3, 6.12-rc4 — fixed in 6.11.6
How to fix
Upgrade to a fixed version: Linux kernel 6.11.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/90753a38bc3d058820981f812a908a99f7b337c1
- https://git.kernel.org/stable/c/f6a6780e0b9bbcf311a727afed06fee533a5e957
Get alerted when CVE-2024-50113 or the next vulnerability affects your stack