# CVE-2024-50113: firewire: core: fix invalid port index for parent device

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2024-11-05T17:10:45.333Z
- Modified: 2026-08-05T11:41:43.500Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.11 before 6.11.6; 6.12

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/90753a38bc3d058820981f812a908a99f7b337c1> (patch)
- <https://git.kernel.org/stable/c/f6a6780e0b9bbcf311a727afed06fee533a5e957> (patch)

## Sources

- CVE List: [CVE-2024-50113](https://www.cve.org/CVERecord?id=CVE-2024-50113), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50113](https://nvd.nist.gov/vuln/detail/CVE-2024-50113), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50113 · Whole record: https://cve.day/CVE-2024-50113.json · Rebuilt by cve.day 2026-11-25T22:58:47.781Z
