# CVE-2026-139255: xsk: freeze deferred pool teardown without blocking unregister

- Severity: not scored yet
- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:33:03.357Z
- Modified: 2026-11-30T14:18:48.050Z
- Assigned by: Linux

## Description

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

xsk: freeze deferred pool teardown without blocking unregister

Deferred pool destruction calls ndo_bpf() under RTNL. system_wq is
not frozen during system sleep, so that callback can run after a
device has suspended and gated its clocks. Use system_freezable_wq
so running destruction finishes before device suspend and new work
waits until process thaw.

Keep assigned pools visible to NETDEV_UNREGISTER independently of
the socket list. A released socket has already left that list, but
its final pool put can queue destruction after workqueues freeze.
A resume-time unregister would then wait for a device reference
whose release cannot run until the resume completes.

Track assigned pools per netdev with netdev operations locking and detach
remaining pools after the notifier socket walk, including copy-mode pools.
This also covers leased queues without scanning pools from unrelated
devices or network namespaces. Remove the entry on assignment failure and
normal teardown. The deferred worker still owns the pool and later observes
the cleared device pointer, avoiding a second driver detach or put.

The lifetime problem was identified by code inspection of the deferred
release and system-sleep paths.

(As written by CVE List.)

## Affected

- Linux Linux: from 1c1efc2af158869795d3334a12fed2afd9c51539 before b63d4baaa5b5450f07e85ae36311fbe770e0f43e; from 1c1efc2af158869795d3334a12fed2afd9c51539 before d20aa0909529597e07b83771a980e070d767c945; from 1c1efc2af158869795d3334a12fed2afd9c51539 before e20e5f49c083eeba97f5cb14e02f637473c799e2; from 1c1efc2af158869795d3334a12fed2afd9c51539 before fece8420e76fe53ee84f0439f18d026b4c7641da; 5.10 (not affected: before 5.10; from 6.12.120 up to 6.12.*; from 6.18.66 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/b63d4baaa5b5450f07e85ae36311fbe770e0f43e>
- <https://git.kernel.org/stable/c/d20aa0909529597e07b83771a980e070d767c945>
- <https://git.kernel.org/stable/c/e20e5f49c083eeba97f5cb14e02f637473c799e2>
- <https://git.kernel.org/stable/c/fece8420e76fe53ee84f0439f18d026b4c7641da>

## Sources

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

---

Page: https://cve.day/CVE-2026-139255 · Whole record: https://cve.day/CVE-2026-139255.json · Rebuilt by cve.day 2026-11-30T14:33:12.430Z
