uprobes/x86: Harden uretprobe syscall trampoline check
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
uprobes/x86: Harden uretprobe syscall trampoline check
Jann reported a 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:
https://lore.kernel.org/bpf/202502081235.5A6F352985@keescook/T/#m9d416df341b8fbc11737dacbcd29f0054413cbbf
Though the mmap minimum address restrictions will typically prevent creating mappings there, let's make sure uretprobe syscall checks for that.
From the CVE record · Linux
The Linux kernel’s x86 uretprobe syscall trampoline check could allow a call into the syscall from an address near the bottom of the address space when uretprobes are not set up. This is a local issue; mmap minimum-address restrictions typically prevent mappings there. No authentication or user interaction is described.
Engineers running the Linux kernel should check whether their kernel includes the uretprobe syscall trampoline fix; affected versions are not specified.