Files
ladybird/Kernel
Jorropo 22b0ff05d4 Kernel: sys$mmap PAGE_ROUND_UP size before calling allocate_randomized (#5154)
`allocate_randomized` assert an already sanitized size but `mmap` were
just forwarding whatever the process asked so it was possible to
trigger a kernel panic from an unpriviliged process just by asking some
randomly placed memory and a size non alligned with the page size.
This fixes this issue by rounding up to the next page size before
calling `allocate_randomized`.

Fixes #5149
2021-01-28 22:36:20 +01:00
..
2021-01-17 20:30:31 +01:00
2021-01-22 22:17:39 +01:00
2021-01-17 20:30:31 +01:00
2021-01-17 20:30:31 +01:00
2021-01-28 08:15:26 +01:00
2021-01-28 08:15:26 +01:00
2021-01-17 20:30:31 +01:00
2021-01-17 20:30:31 +01:00