CVE-2024-27067 xen/evtchn: avoid WARN() when unbinding an event channel

Medium 5.5 Published Updated

A local attacker can trigger a kernel warning and potential denial of service when unbinding event channels if debug shirq support is enabled.

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

CVE-2024-27067 is a medium-severity denial of service vulnerability in Linux kernel, published on 1 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:

xen/evtchn: avoid WARN() when unbinding an event channel

When unbinding a user event channel, the related handler might be called a last time in case the kernel was built with CONFIG_DEBUG_SHIRQ. This might cause a WARN() in the handler.

Avoid that by adding an "unbinding" flag to struct user_event which will short circuit the handler.

Which versions are affected by CVE-2024-27067?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-27067?

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-27067 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-27067, DEBIAN-CVE-2024-27067, GHSA-xf23-pxxh-7q46, UBUNTU-CVE-2024-27067.

Is CVE-2024-27067 in your software?

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

Check your SBOMs for free