alpha: invalidate the local context in flush_tlb_mm()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
alpha: invalidate the local context in flush_tlb_mm()
flush_tlb_mm() has the same caller-CPU omission that was fixed in flush_tlb_page(): when the target mm is not the calling CPU's active_mm nothing happens locally, and smp_call_function() handles only the other CPUs, so this CPU may later reuse the old ASN together with the translations it still holds.
The active_mm test itself is left alone here. That path calls flush_tlb_current(), which loads a fresh context through __load_new_mm_context() rather than issuing a targeted tbi() against whatever ASN happens to be loaded, so it does not depend on which context is current.
The uniprocessor implementation in asm/tlbflush.h already has the missing branch. Counted over a fork-heavy run, flush_tlb_mm() was entered with the mm not this CPU's active_mm 2934 times, and 632 times while otherwise idle.
The proposed Alpha hugetlb support routes hugetlb invalidations through flush_tlb_range(), which calls this function. Unmapping or migrating a hugetlb folio from another context will also need this local invalidate.
| Product | Versions |
|---|---|
| Linux Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before def2772f486665f1144ec5aa347b26ac1fbdfc90 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9941bdb511b7771f51190a10ae141088f8a9af92 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c5ca925c464371b099837aa8ad057f64611ee409 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before dc61db41a015cbfa38b6446fd37e4d15e1dbdbb2 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c25050f8e22e1f65e244970c0f641d4413287991 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4f2aa02c8865810c9dbeec767e78da9e2bd8ef43 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f763165bb711567c18ede8f3cc20943b37b2b82e Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 721bb7a129771f0ff9cef1dd5abfc106ef65feba Affected |
| Linux Linux | 2.6.12 Affectedbefore 2.6.12 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/def2772f486665f1144ec5aa347b26ac1fbdfc90
- https://git.kernel.org/stable/c/9941bdb511b7771f51190a10ae141088f8a9af92
- https://git.kernel.org/stable/c/c5ca925c464371b099837aa8ad057f64611ee409
- https://git.kernel.org/stable/c/dc61db41a015cbfa38b6446fd37e4d15e1dbdbb2
- https://git.kernel.org/stable/c/c25050f8e22e1f65e244970c0f641d4413287991
- https://git.kernel.org/stable/c/4f2aa02c8865810c9dbeec767e78da9e2bd8ef43
- https://git.kernel.org/stable/c/f763165bb711567c18ede8f3cc20943b37b2b82e
- https://git.kernel.org/stable/c/721bb7a129771f0ff9cef1dd5abfc106ef65feba
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.