Liav A
f7d1b8cd0c
Kernel: Avoid potential memory info leak when doing mmap on /dev/mem
...
Although we can still consider this impossible to happen now, because
the mmap syscall entry code verifies that specified offset must be page
aligned, it's still a good practice to VERIFY we actually take a start
address as page-aligned in case of doing mmap on /dev/mem.
As for read(2) on /dev/mem, we don't map anything to userspace so it's
safe to read from whatever offset userspace specified as long as it does
not break the original rules of reading physical memory from /dev/mem.
2022-01-08 13:21:16 +02:00
..
2022-01-04 17:57:54 +00:00
2022-01-07 15:44:42 +01:00
2022-01-07 10:56:59 +01:00
2022-01-08 13:21:16 +02:00
2022-01-07 15:44:42 +01:00
2022-01-07 10:56:59 +01:00
2022-01-07 15:44:42 +01:00
2021-12-28 23:08:50 +01:00
2022-01-07 10:56:59 +01:00
2021-12-29 12:04:15 +01:00
2021-12-26 21:22:59 +01:00
2022-01-08 13:21:16 +02:00
2022-01-06 22:51:28 +01:00
2022-01-07 15:44:42 +01:00
2022-01-07 10:56:59 +01:00
2022-01-02 18:08:02 +01:00
2021-12-05 15:31:03 +01:00
2021-12-28 21:02:38 +01:00
2021-12-30 14:16:03 +01:00
2021-04-22 21:15:54 +02:00
2021-12-01 11:22:04 -08:00
2021-10-14 01:23:08 +01:00
2021-12-01 11:22:04 -08:00
2022-01-01 14:55:58 +01:00
2021-10-01 12:27:20 +02:00
2022-01-06 22:34:11 +01:00
2022-01-06 22:34:11 +01:00
2021-12-30 14:32:17 +01:00
2021-11-08 01:10:53 +01:00
2022-01-01 14:55:58 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-08 01:10:53 +01:00
2021-08-24 01:57:11 +02:00
2021-08-24 01:57:11 +02:00
2021-12-30 14:32:17 +01:00
2021-12-26 21:22:59 +01:00
2021-12-28 23:08:50 +01:00
2021-12-30 14:16:03 +01:00
2021-11-17 00:21:13 +01:00
2021-11-11 01:27:46 +01:00
2021-11-11 01:27:46 +01:00
2021-12-30 14:32:17 +01:00
2021-11-24 22:56:39 +01:00
2021-11-30 11:16:35 +01:00
2021-11-30 11:16:35 +01:00
2021-12-28 21:02:38 +01:00
2021-11-11 01:27:46 +01:00
2021-10-17 17:09:58 +01:00
2021-09-07 20:15:15 +01:00
2021-12-30 18:10:51 +01:00
2022-01-06 22:34:11 +01:00
2021-12-30 14:32:17 +01:00
2022-01-05 14:04:18 +01:00
2021-11-11 01:27:46 +01:00
2021-11-14 22:52:35 +01:00
2021-11-17 00:21:13 +01:00
2022-01-07 10:56:59 +01:00
2022-01-07 15:44:42 +01:00
2021-12-30 14:32:17 +01:00
2021-12-12 22:32:35 +01:00
2021-11-08 01:10:53 +01:00
2021-11-08 01:10:53 +01:00
2021-12-12 22:32:35 +01:00
2021-12-30 14:32:17 +01:00
2021-12-26 21:22:59 +01:00
2021-12-28 21:02:38 +01:00
2022-01-07 10:56:59 +01:00
2021-12-30 14:32:17 +01:00
2021-12-30 14:32:17 +01:00
2021-12-22 00:02:36 -08:00
2021-12-30 14:32:17 +01:00
2021-11-14 22:52:35 +01:00
2021-12-30 14:32:17 +01:00
2021-12-28 01:55:22 -08:00
2022-01-04 19:08:07 +02:00
2021-12-30 14:32:17 +01:00
2021-10-15 21:48:45 +01:00
2021-12-30 14:32:17 +01:00
2021-09-07 22:16:25 +02:00
2021-09-10 18:05:46 +03:00
2021-12-29 17:58:44 +01:00
2021-08-14 19:58:11 +02:00
2021-11-08 01:10:53 +01:00
2021-12-16 22:21:35 +03:30
2021-11-17 00:21:13 +01:00
2021-08-24 01:57:11 +02:00
2021-08-24 01:57:11 +02:00
2021-12-05 15:31:03 +01:00
2021-12-30 14:32:17 +01:00