CVE-2024-50113: firewire: core: fix invalid port index for parent device
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 WARNON(), 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 24b7f8e5cd65
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50113?
CVE-2024-50113 has been classified as a high severity vulnerability due to its potential impact on the Linux kernel.
How do I fix CVE-2024-50113?
To fix CVE-2024-50113, upgrade to a patched version of the Linux kernel such as 5.10.223-1, 6.1.123-1, or 6.12.12-1.
Which versions of the Linux kernel are affected by CVE-2024-50113?
CVE-2024-50113 affects Linux kernel versions from 6.11 to 6.12-rc4.
Is CVE-2024-50113 related to security vulnerabilities in Firewire?
Yes, CVE-2024-50113 is related to a vulnerability in the Firewire support within the Linux kernel.
What is the potential impact of CVE-2024-50113?
The potential impact of CVE-2024-50113 includes abnormal kernel behavior and possible denial of service conditions.