0.0
NA
CVE-2025-68169
netpoll: Fix deadlock in memory allocation under spinlock
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.

INFO

Published Date :

Dec. 16, 2025, 2:15 p.m.

Last Modified :

Oct. 14, 2026, 1:10 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-68169 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Refactor memory allocation to avoid deadlocks when holding spinlocks.
  • Avoid memory allocation while holding spinlocks.
  • Defer nested printk calls within refill_skbs.
  • Move alloc_skb outside the spinlock.
  • Update kernel to the patched version.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-68169.

URL Resource
https://git.kernel.org/stable/c/06742a3ab884d7428c9050b205ffcf6a8a548397
https://git.kernel.org/stable/c/327c20c21d80e0d87834b392d83ae73c955ad8ff
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-68169 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-68169 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-68169 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-68169 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Oct. 14, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netpoll: Corrección de interbloqueo en la asignación de memoria bajo spinlock Corrige un interbloqueo AA en refill_skbs() donde la asignación de memoria mientras se mantiene skb_pool -> lock puede desencadenar un intento de adquisición recursiva del bloqueo. El escenario de interbloqueo ocurre cuando el sistema está bajo una presión de memoria severa: 1. refill_skbs() adquiere skb_pool -> lock (spinlock) 2. alloc_skb() es llamado mientras se mantiene el bloqueo 3. El asignador de memoria falla y llama a slab_out_of_memory() 4. Esto desencadena printk() para la advertencia de OOM 5. La ruta de salida de la consola llama a netpoll_send_udp() 6. netpoll_send_udp() intenta adquirir el mismo skb_pool -> lock 7. Interbloqueo: el bloqueo ya está en posesión de la misma CPU Pila de llamadas: refill_skbs() spin_lock_irqsave(&skb_pool -> lock) <- bloqueo adquirido __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) <- intento de interbloqueo Este error fue expuesto por el commit 248f6571fd4c51 ('netpoll: Optimize skb refilling on critical path') que eliminó refill_skbs() de la ruta crítica (donde el printk anidado estaba siendo diferido), permitiendo que el printk anidado fuera llamado desde dentro de refill_skbs() Refactorizar refill_skbs() para nunca asignar memoria mientras se mantiene el spinlock. Otra posible solución para corregir este problema es proteger refill_skbs() de printks anidados, básicamente llamando a printk_deferred_{enter,exit}() en refill_skbs(), entonces, cualquier pr_warn() anidado sería diferido. Prefiero este enfoque, dado que _creo_ que podría ser una buena idea mover alloc_skb() de GFP_ATOMIC a GFP_KERNEL en el futuro, por lo tanto, tener alloc_skb() fuera del bloqueo será un paso necesario. Existe un posible problema TOCTOU al verificar la longitud del pool y encolar el nuevo skb asignado, pero esto no es un problema, dado que un SKB extra en el pool es inofensivo y eventualmente será utilizado.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '248f6571fd4c51531f7f8f07f186f7ae98a50afc', 'lessThan': '06742a3ab884d7428c9050b205ffcf6a8a548397', 'versionType': 'git'}, {'status': 'affected', 'version': '248f6571fd4c51531f7f8f07f186f7ae98a50afc', 'lessThan': '327c20c21d80e0d87834b392d83ae73c955ad8ff', 'versionType': 'git'}], 'programFiles': ['net/core/netpoll.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.17.8', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/core/netpoll.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 16, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/06742a3ab884d7428c9050b205ffcf6a8a548397
    Added Reference https://git.kernel.org/stable/c/327c20c21d80e0d87834b392d83ae73c955ad8ff
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.