In the Linux kernel, the following vulnerability has been resolved: bpf: Fix abuse of kprobe_write_ctx via freplace uprobe programs are allowed to… (CVE-2026-53095)
A vulnerability in the Linux kernel's BPF subsystem involving kprobe and freplace programs allowed abuse of the kprobe_write_ctx feature. Specifically, uprobe programs, which have the actual program type KPROBE, could modify the struct pt_regs via kprobe combined with freplace when attaching to kernel functions. This could cause the first argument of a kernel function to be forcibly set to zero. The issue has been resolved by disallowing freplace programs from attaching to kprobe programs with differing kprobe_write_ctx values.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-53095) in the Linux kernel's BPF subsystem arises because uprobe programs, which are actually of type KPROBE, can modify the struct pt_regs when combined with freplace programs. This allows a freplace_kprobe program to attach to a kprobe program, which itself attaches to a kernel function, and forcibly modify the first argument of that kernel function to zero. The root cause is the abuse of the kprobe_write_ctx feature via kprobe+freplace. The fix involves disallowing freplace programs from attaching to kprobe programs if their kprobe_write_ctx values differ, preventing this manipulation.
Potential Impact
The vulnerability can cause kernel functions to receive manipulated arguments, specifically forcing the first argument to zero, which could lead to denial of service or other unintended kernel behavior. The CVSS score is 5.5 (medium severity) with an attack vector requiring local access, low complexity, and privileges. There is no confidentiality or integrity impact, but availability impact is high.
Mitigation Recommendations
The vulnerability has been resolved in the Linux kernel by disallowing freplace programs from attaching to kprobe programs with different kprobe_write_ctx values. No specific patch versions are provided in the data. Users should apply the official Linux kernel updates that include this fix once available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix abuse of kprobe_write_ctx via freplace uprobe programs are allowed to… (CVE-2026-53095)
Description
A vulnerability in the Linux kernel's BPF subsystem involving kprobe and freplace programs allowed abuse of the kprobe_write_ctx feature. Specifically, uprobe programs, which have the actual program type KPROBE, could modify the struct pt_regs via kprobe combined with freplace when attaching to kernel functions. This could cause the first argument of a kernel function to be forcibly set to zero. The issue has been resolved by disallowing freplace programs from attaching to kprobe programs with differing kprobe_write_ctx values.
CVSS v3.1
Score 5.5medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-53095) in the Linux kernel's BPF subsystem arises because uprobe programs, which are actually of type KPROBE, can modify the struct pt_regs when combined with freplace programs. This allows a freplace_kprobe program to attach to a kprobe program, which itself attaches to a kernel function, and forcibly modify the first argument of that kernel function to zero. The root cause is the abuse of the kprobe_write_ctx feature via kprobe+freplace. The fix involves disallowing freplace programs from attaching to kprobe programs if their kprobe_write_ctx values differ, preventing this manipulation.
Potential Impact
The vulnerability can cause kernel functions to receive manipulated arguments, specifically forcing the first argument to zero, which could lead to denial of service or other unintended kernel behavior. The CVSS score is 5.5 (medium severity) with an attack vector requiring local access, low complexity, and privileges. There is no confidentiality or integrity impact, but availability impact is high.
Mitigation Recommendations
The vulnerability has been resolved in the Linux kernel by disallowing freplace programs from attaching to kprobe programs with different kprobe_write_ctx values. No specific patch versions are provided in the data. Users should apply the official Linux kernel updates that include this fix once available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8mpp-jf4m-xx27
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53095"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a5fcf481010f89cc21529bc
Added to database: 07/21/2026, 19:58:00 UTC
Last enriched: 09/15/2026, 06:36:36 UTC
Last updated: 09/15/2026, 06:36:36 UTC
Views: 22
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.