# CVE-2026-64177: phonet/pep: disable BH around forwarded sk\_receive\_skb()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-19T15:41:01.534Z
- **Modified:** 2026-08-13T15:32:45.440Z

## Who should check

- Anyone running Linux \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< f08c45076e4fd8b0adbc5eb186d6e6a3e7350d7b; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< b2606c302d7f2b4ee48da05e32ed60aed1b0cd53; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 02c04df84de709060f63e1d52ec67488c4f6f212; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 8420aa4900417797323dd567ba9d1512280c2dc3; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< bd795f106b3889fb0706c6e4831c4b27e2b5666b; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 84bc87beb4cd77670939b446326788e4c9b3db37; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< a3fc8f2dacd1c37325977fc1fbbf3d52141df99e; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< dbc81608e3a653dea6cf403f20cae35468b8ab9c
- Anyone running Linux 2.6.28

## Description

In the Linux kernel, the following vulnerability has been resolved:

phonet/pep: disable BH around forwarded sk\_receive\_skb()

The networking receive path is usually run from softirq context, but
protocols that take the socket lock may have packets stored in the
backlog and processed later from process context. In that case
release\_sock() -\> \_\_release\_sock() drops the slock with spin\_unlock\_bh()
and then calls sk-\>sk\_backlog\_rcv() with bottom halves enabled.

Typical sk\_backlog\_rcv handlers process the socket whose backlog is
being drained, so the BH state at entry is irrelevant for the slocks
they touch. pep\_do\_rcv() is different: when the inbound skb targets an
existing PEP pipe, it forwards the skb to a different \*child\* socket
via sk\_receive\_skb(). That helper takes the child slock with
bh\_lock\_sock\_nested(), which is just spin\_lock\_nested() and assumes BH
is already off. The same child slock therefore ends up acquired with
BH on (process path) and with BH off (softirq path):

  process context                   softirq context
  ---------------                   ---------------
  release\_sock(listener)            \_\_netif\_receive\_skb()
   \_\_release\_sock()                  phonet\_rcv()
    spin\_unlock\_bh()                  \_\_sk\_receive\_skb(listener)
    \[BH now ENABLED\]                  \[BH already disabled\]
    sk\_backlog\_rcv:                   sk\_backlog\_rcv:
     pep\_do\_rcv()                      pep\_do\_rcv()
      sk\_receive\_skb(child)             sk\_receive\_skb(child)
       bh\_lock\_sock\_nested(child)        bh\_lock\_sock\_nested(child)
       =\> SOFTIRQ-ON-W                   =\> IN-SOFTIRQ-W

Lockdep flags this as inconsistent lock state, and it can become a real
self-deadlock if a softirq on the same CPU tries to receive to the same
child socket while its slock is held in the BH-enabled path:

  WARNING: inconsistent lock state
  inconsistent {SOFTIRQ-ON-W} -\> {IN-SOFTIRQ-W} usage.
   (slock-AF\_PHONET/1){+.?.}-{3:3}, at: \_\_sk\_receive\_skb+0x1cf/0x900
    \_\_sk\_receive\_skb              net/core/sock.c:563
    sk\_receive\_skb                include/net/sock.h:2022 \[inline\]
    pep\_do\_rcv                    net/phonet/pep.c:675
    sk\_backlog\_rcv                include/net/sock.h:1190
    \_\_release\_sock                net/core/sock.c:3216
    release\_sock                  net/core/sock.c:3815
    pep\_sock\_accept               net/phonet/pep.c:879

Wrap the forwarded sk\_receive\_skb() in local\_bh\_disable() /
local\_bh\_enable() so the child slock is always acquired with BH off.
local\_bh\_disable() nests safely on the softirq path.

Discovered via in-house syzkaller fuzzing; the same root cause also
on the linux-6.1.y syzbot dashboard as extid 44f0626dd6284f02663c.
Reproduced under KASAN + LOCKDEP + PROVE\_LOCKING, reproducer:
https://pastebin.com/A3t8xzCR

## Affected and fixed versions

- Linux: \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< f08c45076e4fd8b0adbc5eb186d6e6a3e7350d7b; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< b2606c302d7f2b4ee48da05e32ed60aed1b0cd53; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 02c04df84de709060f63e1d52ec67488c4f6f212; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 8420aa4900417797323dd567ba9d1512280c2dc3; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< bd795f106b3889fb0706c6e4831c4b27e2b5666b; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 84bc87beb4cd77670939b446326788e4c9b3db37; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< a3fc8f2dacd1c37325977fc1fbbf3d52141df99e; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< dbc81608e3a653dea6cf403f20cae35468b8ab9c (cvelist)
- Linux: 2.6.28 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64177.md
Affected: Linux >= 9641458d3ec42def729fde64669abf07f3220cd5, < f08c45076e4fd8b0adbc5eb186d6e6a3e7350d7b; >= 9641458d3ec42def729fde64669abf07f3220cd5, < b2606c302d7f2b4ee48da05e32ed60aed1b0cd53; >= 9641458d3ec42def729fde64669abf07f3220cd5, < 02c04df84de709060f63e1d52ec67488c4f6f212; >= 9641458d3ec42def729fde6…
Fixed in: Linux 02c04df84de709060f63e1d52ec67488c4f6f212, Linux 8420aa4900417797323dd567ba9d1512280c2dc3, Linux 84bc87beb4cd77670939b446326788e4c9b3db37

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-2026-64177 being exploited?

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

### How serious is CVE-2026-64177?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64177?

Linux \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< f08c45076e4fd8b0adbc5eb186d6e6a3e7350d7b; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< b2606c302d7f2b4ee48da05e32ed60aed1b0cd53; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 02c04df84de709060f63e1d52ec67488c4f6f212; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 8420aa4900417797323dd567ba9d1512280c2dc3; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< bd795f106b3889fb0706c6e4831c4b27e2b5666b; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< 84bc87beb4cd77670939b446326788e4c9b3db37; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< a3fc8f2dacd1c37325977fc1fbbf3d52141df99e; \>= 9641458d3ec42def729fde64669abf07f3220cd5, \< dbc81608e3a653dea6cf403f20cae35468b8ab9c; Linux 2.6.28.

### Is there a fix for CVE-2026-64177?

Yes. Fixed in Linux 02c04df84de709060f63e1d52ec67488c4f6f212, Linux 8420aa4900417797323dd567ba9d1512280c2dc3, Linux 84bc87beb4cd77670939b446326788e4c9b3db37. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64177?

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/f08c45076e4fd8b0adbc5eb186d6e6a3e7350d7b>
- patch: <https://git.kernel.org/stable/c/b2606c302d7f2b4ee48da05e32ed60aed1b0cd53>
- patch: <https://git.kernel.org/stable/c/02c04df84de709060f63e1d52ec67488c4f6f212>
- patch: <https://git.kernel.org/stable/c/8420aa4900417797323dd567ba9d1512280c2dc3>
- patch: <https://git.kernel.org/stable/c/bd795f106b3889fb0706c6e4831c4b27e2b5666b>
- patch: <https://git.kernel.org/stable/c/84bc87beb4cd77670939b446326788e4c9b3db37>
- patch: <https://git.kernel.org/stable/c/a3fc8f2dacd1c37325977fc1fbbf3d52141df99e>
- patch: <https://git.kernel.org/stable/c/dbc81608e3a653dea6cf403f20cae35468b8ab9c>

## 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-2026-64177>

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