CVE-2024-53240 xen/netfront: fix crash when removing device

Medium 5.7 Published Updated

A local attacker can cause a system crash in the Linux kernel by removing a Xen netfront device after suspend/resume due to missing queue checks.

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-53240?

CVE-2024-53240 is a medium-severity vulnerability in Linux kernel, published on 24 Dec 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:

xen/netfront: fix crash when removing device

When removing a netfront device directly after a suspend/resume cycle it might happen that the queues have not been setup again, causing a crash during the attempt to stop the queues another time.

Fix that by checking the queues are existing before trying to stop them.

This is XSA-465 / CVE-2024-53240.

Which versions are affected by CVE-2024-53240?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53240?

Apply the vendor's patch.

Is CVE-2024-53240 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-53240, DEBIAN-CVE-2024-53240, GHSA-prjx-w4x5-gf5v, ROOT-OS-UBUNTU-2204-CVE-2024-53240, UBUNTU-CVE-2024-53240.

Is CVE-2024-53240 in your software?

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

Check your SBOMs for free