{"api_version":"1","generated_at":"2026-11-30T19:12:01+00:00","cve":"CVE-2026-138969","urls":{"html":"https://cve.report/CVE-2026-138969","api":"https://cve.report/api/cve/CVE-2026-138969.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138969","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138969"},"summary":{"title":"MIPS: mm: do not write a huge TLB entry when the probe misses","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: mm: do not write a huge TLB entry when the probe misses\n\n__update_tlb() probes for the 8K pair at the address it is given and,\nfor a huge pmd, writes the huge entry with tlbwi at the probed index or\nwith tlbwr when the probe misses. That works only if the caller passes\nthe faulting address, so that the probe finds the 4K entry the refill\nhandler loaded for the faulting page and the huge entry replaces it.\n\nupdate_mmu_cache_pmd() is not called that way. do_set_pmd() has always\npassed the huge-aligned address, and since commit ebcfc63d6bca (\"mm:\nabstract THP allocation\") the anonymous THP fault path does too\n(map_anon_folio_pmd()). The probe then misses the stale 4K entry, which\nsits at the faulting page somewhere else in the 2 MB range, tlbwr adds\na huge entry next to it, and the TLB holds two entries matching the\nfaulting address. Octeon raises \"Machine Check exception - caused by\nmultiple matching entries in the TLB\" on the next refill of that page;\na process on a CN63XX board died this way within a second of start, on\nthe first anonymous THP of its bss.\n\nSkip the write when the probe misses. The refill and TLBL/TLBS handlers\nprobe the faulting address themselves and rewrite the stale entry with\nthe huge one (they also set the software young bit), so the entry is\ninstalled on the next access at the cost of one exception.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:58","updated_at":"2026-11-30 14:17:58"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/2783340d1f2403fe970eafee590b8ce13a36b8cb","name":"https://git.kernel.org/stable/c/2783340d1f2403fe970eafee590b8ce13a36b8cb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6407390b5aa1303536508c37a054696bdd30598f","name":"https://git.kernel.org/stable/c/6407390b5aa1303536508c37a054696bdd30598f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0a75547e19098e276f9fec563ceaee694b9610fe","name":"https://git.kernel.org/stable/c/0a75547e19098e276f9fec563ceaee694b9610fe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0cb17268887e1df5c425ea052f5146b42d126323","name":"https://git.kernel.org/stable/c/0cb17268887e1df5c425ea052f5146b42d126323","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dd799bae4c1898dd3ee810ade13c6ba4b0974aaa","name":"https://git.kernel.org/stable/c/dd799bae4c1898dd3ee810ade13c6ba4b0974aaa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/926d99c2299b655f452b07ca946255ce6d5abaad","name":"https://git.kernel.org/stable/c/926d99c2299b655f452b07ca946255ce6d5abaad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e","name":"https://git.kernel.org/stable/c/41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bc977f434e9e7d0ce7f065ff18eba71e73e5f854","name":"https://git.kernel.org/stable/c/bc977f434e9e7d0ce7f065ff18eba71e73e5f854","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138969","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138969","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd062c847a8cea2821347d7e18165dfa658f7dce 2783340d1f2403fe970eafee590b8ce13a36b8cb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd062c847a8cea2821347d7e18165dfa658f7dce 41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd062c847a8cea2821347d7e18165dfa658f7dce 926d99c2299b655f452b07ca946255ce6d5abaad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd062c847a8cea2821347d7e18165dfa658f7dce dd799bae4c1898dd3ee810ade13c6ba4b0974aaa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd062c847a8cea2821347d7e18165dfa658f7dce bc977f434e9e7d0ce7f065ff18eba71e73e5f854 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd062c847a8cea2821347d7e18165dfa658f7dce 6407390b5aa1303536508c37a054696bdd30598f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd062c847a8cea2821347d7e18165dfa658f7dce 0a75547e19098e276f9fec563ceaee694b9610fe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd062c847a8cea2821347d7e18165dfa658f7dce 0cb17268887e1df5c425ea052f5146b42d126323 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.31","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.31 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/mips/mm/tlb-r4k.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2783340d1f2403fe970eafee590b8ce13a36b8cb","status":"affected","version":"fd062c847a8cea2821347d7e18165dfa658f7dce","versionType":"git"},{"lessThan":"41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e","status":"affected","version":"fd062c847a8cea2821347d7e18165dfa658f7dce","versionType":"git"},{"lessThan":"926d99c2299b655f452b07ca946255ce6d5abaad","status":"affected","version":"fd062c847a8cea2821347d7e18165dfa658f7dce","versionType":"git"},{"lessThan":"dd799bae4c1898dd3ee810ade13c6ba4b0974aaa","status":"affected","version":"fd062c847a8cea2821347d7e18165dfa658f7dce","versionType":"git"},{"lessThan":"bc977f434e9e7d0ce7f065ff18eba71e73e5f854","status":"affected","version":"fd062c847a8cea2821347d7e18165dfa658f7dce","versionType":"git"},{"lessThan":"6407390b5aa1303536508c37a054696bdd30598f","status":"affected","version":"fd062c847a8cea2821347d7e18165dfa658f7dce","versionType":"git"},{"lessThan":"0a75547e19098e276f9fec563ceaee694b9610fe","status":"affected","version":"fd062c847a8cea2821347d7e18165dfa658f7dce","versionType":"git"},{"lessThan":"0cb17268887e1df5c425ea052f5146b42d126323","status":"affected","version":"fd062c847a8cea2821347d7e18165dfa658f7dce","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/mips/mm/tlb-r4k.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.31"},{"lessThan":"2.6.31","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.31","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: mm: do not write a huge TLB entry when the probe misses\n\n__update_tlb() probes for the 8K pair at the address it is given and,\nfor a huge pmd, writes the huge entry with tlbwi at the probed index or\nwith tlbwr when the probe misses. That works only if the caller passes\nthe faulting address, so that the probe finds the 4K entry the refill\nhandler loaded for the faulting page and the huge entry replaces it.\n\nupdate_mmu_cache_pmd() is not called that way. do_set_pmd() has always\npassed the huge-aligned address, and since commit ebcfc63d6bca (\"mm:\nabstract THP allocation\") the anonymous THP fault path does too\n(map_anon_folio_pmd()). The probe then misses the stale 4K entry, which\nsits at the faulting page somewhere else in the 2 MB range, tlbwr adds\na huge entry next to it, and the TLB holds two entries matching the\nfaulting address. Octeon raises \"Machine Check exception - caused by\nmultiple matching entries in the TLB\" on the next refill of that page;\na process on a CN63XX board died this way within a second of start, on\nthe first anonymous THP of its bss.\n\nSkip the write when the probe misses. The refill and TLBL/TLBS handlers\nprobe the faulting address themselves and rewrite the stale entry with\nthe huge one (they also set the software young bit), so the entry is\ninstalled on the next access at the cost of one exception."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:26:39.723Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/2783340d1f2403fe970eafee590b8ce13a36b8cb"},{"url":"https://git.kernel.org/stable/c/41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e"},{"url":"https://git.kernel.org/stable/c/926d99c2299b655f452b07ca946255ce6d5abaad"},{"url":"https://git.kernel.org/stable/c/dd799bae4c1898dd3ee810ade13c6ba4b0974aaa"},{"url":"https://git.kernel.org/stable/c/bc977f434e9e7d0ce7f065ff18eba71e73e5f854"},{"url":"https://git.kernel.org/stable/c/6407390b5aa1303536508c37a054696bdd30598f"},{"url":"https://git.kernel.org/stable/c/0a75547e19098e276f9fec563ceaee694b9610fe"},{"url":"https://git.kernel.org/stable/c/0cb17268887e1df5c425ea052f5146b42d126323"}],"title":"MIPS: mm: do not write a huge TLB entry when the probe misses","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138969","datePublished":"2026-11-30T13:26:39.723Z","dateReserved":"2026-11-30T13:22:15.906Z","dateUpdated":"2026-11-30T13:26:39.723Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:58","lastModifiedDate":"2026-11-30 14:17:58","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138969","Ordinal":"1","Title":"MIPS: mm: do not write a huge TLB entry when the probe misses","CVE":"CVE-2026-138969","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138969","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: mm: do not write a huge TLB entry when the probe misses\n\n__update_tlb() probes for the 8K pair at the address it is given and,\nfor a huge pmd, writes the huge entry with tlbwi at the probed index or\nwith tlbwr when the probe misses. That works only if the caller passes\nthe faulting address, so that the probe finds the 4K entry the refill\nhandler loaded for the faulting page and the huge entry replaces it.\n\nupdate_mmu_cache_pmd() is not called that way. do_set_pmd() has always\npassed the huge-aligned address, and since commit ebcfc63d6bca (\"mm:\nabstract THP allocation\") the anonymous THP fault path does too\n(map_anon_folio_pmd()). The probe then misses the stale 4K entry, which\nsits at the faulting page somewhere else in the 2 MB range, tlbwr adds\na huge entry next to it, and the TLB holds two entries matching the\nfaulting address. Octeon raises \"Machine Check exception - caused by\nmultiple matching entries in the TLB\" on the next refill of that page;\na process on a CN63XX board died this way within a second of start, on\nthe first anonymous THP of its bss.\n\nSkip the write when the probe misses. The refill and TLBL/TLBS handlers\nprobe the faulting address themselves and rewrite the stale entry with\nthe huge one (they also set the software young bit), so the entry is\ninstalled on the next access at the cost of one exception.","Type":"Description","Title":"MIPS: mm: do not write a huge TLB entry when the probe misses"}]}}}