CVE-2024-27401 firewire: nosy: ensure user_length is taken into account when fetching packet contents

High 7.8 Published Updated

A buffer overflow in the Linux kernel firewire nosy driver allows local attackers to cause memory corruption, potentially leading to code execution or privilege escalation.

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

What is CVE-2024-27401?

CVE-2024-27401 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 13 May 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: nosy: ensure user_length is taken into account when fetching packet contents

Ensure that packet_buffer_get respects the user_length provided. If the length of the head packet exceeds the user_length, packet_buffer_get will now return 0 to signify to the user that no data were read and a larger buffer size is required. Helps prevent user space overflows.

Which versions are affected by CVE-2024-27401?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel.

How do I fix CVE-2024-27401?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-27401 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-27401, DEBIAN-CVE-2024-27401, GHSA-wmmp-mchh-75gf, UBUNTU-CVE-2024-27401.

Is CVE-2024-27401 in your software?

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

Check your SBOMs for free