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-26 21:20:00 +01:00
2021-01-17 20:30:31 +01:00
2021-01-27 22:48:41 +01:00
2021-01-28 08:14:04 +01:00
2021-01-28 08:25:53 +01:00
2021-01-26 21:20:00 +01:00
2021-01-27 22:48:41 +01:00
2021-01-26 21:20:00 +01:00
2021-01-26 21:20:00 +01:00
2021-01-26 21:20:00 +01:00
2021-01-28 22:36:20 +01:00
2021-01-12 09:11:45 +01:00
2021-01-27 21:12:24 +01:00
2021-01-26 21:20:00 +01:00
2021-01-28 18:52:59 +01:00
2021-01-22 22:17:39 +01:00
2021-01-20 23:20:02 +01:00
2021-01-22 22:17:39 +01:00
2021-01-28 08:41:18 +01:00
2020-12-30 16:28:27 +01:00
2021-01-26 21:20:00 +01:00
2021-01-01 23:43:44 +01:00
2021-01-17 20:30:31 +01:00
2021-01-26 21:20:00 +01:00
2021-01-17 20:30:31 +01:00
2021-01-28 17:35:41 +01:00
2021-01-11 22:07:01 +01:00
2021-01-12 09:11:45 +01:00
2021-01-03 22:12:19 +01:00
2021-01-03 22:12:19 +01:00
2021-01-09 21:11:09 +01:00
2021-01-22 22:14:30 +01:00
2020-12-26 10:05:50 +01:00
2021-01-22 22:17:39 +01:00
2021-01-22 22:17:39 +01:00
2021-01-26 21:20:00 +01:00
2021-01-25 09:47:36 +01:00
2021-01-22 22:17:39 +01:00
2021-01-20 23:20:02 +01:00
2021-01-17 14:36:53 +01:00
2021-01-09 21:11:09 +01:00
2021-01-28 08:41:18 +01:00
2021-01-28 08:41:18 +01:00
2021-01-20 23:20:02 +01:00
2021-01-28 08:15:26 +01:00
2021-01-28 08:15:26 +01:00
2021-01-28 17:35:41 +01:00
2021-01-28 17:35:41 +01:00
2020-12-27 11:09:30 +01:00
2021-01-17 20:30:31 +01:00
2021-01-17 20:30:31 +01:00
2021-01-27 21:12:24 +01:00
2021-01-28 17:35:41 +01:00
2021-01-28 17:35:41 +01:00
2021-01-26 21:20:00 +01:00
2020-12-21 18:26:12 +01:00
2021-01-04 19:13:52 +01:00
2021-01-28 16:23:38 +01:00
2020-12-26 16:10:04 +01:00
2021-01-09 21:11:09 +01:00
2021-01-26 21:20:00 +01:00
2021-01-25 22:54:55 +01:00