On Sun, Feb 09, 2025 at 11:05:15PM +0100, Jiri Olsa wrote: > Jann reported [1] possible issue when trampoline_check_ip returns > address near the bottom of the address space that is allowed to > call into the syscall if uretprobes are not set up. > > Though the mmap minimum address restrictions will typically prevent > creating mappings there, let's make sure uretprobe syscall checks > for that. > > [1] > https://lore.kernel.org/bpf/202502081235.5A6F352985@keescook/T/#m9d416df341b8fbc11737dacbcd29f0054413cbbf > Cc: Kees Cook <[email protected]> > Cc: Eyal Birger <[email protected]> > Cc: [email protected] > Reported-by: Jann Horn <[email protected]> > Signed-off-by: Jiri Olsa <[email protected]>
Thanks for this! Reviewed-by: Kees Cook <[email protected]> -- Kees Cook
