CVE-2024-27393 xen-netfront: Add missing skb_mark_for_recycle

High 7.5 Published Updated

A memory leak in the Linux kernel's xen-netfront driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27393?

CVE-2024-27393 is a high-severity denial of service vulnerability in Linux kernel, published on 9 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

xen-netfront: Add missing skb_mark_for_recycle

Notice that skb_mark_for_recycle() is introduced later than fixes tag in commit 6a5bcd84e886 ("page_pool: Allow drivers to hint on SKB recycling").

It is believed that fixes tag were missing a call to page_pool_release_page() between v5.9 to v5.14, after which is should have used skb_mark_for_recycle(). Since v6.6 the call page_pool_release_page() were removed (in commit 535b9c61bdef ("net: page_pool: hide page_pool_release_page()") and remaining callers converted (in commit 6bfef2ec0172 ("Merge branch 'net-page_pool-remove-page_pool_release_page'")).

This leak became visible in v6.8 via commit dba1b8a7ab68 ("mm/page_pool: catch page_pool memory leaks").

Weakness: CWE-401

Which versions are affected by CVE-2024-27393?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-27393?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-27393 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-27393, DEBIAN-CVE-2024-27393, GHSA-8r78-c2f2-82qm, ROOT-OS-DEBIAN-11-CVE-2024-27393, UBUNTU-CVE-2024-27393.

Is CVE-2024-27393 in your software?

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

Check your SBOMs for free