ladybird/Kernel/Syscalls
Brian Gianforcaro 303620ea85 Kernel: Fix pointer overflow in create_thread
KUBSAN found this overflow from syscall fuzzing.

Fixes #5498
2021-02-24 15:14:13 +01:00
..
abort.cpp Kernel+LibC: Tidy up assertion failures with a dedicated syscall 2021-01-04 21:57:30 +01:00
access.cpp Kernel: Convert some more syscalls to Userspace<T> 2020-08-02 11:01:00 +02:00
alarm.cpp Kernel: Improve time keeping and dramatically reduce interrupt load 2020-12-21 18:26:12 +01:00
anon_create.cpp Kernel: Make sys$anon_create() fail if size == 0 2021-01-25 09:36:42 +01:00
beep.cpp Kernel: Move some time related code from Scheduler into TimeManagement 2020-11-30 13:17:02 +01:00
chdir.cpp Kernel+LibC: Make sys$getcwd truncate the result silently 2021-01-16 22:40:53 +01:00
chmod.cpp Kernel: Use Userspace<T> for the chmod syscall 2020-08-10 12:52:15 +02:00
chown.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
chroot.cpp Kernel: Use Userspace<T> for the chroot syscall 2020-08-10 12:52:15 +02:00
clock.cpp Kernel: clock_nanosleep's 'flags' is not a bitset 2021-02-13 00:40:31 +01:00
debug.cpp Kernel: Remove a bunch of no-longer-necessary SmapDisablers 2021-01-17 15:03:07 +01:00
disown.cpp Kernel: disown should unblock any potential waiters 2020-12-12 21:28:12 +01:00
dup2.cpp Kernel+LibC+UserspaceEmulator: Bring back sys$dup2() 2020-08-15 11:11:34 +02:00
execve.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
exit.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
fcntl.cpp Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
fork.cpp Kernel: Use dbgln_if() in sys$fork() 2021-02-17 15:34:32 +01:00
ftruncate.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
futex.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
get_dir_entries.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
get_stack_bounds.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
getrandom.cpp Kernel: Remove a bunch of no-longer-necessary SmapDisablers 2021-01-17 15:03:07 +01:00
getuid.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
hostname.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
ioctl.cpp Kernel: Remove SmapDisabler in sys$ioctl() 2020-07-31 00:17:25 +02:00
keymap.cpp Kernel: Use copy_n_from_user in sys$setkeymap 2021-02-21 17:12:01 +01:00
kill.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
link.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
lseek.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
mkdir.cpp Kernel: Convert some more syscalls to Userspace<T> 2020-08-02 11:01:00 +02:00
mknod.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
mmap.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
module.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
mount.cpp Revert "Kernel: Return -ENOTDIR for non-directory mount target" 2021-01-30 13:52:12 +01:00
open.cpp Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
perf_event.cpp Kernel+Profiler: Make profiling per-process and without core dumps 2021-01-11 11:36:00 +01:00
pipe.cpp Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
pledge.cpp Kernel: Don't drop pledge()'d promises/execpromises when passing nullptr 2021-01-26 18:18:01 +01:00
prctl.cpp Kernel+LibC: Introduce a "dumpable" flag for processes 2020-12-25 19:35:55 +01:00
process.cpp Kernel: Forbid empty and whitespace-only process names 2021-02-13 00:40:31 +01:00
profiling.cpp Kernel: Use current process EUID in doing profiling access control 2021-01-12 23:34:01 +01:00
ptrace.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
purge.cpp Kernel: Fix bad VMObject iteration in sys$purge() 2021-01-02 13:34:29 +01:00
read.cpp Kernel: Refuse excessively long iovec list, also in readv 2021-02-15 22:09:01 +01:00
readlink.cpp Kernel: Move KBufferBuilder to the fallible KBuffer API 2020-12-18 19:22:26 +01:00
realpath.cpp Kernel: Make realpath return silently truncated data 2021-01-16 22:40:53 +01:00
rename.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
rmdir.cpp Kernel: Convert some more syscalls to Userspace<T> 2020-08-02 11:01:00 +02:00
sched.cpp Kernel+LibC+WindowServer: Remove unused thread/process boost mechanism 2021-01-16 14:52:04 +01:00
select.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
sendfd.cpp Kernel+Userland: Give sys$recvfd() an options argument for O_CLOEXEC 2021-02-14 10:39:48 +01:00
setpgid.cpp Kernel: Distinguish between new and old process groups with equal pgids 2020-08-19 21:21:34 +02:00
setuid.cpp Kernel: Use copy_n_from_user in sys$setgroups to check for overflow 2021-02-21 17:12:01 +01:00
shutdown.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-09 21:11:09 +01:00
sigaction.cpp Kernel: Don't allow modifying IOPL via sys$ptrace() or sys$sigreturn() 2020-12-22 19:38:25 +01:00
socket.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
stat.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
sync.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
sysconf.cpp Kernel+LibC: Add the _SC_GETPW_R_SIZE_MAX sysconf enum 2021-02-15 17:32:56 +01:00
thread.cpp Kernel: Fix pointer overflow in create_thread 2021-02-24 15:14:13 +01:00
times.cpp Kernel: Move some time related code from Scheduler into TimeManagement 2020-11-30 13:17:02 +01:00
ttyname.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
umask.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
uname.cpp Kernel: Oops, fix broken sys$uname() function definition 2021-02-24 14:42:38 +01:00
unlink.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
unveil.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
utime.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
waitid.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
watch_file.cpp Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
write.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00