Skip to main content

Linux Kernel CVE-2026-53095

| EUVDEUVD-2026-38963 MEDIUM
2026-06-24 Linux GHSA-8mpp-jf4m-xx27
5.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
6.1 MEDIUM

PR:L required for CAP_BPF; I:L added because arbitrary kernel function argument corruption constitutes an integrity violation beyond pure availability loss.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE
6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Red Hat
6.4 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jul 21, 2026 - 20:44 vuln.today
CVSS changed
Jul 21, 2026 - 18:22 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:30 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 24, 2026 - 16:30 nvd
MEDIUM 5.5

DescriptionNVD

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.

AnalysisAI

BPF subsystem argument-tampering in the Linux kernel allows local attackers with CAP_BPF privileges to abuse the kprobe+freplace program chaining path to overwrite kernel function arguments via a manipulated struct pt_regs, causing kernel denial of service or subversion of kernel function behavior. The root mechanism is that freplace programs inherit the kprobe_write_ctx=true permission from a parent kprobe program, enabling register writes that should be confined to uprobe contexts. No public exploit or CISA KEV listing is confirmed; EPSS sits at the 6th percentile. Patches are available in Linux 6.18.33, 7.0.10, and the 7.1 mainline branch.

Technical ContextAI

The Linux kernel's eBPF subsystem supports program types including kprobe (kernel function probing) and freplace (function replacement/trampolining). A key design distinction is that uprobe-type BPF programs - which target user-space processes - are permitted to write back to struct pt_regs (CPU register state) via the kprobe_write_ctx=true flag, because modifying user-space register context is safe and expected. The vulnerability arises from a type-confusion path: internally, uprobe programs use the KPROBE program type. An attacker can load a kprobe program with kprobe_write_ctx=true attached to a kernel function, then load a freplace (function replacement) program that attaches to that kprobe program. The freplace program inherits the write-context permission and can freely modify struct pt_regs fields (e.g., regs->di, the first argument register on x86-64), corrupting the arguments seen by the probed kernel function at runtime. The fix adds an enforcement check that prevents freplace programs from attaching to kprobe programs when their kprobe_write_ctx values differ, closing the privilege escalation path. Affected CPE: cpe:2.3:a:linux:linux.

RemediationAI

Upgrade to a patched Linux kernel: version 6.18.33 for the 6.18.x stable branch, 7.0.10 for the 7.0.x stable branch, or the 7.1 mainline release. The upstream stable tree fix commits are available at https://git.kernel.org/stable/c/611fe4b79af72d00d80f2223354284447daafae9 (6.18.x), https://git.kernel.org/stable/c/b312cf41b9e43f442613053f6cad39898e1baf96 (7.0.x), and https://git.kernel.org/stable/c/9836cadbd96c7e0dbb0018fa60e7872dd31ac4f8 (mainline). Ubuntu users should apply updates from USN-8568-1 (https://ubuntu.com/security/notices/USN-8568-1) and USN-8566-1 (https://ubuntu.com/security/notices/USN-8566-1). Where patching is not immediately possible, revoke or restrict CAP_BPF and CAP_SYS_ADMIN from all non-root users via capability bounding sets or LSM policy (AppArmor, SELinux BPF deny rules) - note this will disable any eBPF-based observability tooling (e.g., bpftrace, Cilium, Falco) as a side effect. Alternatively, restricting the kernel's unprivileged BPF via sysctl kernel.unprivileged_bpf_disabled=1 removes loading by unprivileged users, but root-level exploitation remains possible.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Share

CVE-2026-53095 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy