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)
Wed, Jan 1, 9:19 PM
Unknown Object (File)
Tue, Dec 31, 7:47 AM
Unknown Object (File)
Dec 7 2024, 12:39 PM
Unknown Object (File)
Nov 25 2024, 12:51 PM
Unknown Object (File)
Oct 27 2024, 9:41 PM
Unknown Object (File)
Oct 14 2024, 11:33 AM
Unknown Object (File)
Oct 2 2024, 2:15 AM
Unknown Object (File)
Sep 25 2024, 5:37 AM
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