CVE-2024-35953 accel/ivpu: Fix deadlock in context_xa
A deadlock in the Linux kernel's Intel VPU driver can cause a system hang when the context lock is acquired in both thread and IRQ contexts.
- 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-35953?
CVE-2024-35953 is a medium-severity vulnerability in Linux kernel, published on 20 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:
accel/ivpu: Fix deadlock in context_xa
ivpu_device->context_xa is locked both in kernel thread and IRQ context. It requires XA_FLAGS_LOCK_IRQ flag to be passed during initialization otherwise the lock could be acquired from a thread and interrupted by an IRQ that locks it for the second time causing the deadlock.
This deadlock was reported by lockdep and observed in internal tests.
Weakness: CWE-667
Which versions are affected by CVE-2024-35953?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-35953?
Apply the vendor's patch.
Is CVE-2024-35953 being exploited?
There is no known exploitation of CVE-2024-35953 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-35953, DEBIAN-CVE-2024-35953, GHSA-7rpw-5262-46cf, UBUNTU-CVE-2024-35953.