Page MenuHomeFreeBSD

very large dma mappings can cause integer overflow
ClosedPublic

Authored by tychon on Jun 3 2019, 5:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 3:39 PM
Unknown Object (File)
Sat, May 30, 6:59 AM
Unknown Object (File)
Sat, May 16, 2:03 PM
Unknown Object (File)
May 15 2026, 1:41 AM
Unknown Object (File)
May 14 2026, 6:34 PM
Unknown Object (File)
May 12 2026, 1:16 AM
Unknown Object (File)
May 3 2026, 11:14 AM
Unknown Object (File)
Apr 26 2026, 12:37 PM
Subscribers

Details

Summary

Some integer overflow issues can occur with (very) large DMA mappings. In dmar_bus_dmamap_load_phys() this causes the miscomputation of a physical address. In _bus_dmamap_addseg() it causes a segment to appear truncated.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable