drop_monitor: perform u64_stats updates under IRQ-disabled section
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fd098a23bf8fda7eae48db9b06e7c34fc4d228fa, Kernel 3454c729ee8aa682ec871f1b174b047f731933ae, Kernel 7d857cf5f0120bb0e020fa20b03bd21b9d3e0c04 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: drop_monitor: perform u64_stats updates under IRQ-disabled section In net_dm_packet_trace_kfree_skb_hit() and net_dm_hw_trap_packet_probe(), u64_stats_update_begin() / u64_stats_inc() / u64_stats_update_end() were called after spin_unlock_irqrestore(&...drop_queue.lock, flags), when local IRQs had already been re-enabled. Tracepoint probes can execute in IRQ or softirq context. On 32-bit architectures, u64_stats_update_begin() disables preemption but not interrupts, relying on seqcount writes. If a nested interrupt occurs on the same CPU during the 64-bit stats update, the reentrant seqcount update can corrupt the seqcount state or stats value. Fix this by performing the 64-bit per-CPU stats update before releasing drop_queue.lock via spin_unlock_irqrestore(), ensuring local interrupts remain disabled during the u64_stats update.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e9feb58020f952f7d9de785ede9a7d54ab1eda5c <fd098a23bf8fda7eae48db9b06e7c34fc4d228fa, >=e9feb58020f952f7d9de785ede9a7d54ab1eda5c <3454c729ee8aa682ec871f1b174b047f731933ae, >=e9feb58020f952f7d9de785ede9a7d54ab1eda5c <7d857cf5f0120bb0e020fa20b03bd21b9d3e0c04, >=e9feb58020f952f7d9de785ede9a7d54ab1eda5c <be9b121894d6ad44f0011f79543a2e3245979497, >=e9feb58020f952f7d9de785ede9a7d54ab1eda5c <d5e2cd2bc8ae36617346b3a54ee9da61d866bf92, >=e9feb58020f952f7d9de785ede9a7d54ab1eda5c <dd8472526a04f2185afd792b8041a912a7d75d85, =5.4 | fd098a23bf8fda7eae48db9b06e7c34fc4d228fa, 3454c729ee8aa682ec871f1b174b047f731933ae, 7d857cf5f0120bb0e020fa20b03bd21b9d3e0c04, be9b121894d6ad44f0011f79543a2e3245979497, d5e2cd2bc8ae36617346b3a54ee9da61d866bf92, dd8472526a04f2185afd792b8041a912a7d75d85 |
| linux-kernel: Kernel | >=6.13.0 <6.18.53, >=6.19.0 <7.1.6, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=5.4.0 <6.1.189 | 6.18.53, 7.1.6, 6.6.158, 6.12.111, 6.1.189 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket