CVE-2025-22046

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxff474a78cef5cb5f32be52fe25b78441327a2e7c < c35771342e47d58ab9433f3be1c3c30f2c5fa4f3affected
LinuxLinuxff474a78cef5cb5f32be52fe25b78441327a2e7c < b0065d712049c87e1994c6eac00c6a637e39b325affected
LinuxLinuxff474a78cef5cb5f32be52fe25b78441327a2e7c < d4e48b8d59fe162938a5004ace698c847e6a3207affected
LinuxLinuxff474a78cef5cb5f32be52fe25b78441327a2e7c < fa6192adc32f4fdfe5b74edd5b210e12afd6ecc0affected
LinuxLinux6.11affected
LinuxLinux0 < 6.11unaffected
LinuxLinux6.12.23 <= 6.12.*unaffected
LinuxLinux6.13.11 <= 6.13.*unaffected
LinuxLinux6.14.2 <= 6.14.*unaffected
LinuxLinux6.15 <= *unaffected

Weaknesses

References