{"id":"CVE-2025-22046","state":"PUBLISHED","title":"uprobes/x86: Harden uretprobe syscall trampoline check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nuprobes/x86: Harden uretprobe syscall trampoline check\n\nJann reported a possible issue when trampoline_check_ip returns\naddress near the bottom of the address space that is allowed to\ncall into the syscall if uretprobes are not set up:\n\n   https://lore.kernel.org/bpf/202502081235.5A6F352985@keescook/T/#m9d416df341b8fbc11737dacbcd29f0054413cbbf\n\nThough the mmap minimum address restrictions will typically prevent\ncreating mappings there, let's make sure uretprobe syscall checks\nfor that.","publishedAt":"2025-04-16T14:12:06.454Z","updatedAt":"2026-05-11T21:11:35.531Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ff474a78cef5cb5f32be52fe25b78441327a2e7c","status":"affected","lessThan":"c35771342e47d58ab9433f3be1c3c30f2c5fa4f3","versionType":"git"},{"version":"ff474a78cef5cb5f32be52fe25b78441327a2e7c","status":"affected","lessThan":"b0065d712049c87e1994c6eac00c6a637e39b325","versionType":"git"},{"version":"ff474a78cef5cb5f32be52fe25b78441327a2e7c","status":"affected","lessThan":"d4e48b8d59fe162938a5004ace698c847e6a3207","versionType":"git"},{"version":"ff474a78cef5cb5f32be52fe25b78441327a2e7c","status":"affected","lessThan":"fa6192adc32f4fdfe5b74edd5b210e12afd6ecc0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kernel/uprobes.c","include/linux/uprobes.h","kernel/events/uprobes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.23","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.11","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14.2","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kernel/uprobes.c","include/linux/uprobes.h","kernel/events/uprobes.c"]}],"references":["https://git.kernel.org/stable/c/c35771342e47d58ab9433f3be1c3c30f2c5fa4f3","https://git.kernel.org/stable/c/b0065d712049c87e1994c6eac00c6a637e39b325","https://git.kernel.org/stable/c/d4e48b8d59fe162938a5004ace698c847e6a3207","https://git.kernel.org/stable/c/fa6192adc32f4fdfe5b74edd5b210e12afd6ecc0"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/22xxx/CVE-2025-22046.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-22046","state":"PUBLISHED","datePublished":"2025-04-16T14:12:06.454Z","dateUpdated":"2026-05-11T21:11:35.531Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-29T08:45:45.810Z"},"containers":{"cna":{"title":"uprobes/x86: Harden uretprobe syscall trampoline check","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nuprobes/x86: Harden uretprobe syscall trampoline check\n\nJann reported a possible issue when trampoline_check_ip returns\naddress near the bottom of the address space that is allowed to\ncall into the syscall if uretprobes are not set up:\n\n   https://lore.kernel.org/bpf/202502081235.5A6F352985@keescook/T/#m9d416df341b8fbc11737dacbcd29f0054413cbbf\n\nThough the mmap minimum address restrictions will typically prevent\ncreating mappings there, let's make sure uretprobe syscall checks\nfor that."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ff474a78cef5cb5f32be52fe25b78441327a2e7c","status":"affected","lessThan":"c35771342e47d58ab9433f3be1c3c30f2c5fa4f3","versionType":"git"},{"version":"ff474a78cef5cb5f32be52fe25b78441327a2e7c","status":"affected","lessThan":"b0065d712049c87e1994c6eac00c6a637e39b325","versionType":"git"},{"version":"ff474a78cef5cb5f32be52fe25b78441327a2e7c","status":"affected","lessThan":"d4e48b8d59fe162938a5004ace698c847e6a3207","versionType":"git"},{"version":"ff474a78cef5cb5f32be52fe25b78441327a2e7c","status":"affected","lessThan":"fa6192adc32f4fdfe5b74edd5b210e12afd6ecc0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kernel/uprobes.c","include/linux/uprobes.h","kernel/events/uprobes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.23","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.11","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14.2","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kernel/uprobes.c","include/linux/uprobes.h","kernel/events/uprobes.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c35771342e47d58ab9433f3be1c3c30f2c5fa4f3"},{"url":"https://git.kernel.org/stable/c/b0065d712049c87e1994c6eac00c6a637e39b325"},{"url":"https://git.kernel.org/stable/c/d4e48b8d59fe162938a5004ace698c847e6a3207"},{"url":"https://git.kernel.org/stable/c/fa6192adc32f4fdfe5b74edd5b210e12afd6ecc0"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:11:35.531Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.23"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.13.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.14.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}