Shell
cfe1768815
fixup: smart: sys_mount: UAF vulnerability
...
This patch addresses a use-after-free (UAF) vulnerability in the
sys_mount. The issue occurred due to improper handling of memory
deallocation, which could lead to crashes or undefined behavior on user
request of mounting.
Changes made:
- Moved the `rt_free(copy_source)` function call to occur after the necessary
operations are completed, preventing premature deallocation of memory.
Signed-off-by: Shell <smokewood@qq.com>
2024-10-21 17:15:52 +08:00
..
2024-09-19 23:02:39 -04:00
2024-09-19 23:02:25 -04:00
2024-07-29 20:18:19 +08:00
2024-09-14 13:50:36 -04:00
2024-03-28 23:42:56 +08:00
2024-03-28 23:42:56 +08:00
2024-08-24 15:46:35 -04:00
2024-05-31 17:32:19 +08:00
2022-12-11 13:12:03 -05:00
2022-12-03 12:07:44 +08:00
2022-12-03 12:07:44 +08:00
2023-07-20 00:02:41 +08:00
2024-07-15 17:58:29 +08:00
2022-12-03 12:07:44 +08:00
2024-02-23 17:49:15 +08:00
2024-02-23 17:49:15 +08:00
2024-03-28 23:42:56 +08:00
2024-03-30 17:58:38 +08:00
2024-05-31 17:32:19 +08:00
2022-12-03 12:07:44 +08:00
2024-02-23 17:49:15 +08:00
2023-11-10 21:37:07 +08:00
2024-02-23 17:49:15 +08:00
2024-03-28 23:42:56 +08:00
2022-12-03 12:07:44 +08:00
2022-12-03 12:07:44 +08:00
2024-08-22 17:53:18 -04:00
2024-05-31 17:30:46 +08:00
2024-03-28 23:42:56 +08:00
2024-03-28 23:42:56 +08:00
2023-10-17 13:07:59 +08:00
2022-12-03 12:07:44 +08:00
2024-03-28 23:42:56 +08:00
2024-03-28 23:42:56 +08:00
2024-09-13 17:30:24 -04:00
2024-10-21 17:15:52 +08:00
2024-03-28 23:42:56 +08:00
2024-08-22 17:52:45 -04:00
2024-07-16 20:38:55 +08:00
2024-06-22 13:30:55 +08:00
2024-06-04 00:06:41 +08:00
2024-07-15 17:58:29 +08:00
2023-01-08 21:08:55 -05:00
2024-09-13 17:28:47 -04:00
2024-09-01 15:12:34 -04:00