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

High 8.8 Published Updated

A bug in the Linux kernel firewire driver causes a general protection fault and system crash when specific hardware configurations are used.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50113?

CVE-2024-50113 is a high-severity vulnerability in Linux kernel, published on 5 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2024-50113?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50113?

Apply the vendor's patch.

Is CVE-2024-50113 being exploited?

There is no known exploitation of CVE-2024-50113 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-50113, DEBIAN-CVE-2024-50113, GHSA-p3xc-gj2p-m8xh, UBUNTU-CVE-2024-50113.

Is CVE-2024-50113 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free