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)
Sat, Apr 6, 4:54 PM
Unknown Object (File)
Jan 23 2024, 4:07 AM
Unknown Object (File)
Jan 14 2024, 2:29 AM
Unknown Object (File)
Dec 23 2023, 11:24 AM
Unknown Object (File)
Dec 19 2023, 9:53 PM
Unknown Object (File)
Dec 2 2023, 10:21 AM
Unknown Object (File)
Nov 25 2023, 5:23 PM
Unknown Object (File)
Nov 15 2023, 1:30 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