Opis (engleski)
In the Linux kernel, the following vulnerability has been resolved: alpha: fix the local TLB invalidate in flush_tlb_page() flush_tlb_page() invalidates the calling CPU itself before asking the others, and gates that on current->active_mm. For a non-executable vma that means a targeted tbi(2, addr), which acts on the context currently loaded and is only guaranteed to invalidate the intended translations when the target mm's context is the loaded one. A lazy active_mm does not establish that, so as in ipi_flush_tlb_page() the target mm's stale translations can survive, and nothing forces the old ASN to be retired afterwards. Test current->mm instead. A lazy caller then takes the flush_tlb_other() branch added by the previous patch, retiring its local context. Adding that branch first preserves the local invalidate at every step, including on EV7 where a targeted tbi() against a foreign ASN appeared to work. Which callers reach here with a foreign mm depends on the configuration. folio_mkclean(), from the writeback flusher kworker that has no mm of its own, accounted for about half the calls during writeback of a shared mapping and none at all on anonymous memory. Those counts were measured with CONFIG_COMPACTION=n: with COMPACTION=y, asm/pgtable.h overrides ptep_clear_flush() to call migrate_flush_tlb_page(), which rendezvouses with every CPU and handles the context itself, so folio_mkclean() does not reach this function.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Put napada
- Lokalno, na sustavu
- Složenost napada
- Visoka
- Potrebne ovlasti
- Obični korisnik
- Interakcija korisnika
- Nije potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Visok utjecaj
- Integritet
- Visok utjecaj
- Dostupnost
- Visok utjecaj
Reference
- git.kernel.org/stable/c/5e5d66a01e9306419a8ee6a50eae96faef7362bf
- git.kernel.org/stable/c/f41baa3acba2a7c776b01bc71292e74ef4f159a3
- git.kernel.org/stable/c/6c7a76f34009ed54c23ded11a5c6384d550808e5
- git.kernel.org/stable/c/b456f8b7c70800e8333c5891065dcb48a48e2732
- git.kernel.org/stable/c/3d6546c65188befd9ee3cf65ce7dcf08b5e08610
- git.kernel.org/stable/c/be818ec671dba143030e5924cb44a768114042ca
- git.kernel.org/stable/c/8f7524673fcd6a8d854f99b9a317481c475100f1
- git.kernel.org/stable/c/32f4dd420d626f96128fcfeea2ab24760b4f21a6
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.