CVE-2024-27402Published May 17, 2024 · May 17Updated Oct 28
phonet/pep: fix racy skb_queue_empty() use
Linux
Medium5.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's phonet/pep code uses skb_queue_empty() in a way that races with changes to a receive queue. As a result, skb_peek() can unexpectedly return NULL or a pointer to an already-dequeued socket buffer. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with phonet/pep should check their versions; affected versions are not specified.