CVE-2024-27402 phonet/pep: fix racy skb_queue_empty() use
A race condition in the Linux kernel's Phonet protocol allows unexpected null pointers or use-after-free scenarios, potentially causing 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-27402?
CVE-2024-27402 is a medium-severity vulnerability in Linux kernel, published on 17 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:
phonet/pep: fix racy skb_queue_empty() use
The receive queues are protected by their respective spin-lock, not the socket lock. This could lead to skb_peek() unexpectedly returning NULL or a pointer to an already dequeued socket buffer.
Which versions are affected by CVE-2024-27402?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-27402?
Apply the vendor's patch.
Is CVE-2024-27402 being exploited?
There is no known exploitation of CVE-2024-27402 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-27402, DEBIAN-CVE-2024-27402, GHSA-pfcp-m93f-hrvg, ROOT-OS-DEBIAN-11-CVE-2024-27402, ROOT-OS-UBUNTU-2204-CVE-2024-27402, UBUNTU-CVE-2024-27402.