mm/vmalloc: do not trigger BUG() on BH disabled context
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 04aa71da5f35aacdc9ae9cb5150947daa624f641 and Kernel ad7eff07b625f53c3fb513b30d7a8c5a79fbc7ce.
In the Linux kernel, the following vulnerability has been resolved: mm/vmalloc: do not trigger BUG() on BH disabled context __get_vm_area_node() currently triggers a BUG() if in_interrupt() returns true. However, in_interrupt() also reports true when BH are disabled. The bridge code can call rhashtable_lookup_insert_fast() with bottom halves disabled: __vlan_add() -> br_fdb_add_local() spin_lock_bh(&br->hash_lock); <-- Disable BH -> fdb_add_local() -> fdb_create() -> rhashtable_lookup_insert_fast() -> kvmalloc() -> vmalloc() -> __get_vm_area_node() -> BUG_ON(in_interrupt()) spin_unlock_bh(&br->hash_lock) this triggers the BUG() despite the caller not being in NMI or hard IRQ context. Replace the in_interrupt() check with in_nmi() || in_hardirq().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=c6307674ed82c0c57d6e1e3408e84ac449ab8e94 <04aa71da5f35aacdc9ae9cb5150947daa624f641, >=c6307674ed82c0c57d6e1e3408e84ac449ab8e94 <ad7eff07b625f53c3fb513b30d7a8c5a79fbc7ce | 04aa71da5f35aacdc9ae9cb5150947daa624f641, ad7eff07b625f53c3fb513b30d7a8c5a79fbc7ce |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket