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.
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Dec 16, 2025 |
| Ubuntu | — | Upgrade linux-image-6.17.0-1008-raspiUpgrade linux-image-aws-6.17Upgrade linux-image-gcp-64k-6.17Upgrade linux-image-azureUpgrade linux-image-awsUpgrade linux-image-realtimeUpgrade linux-image-6.17.0-14-genericUpgrade linux-image-6.17.0-1007-oracle-64kUpgrade linux-image-oracle-64k-6.17Upgrade linux-image-virtual-6.17Upgrade linux-image-oem-6.17Upgrade linux-image-oracle-6.17Upgrade linux-image-gcp-6.17Upgrade linux-image-generic-64k-6.17Upgrade linux-image-raspiUpgrade linux-image-realtime-6.17Upgrade linux-image-gcp-64kUpgrade linux-image-aws-64k-6.17Upgrade linux-image-oracleUpgrade linux-image-virtualUpgrade linux-image-6.17.0-1007-gcp-64kUpgrade linux-image-oracle-64kUpgrade linux-image-6.17.0-1008-azureUpgrade linux-image-6.17.0-1007-aws-64kUpgrade linux-image-6.17.0-1006-realtimeUpgrade linux-image-6.17.0-1011-oemUpgrade linux-image-aws-64kUpgrade linux-image-6.17.0-1007-gcpUpgrade linux-image-gcpUpgrade linux-image-6.17.0-1007-oracleUpgrade linux-image-6.17.0-1007-awsUpgrade linux-image-genericUpgrade linux-image-generic-6.17Upgrade linux-image-raspi-6.17Upgrade linux-image-generic-64kUpgrade linux-image-azure-6.17Upgrade linux-image-6.17.0-14-generic-64k | Feb 13, 2026 | Feb 12, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub