CVE-2024-38607 macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"

Medium 5.5 Published Updated

A bug in the Linux kernel's via-macii ADB driver causes a kernel panic when sleeping functions are called in invalid contexts, leading to system crashes.

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

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

macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"

The via-macii ADB driver calls request_irq() after disabling hard interrupts. But disabling interrupts isn't necessary here because the VIA shift register interrupt was masked during VIA1 initialization.

Which versions are affected by CVE-2024-38607?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-38607?

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

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-38607, DEBIAN-CVE-2024-38607, GHSA-4gvx-p355-qcx5, UBUNTU-CVE-2024-38607.

Is CVE-2024-38607 in your software?

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

Check your SBOMs for free