Paper/Archive/CVE-2026-72493

CVE-2026-72493

Linux Linux — net: serialize netif_running() check in enqueue_to_backlog()

Description · from the CVE record

In the Linux kernel, the following vulnerability has been resolved: net: serialize netif_running() check in enqueue_to_backlog() Syzbot reported a KASAN slab-use-after-free in fib_rules_lookup(). The root cause is a race condition where packets can escape the backlog flushing during device unregistration (e.g., during netns exit). Commit e9e4dd3267d0 ("net: do not process device backlog during unregistration") introduced a lockless netif_running() check in enqueue_to_backlog() to prevent queuing packets to an unregistering device. However, this creates a TOCTOU race window. A lockless transmitter (like veth_xmit) can pass the check before dev_close() clears IFF_UP. If the transmitter is then delayed, flush_all_backlogs() can run and finish before the transmitter grabs the backlog lock and queues the packet. The packet then escapes the flush and triggers UAF later when processed. Fix this by moving the netif_running() check inside the backlog lock. This serializes the check with the flush work (which also grabs the lock). We then either queue the packet before the flush runs (so it gets flushed), or check netif_running() after the flush/close completes (so it gets dropped).

Affected

ProductAffectedFixed inSource
Linux95e48d862ada73188be6d91a33c49d1712815bd2 – < cbe10ea090ea9d6fa5ff50c9b44f2a86fe56f0b7cbe10ea090ea9d6fa5ff50c9b44f2a86fe56f0b7CNA
Linux95e48d862ada73188be6d91a33c49d1712815bd2 – < b422e3eff0edf0975de4883929adbed28f9d08bcb422e3eff0edf0975de4883929adbed28f9d08bcCNA
Linux95e48d862ada73188be6d91a33c49d1712815bd2 – < 2fface6e0bbd6314d1d9d071abf2c4d67548511c2fface6e0bbd6314d1d9d071abf2c4d67548511cCNA
Linux95e48d862ada73188be6d91a33c49d1712815bd2 – < 46762cefe7f4e5bffc1eb467810a7bbb02e461d746762cefe7f4e5bffc1eb467810a7bbb02e461d7CNA
Linux6.106.12.114CNA

Scores by source

Linux (CNA)9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgit.kernel.org/stable/c/cbe10ea090ea9d6fa5ff50c9b44f2a86fe56f0b7refgit.kernel.org/stable/c/b422e3eff0edf0975de4883929adbed28f9d08bcrefgit.kernel.org/stable/c/2fface6e0bbd6314d1d9d071abf2c4d67548511crefgit.kernel.org/stable/c/46762cefe7f4e5bffc1eb467810a7bbb02e461d7