Skip to content

Fix integer overflow in DMA allow list boundary check#298

Open
sameehj wants to merge 1 commit intowolfSSL:mainfrom
sameehj:dma
Open

Fix integer overflow in DMA allow list boundary check#298
sameehj wants to merge 1 commit intowolfSSL:mainfrom
sameehj:dma

Conversation

@sameehj
Copy link
Contributor

@sameehj sameehj commented Mar 12, 2026

Add overflow guards to _checkAddrAgainstAllowList to prevent address-space wraparound from bypassing the allow list on 32-bit and 64-bit systems. Reject requests where addr + size overflows, and skip allow list entries whose own range overflows.

Add overflow guards to _checkAddrAgainstAllowList to prevent
address-space wraparound from bypassing the allow list on 32-bit
and 64-bit systems. Reject requests where addr + size overflows,
and skip allow list entries whose own range overflows.

Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant