Skip to content

Conversation

@fabianfreyer
Copy link
Contributor

@fabianfreyer fabianfreyer commented Jan 29, 2021

On PAE systems with sufficiently large physical memory ranges, the subtraction result of res->end - i + 1 can overflow when casted to size_t, resulting in is being set to 0 and causing an endless loop.
This can hang or crash the kernel.

See-also: #36
Co-authored-by: @pagabuc

On PAE systems with sufficiently large physical memory ranges, the
subtraction result of res->end - i + 1 can overflow when casted to
size_t, resulting in is being set to 0 and causing an endless loop.
This can hang or crash the kernel.

See-also: 504ensicsLabs#36
Co-authored-by: Fabio Pagani <[email protected]>
@kd8bny kd8bny self-assigned this Jan 31, 2021
@kd8bny kd8bny added the bug label Jan 31, 2021
@kd8bny kd8bny added this to the v1.10 milestone Jan 31, 2021
@kd8bny kd8bny merged commit 740b2e7 into 504ensicsLabs:master Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants