alpha: only use a targeted tbi() when the target mm is really current

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

alpha: only use a targeted tbi() when the target mm is really current

ipi_flush_tlb_page() gates a targeted tbi() on current->active_mm. tbi() acts on the address space context currently loaded on the CPU, so it is only guaranteed to reach an mm's translations when a thread of that mm is running there. current->active_mm is not sufficient: under lazy TLB an idle or kernel task keeps an mm as its active_mm while a different ASN is loaded, so the invalidate is issued against the wrong context and the stale entry can survive. Nothing retires the old ASN afterwards either, mm->context[cpu] still being valid, so the resuming thread can reuse it.

Test current->mm instead and otherwise fall back to flush_tlb_other(), which clears mm->context[cpu] and forces a fresh ASN at the next switch whatever is loaded now.

For an mm borrowed through kthread_use_mm(), patch 1 of this series installs the context before the task can take a shootdown IPI. The current->mm test therefore covers that case as well.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 503b7e6c86992f437bbb1cdbcb9745bbf32f827c Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 75ebb4ec43df1c0f01574a905d3824b38ffc5705 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 167012cac793270c958e8e1e788c33c5bcab87c4 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 12cfa89da074c1bad9b8941210806db19810b3cb Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f04da607615b457b6e797f2139fbf05de8f50a56 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a26392e2fde8ca95ae4fee99abaa1516c32cab3b Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3726ffa1e710509131c460d415cec71628a2cbb4 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0d92845ac5dbc79e4ac4810b33c673f4c1c227e3 Affected
Linux Linux2.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

Weaknesses

The record names no weakness.

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.