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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
24b7f8e5cd656196a13077e160aec45ad89b58d9 to < 90753a38bc3d058820981f812a908a99f7b337c1affected24b7f8e5cd656196a13077e160aec45ad89b58d9 to < f6a6780e0b9bbcf311a727afed06fee533a5e957affected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.11.6 to ≤ 6.11.*unaffected6.12 to ≤ *unaffected