{"id":33323,"date":"2026-10-06T20:31:46","date_gmt":"2026-10-06T12:31:46","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98254"},"modified":"2026-10-06T20:31:46","modified_gmt":"2026-10-06T12:31:46","slug":"cve-2026-98254","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98254","title":{"rendered":"CVE-2026-98254 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nswiotlb: use the adju"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>swiotlb: use the adjusted address for the highmem page lookup<\/p>\n<p>swiotlb_bounce() reads the page frame number from the slot&#8217;s recorded<br \/>\norig_addr, then advances orig_addr by tlb_offset to reach the address<br \/>\nthe caller asked about. The highmem branch mixes the two: the offset<br \/>\nwithin the page comes from the adjusted address, the page from the value<br \/>\nbefore it.<\/p>\n<p>Once the adjustment crosses a page boundary the pair no longer describes<br \/>\none location, and the whole copy lands one page below the intended one<br \/>\nfor a positive tlb_offset, one above for a negative one. DMA_FROM_DEVICE<br \/>\nwrites the device data over the wrong page and leaves the intended one<br \/>\nstale, DMA_TO_DEVICE feeds the device from a page the mapping may not<br \/>\ncover. Partial syncs through dma_sync_single_range_for_*() are what make<br \/>\ntlb_offset non-zero.<\/p>\n<p>The branch test is picked the same way, so a slot recorded in lowmem can<br \/>\nbe adjusted into highmem and the lowmem path then hands a highmem<br \/>\naddress to phys_to_virt().<\/p>\n<p>Take both from orig_addr once it is final and keep pfn in the branch<br \/>\nthat uses it. PhysHighMem() asks the question straight from the address,<br \/>\nas dma-debug already does.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>swiotlb: use the adjusted address for the highmem page lookup<\/p>\n<p>swiotlb_bounce() reads the page frame number from the slot&#8217;s recorde<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33323","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}