7.5high
mm/vmalloc: do not trigger BUG() on BH disabled context
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c6307674ed82c0c57d6e1e3408e84ac449ab8e94 before ad7eff07b625f53c3fb513b30d7a8c5a79fbc7ce, from c6307674ed82c0c57d6e1e3408e84ac449ab8e94 before 04aa71da5f35aacdc9ae9cb5150947daa624f641, 6.19 Not affected: before 6.19, from 7.0.12 up to 7.0.*, from 7.1 up to * | CVE List |
| linux linux_kernel | from 6.19 before 7.0.12, 7.1 | NVD |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63955 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2026-63955 changed 2026-10-30 | Public domain |