# CVE-2024-27402: phonet/pep: fix racy skb\_queue\_empty() use

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.8
- **CVSS:** 5.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2024-05-17T11:40:14.365Z
- **Modified:** 2026-06-17T07:19:49.890Z

## Who should check

- Anyone running Linux \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 7d3914a477eed92b48c493a8631cc4554ab4fd4f; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 9d5523e065b568e79dfaa2ea1085a5bcf74baf78; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 0a9f558c72c47472c38c05fcb72c70abb9104277; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 8ef4fcc7014b9f93619851d6b78d6cc2789a4c88; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 7d2a894d7f487dcb894df023e9d3014cf5b93fe5
- Anyone running Linux 2.6.28

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

## Affected and fixed versions

- Linux: \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 7d3914a477eed92b48c493a8631cc4554ab4fd4f; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 9d5523e065b568e79dfaa2ea1085a5bcf74baf78; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 0a9f558c72c47472c38c05fcb72c70abb9104277; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 8ef4fcc7014b9f93619851d6b78d6cc2789a4c88; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 7d2a894d7f487dcb894df023e9d3014cf5b93fe5 (cvelist)
- Linux: 2.6.28 (cvelist)

## Mitigation

- Upgrade Linux to 7d2a894d7f487dcb894df023e9d3014cf5b93fe5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27402. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27402.md
Affected: Linux >= 9641458d3ec42def729fde64669abf07f3220cd5, < 7d3914a477eed92b48c493a8631cc4554ab4fd4f; >= 9641458d3ec42def729fde64669abf07f3220cd5, < 9d5523e065b568e79dfaa2ea1085a5bcf74baf78; >= 9641458d3ec42def729fde64669abf07f3220cd5, < 0a9f558c72c47472c38c05fcb72c70abb9104277; >= 9641458d3ec42def729fde6…
Fixed in: Linux 7d3914a477eed92b48c493a8631cc4554ab4fd4f, Linux 9d5523e065b568e79dfaa2ea1085a5bcf74baf78, Linux 0a9f558c72c47472c38c05fcb72c70abb9104277, Linux 8ef4fcc7014b9f93619851d6b78d6cc2789a4c88, Linux 7d2a894d7f487dcb894df023e9d3014cf5b93fe5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-27402 being exploited?

There is no confirmed exploitation: CVE-2024-27402 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-27402?

Medium: CVSS 5.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-27402?

Linux \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 7d3914a477eed92b48c493a8631cc4554ab4fd4f; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 9d5523e065b568e79dfaa2ea1085a5bcf74baf78; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 0a9f558c72c47472c38c05fcb72c70abb9104277; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 8ef4fcc7014b9f93619851d6b78d6cc2789a4c88; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 7d2a894d7f487dcb894df023e9d3014cf5b93fe5; Linux 2.6.28.

### Is there a fix for CVE-2024-27402?

Yes. Fixed in Linux 7d3914a477eed92b48c493a8631cc4554ab4fd4f, Linux 9d5523e065b568e79dfaa2ea1085a5bcf74baf78, Linux 0a9f558c72c47472c38c05fcb72c70abb9104277, Linux 8ef4fcc7014b9f93619851d6b78d6cc2789a4c88, Linux 7d2a894d7f487dcb894df023e9d3014cf5b93fe5. Upgrade Linux to 7d2a894d7f487dcb894df023e9d3014cf5b93fe5 or later.

### How do I check if I'm affected by CVE-2024-27402?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27402>

HTML: <https://flawdb.com/CVE-2024-27402> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27402>
