# CVE-2025-68169: netpoll: Fix deadlock in memory allocation under spinlock

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **Published:** 2025-12-16T13:42:49.270Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 248f6571fd4c51531f7f8f07f186f7ae98a50afc, \< 06742a3ab884d7428c9050b205ffcf6a8a548397; \>= 248f6571fd4c51531f7f8f07f186f7ae98a50afc, \< 327c20c21d80e0d87834b392d83ae73c955ad8ff
- Anyone running Linux 6.15

## Description

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

netpoll: Fix deadlock in memory allocation under spinlock

Fix a AA deadlock in refill\_skbs() where memory allocation while holding
skb\_pool-\>lock can trigger a recursive lock acquisition attempt.

The deadlock scenario occurs when the system is under severe memory
pressure:

1. refill\_skbs() acquires skb\_pool-\>lock (spinlock)
2. alloc\_skb() is called while holding the lock
3. Memory allocator fails and calls slab\_out\_of\_memory()
4. This triggers printk() for the OOM warning
5. The console output path calls netpoll\_send\_udp()
6. netpoll\_send\_udp() attempts to acquire the same skb\_pool-\>lock
7. Deadlock: the lock is already held by the same CPU

Call stack:
  refill\_skbs()
    spin\_lock\_irqsave(&skb\_pool-\>lock)    \<- lock acquired
    \_\_alloc\_skb()
      kmem\_cache\_alloc\_node\_noprof()
        slab\_out\_of\_memory()
          printk()
            console\_flush\_all()
              netpoll\_send\_udp()
                skb\_dequeue()
                  spin\_lock\_irqsave(&skb\_pool-\>lock)     \<- deadlock attempt

This bug was exposed by commit 248f6571fd4c51 ("netpoll: Optimize skb
refilling on critical path") which removed refill\_skbs() from the
critical path (where nested printk was being deferred), letting nested
printk being called from inside refill\_skbs()

Refactor refill\_skbs() to never allocate memory while holding
the spinlock.

Another possible solution to fix this problem is protecting the
refill\_skbs() from nested printks, basically calling
printk\_deferred\_{enter,exit}() in refill\_skbs(), then, any nested
pr\_warn() would be deferred.

I prefer this approach, given I \_think\_ it might be a good idea to move
the alloc\_skb() from GFP\_ATOMIC to GFP\_KERNEL in the future, so, having
the alloc\_skb() outside of the lock will be necessary step.

There is a possible TOCTOU issue when checking for the pool length, and
queueing the new allocated skb, but, this is not an issue, given that
an extra SKB in the pool is harmless and it will be eventually used.

## Affected and fixed versions

- Linux: \>= 248f6571fd4c51531f7f8f07f186f7ae98a50afc, \< 06742a3ab884d7428c9050b205ffcf6a8a548397; \>= 248f6571fd4c51531f7f8f07f186f7ae98a50afc, \< 327c20c21d80e0d87834b392d83ae73c955ad8ff (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 327c20c21d80e0d87834b392d83ae73c955ad8ff or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68169.md
Affected: Linux >= 248f6571fd4c51531f7f8f07f186f7ae98a50afc, < 06742a3ab884d7428c9050b205ffcf6a8a548397; >= 248f6571fd4c51531f7f8f07f186f7ae98a50afc, < 327c20c21d80e0d87834b392d83ae73c955ad8ff; Linux 6.15
Fixed in: Linux 06742a3ab884d7428c9050b205ffcf6a8a548397, Linux 327c20c21d80e0d87834b392d83ae73c955ad8ff

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-2025-68169 being exploited?

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

### How serious is CVE-2025-68169?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68169?

Linux \>= 248f6571fd4c51531f7f8f07f186f7ae98a50afc, \< 06742a3ab884d7428c9050b205ffcf6a8a548397; \>= 248f6571fd4c51531f7f8f07f186f7ae98a50afc, \< 327c20c21d80e0d87834b392d83ae73c955ad8ff; Linux 6.15.

### Is there a fix for CVE-2025-68169?

Yes. Fixed in Linux 06742a3ab884d7428c9050b205ffcf6a8a548397, Linux 327c20c21d80e0d87834b392d83ae73c955ad8ff. Upgrade Linux to 327c20c21d80e0d87834b392d83ae73c955ad8ff or later.

### How do I check if I'm affected by CVE-2025-68169?

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

- other: <https://git.kernel.org/stable/c/06742a3ab884d7428c9050b205ffcf6a8a548397>
- other: <https://git.kernel.org/stable/c/327c20c21d80e0d87834b392d83ae73c955ad8ff>

## 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-2025-68169>

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