cobalt: always check userspace read/write validity
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | testsuite/smokey/y2038: Always present valid u_ret to monitor_wait64testsuite/ | +3 | 0 replies | |
| 2/3 | cobalt: Add missing access_ok checkskernel/ kernel/ kernel/ | +6 | 3 replies | |
| 3/3 | cobalt: Add missing evaluations of __xn_get/put_user return codeskernel/ kernel/ kernel/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] cobalt: always check userspace read/write validity
This adds a few missing access_ok and get/put_user return code evaluations. Along that, the register corruption seen since kernel 6.11 is avoided.
Jan
Jan Kiszka (3):
testsuite/smokey/y2038: Always present valid u_ret to monitor_wait64
cobalt: Add missing access_ok checks
cobalt: Add missing evaluations of __xn_get/put_user return codes
kernel/cobalt/posix/cond.c | 9 ++++++--- kernel/cobalt/posix/io.c | 2 ++ kernel/cobalt/posix/monitor.c | 3 ++- kernel/cobalt/posix/mqueue.c | 3 ++- kernel/cobalt/posix/process.c | 5 ++++- kernel/cobalt/posix/syscall32.c | 2 ++ testsuite/smokey/y2038/syscall-tests.c | 6 +++--- 7 files changed, 21 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.0