# CVE-2024-27402: phonet/pep: fix racy skb_queue_empty() use

- Severity: Medium 5.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-05-17T11:40:14.365Z
- Modified: 2026-06-17T07:19:49.890Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9641458d3ec42def729fde64669abf07f3220cd5 before 7d3914a477eed92b48c493a8631cc4554ab4fd4f; from 9641458d3ec42def729fde64669abf07f3220cd5 before 9d5523e065b568e79dfaa2ea1085a5bcf74baf78; from 9641458d3ec42def729fde64669abf07f3220cd5 before 0a9f558c72c47472c38c05fcb72c70abb9104277; from 9641458d3ec42def729fde64669abf07f3220cd5 before 8ef4fcc7014b9f93619851d6b78d6cc2789a4c88; from 9641458d3ec42def729fde64669abf07f3220cd5 before 7d2a894d7f487dcb894df023e9d3014cf5b93fe5; 2.6.28 (not affected: before 2.6.28; from 5.15.181 up to 5.15.*; from 6.1.80 up to 6.1.*; from 6.6.19 up to 6.6.*; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 2.6.28 before 5.15.181; from 5.16 before 6.1.80; from 6.2 before 6.6.19; from 6.7 before 6.7.7; 6.8

## References

- <https://git.kernel.org/stable/c/7d3914a477eed92b48c493a8631cc4554ab4fd4f> (patch)
- <https://git.kernel.org/stable/c/9d5523e065b568e79dfaa2ea1085a5bcf74baf78> (patch)
- <https://git.kernel.org/stable/c/0a9f558c72c47472c38c05fcb72c70abb9104277> (patch)
- <https://git.kernel.org/stable/c/8ef4fcc7014b9f93619851d6b78d6cc2789a4c88> (patch)
- <https://git.kernel.org/stable/c/7d2a894d7f487dcb894df023e9d3014cf5b93fe5> (patch)

## Sources

- CVE List: [CVE-2024-27402](https://www.cve.org/CVERecord?id=CVE-2024-27402), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-27402](https://nvd.nist.gov/vuln/detail/CVE-2024-27402), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27402 · Whole record: https://cve.day/CVE-2024-27402.json · Rebuilt by cve.day 2026-11-25T22:58:40.489Z
