CVE-2026-53095
Last modified
CVE-2026-53095 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: bpf: Fix abuse of kprobe_write_ctx via freplace uprobe programs are allowed to modify struct pt_regs. Since the actual program type of uprobe is KPROBE, it can be abused to modify struct pt_regs via kprobe+freplace when the kprobe attaches to kernel functions. For example, SEC("?kprobe") int kprobe(struct pt_regs *regs) { return 0; } SEC("?freplace") int freplace_kprobe(struct pt_regs *regs) { regs->di = 0; return 0; } freplace_kprobe prog will attach to kprobe prog. kprobe prog will attach to a kernel function. Without this patch, when the kernel function runs, its first arg will always be set as 0 via the freplace_kprobe prog. To fix the abuse of kprobe_write_ctx=true via kprobe+freplace, disallow attaching freplace programs on kprobe programs with different kprobe_write_ctx values.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix abuse of kprobe_write_ctx via freplace uprobe programs are allowed to modify struct pt_regs. Since the actual program type of uprobe is KPROBE, it can be abused to modify struct pt_regs via kprobe+freplace when the kprobe attaches to kernel functions. For example, SEC("?kprobe") int kprobe(struct pt_regs *regs) { return 0; } SEC("?freplace") int freplace_kprobe(struct pt_regs *regs) { regs->di = 0; return 0; } freplace_kprobe prog will attach to kprobe prog. kprobe prog will attach to a kernel function. Without this patch, when the kernel function runs, its first arg will always be set as 0 via the freplace_kprobe prog. To fix the abuse of kprobe_write_ctx=true via kprobe+freplace, disallow attaching freplace programs on kprobe programs with different kprobe_write_ctx values.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.18, < 6.18.33 |
| Linux | Linux Kernel | >= 6.19, < 7.0.10 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-53095?
How severe is CVE-2026-53095?
How do I fix CVE-2026-53095?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5309GitLab has remediated an issue in GitLab EE affecting all ve…5.4
- CVE-2026-53090In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53091In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-53092In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53093In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53094In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53096In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53097In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53098In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53099In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-5310A vulnerability was identified in Enter Software Iperius Bac…2.5
- CVE-2026-53100In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-53095?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
