7.8
HIGH CVSS 3.1
CVE-2026-53078
bpf: Fix same-register dst/src OOB read and pointer leak in sock_ops
Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix same-register dst/src OOB read and pointer leak in sock_ops When a BPF sock_ops program accesses ctx fields with dst_reg == src_reg, the SOCK_OPS_GET_SK() and SOCK_OPS_GET_FIELD() macros fail to zero the destination register in the !fullsock / !locked_tcp_sock path. Both macros borrow a temporary register to check is_fullsock / is_locked_tcp_sock when dst_reg == src_reg, because dst_reg holds the ctx pointer. When the check is false (e.g., TCP_NEW_SYN_RECV state with a request_sock), dst_reg should be zeroed but is not, leaving the stale ctx pointer: - SOCK_OPS_GET_SK: dst_reg retains the ctx pointer, passes NULL checks as PTR_TO_SOCKET_OR_NULL, and can be used as a bogus socket pointer, leading to stack-out-of-bounds access in helpers like bpf_skc_to_tcp6_sock(). - SOCK_OPS_GET_FIELD: dst_reg retains the ctx pointer which the verifier believes is a SCALAR_VALUE, leaking a kernel pointer. Fix both macros by: - Changing JMP_A(1) to JMP_A(2) in the fullsock path to skip the added instruction. - Adding BPF_MOV64_IMM(si->dst_reg, 0) after the temp register restore in the !fullsock path, placed after the restore because dst_reg == src_reg means we need src_reg intact to read ctx->temp.

INFO

Published Date :

June 24, 2026, 5:17 p.m.

Last Modified :

July 21, 2026, 6:14 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-53078 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Apply Linux kernel updates to fix out-of-bounds reads and pointer leaks in sock_ops.
  • Update the Linux kernel to the latest version.
  • Apply the specific patch for the bpf sock_ops vulnerability.
  • Verify the fix is applied in the running kernel.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-53078.

URL Resource
https://git.kernel.org/stable/c/10f86a2a5c91fc4c4d001960f1c21abe52545ef6 Patch
https://git.kernel.org/stable/c/18e3ffde1822f0b48b1753bf34aa97ce839df1d8 Patch
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-53078 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-53078 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-53078 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-53078 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 21, 2026

    Action Type Old Value New Value
    Added CWE CWE-125
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.9:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.9:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.9:rc8:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.9:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.9:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.9:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.7.18 up to (excluding) 5.8 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.8.4 up to (excluding) 5.9 *cpe:2.3:o:linux:linux_kernel:5.9:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.9:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.61 up to (excluding) 5.5 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.9.1 up to (excluding) 7.0.10
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/10f86a2a5c91fc4c4d001960f1c21abe52545ef6 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/18e3ffde1822f0b48b1753bf34aa97ce839df1d8 Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 28, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'fd09af010788a884de1c39537c288830c3d305db', 'lessThan': '18e3ffde1822f0b48b1753bf34aa97ce839df1d8', 'versionType': 'git'}, {'status': 'affected', 'version': 'fd09af010788a884de1c39537c288830c3d305db', 'lessThan': '10f86a2a5c91fc4c4d001960f1c21abe52545ef6', 'versionType': 'git'}, {'status': 'affected', 'version': '48be3df15aa19c04eadf156c9129293c9a10389f', 'versionType': 'git'}, {'status': 'affected', 'version': 'cd4644d904e1d153d516e73e2e127e7a2fe687e1', 'versionType': 'git'}, {'status': 'affected', 'version': '6e0bc946cbeec538322820786b5fb5200a2216ab', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7e52f7f675046d9ffc5692d815fa67c82fcdbf5', 'versionType': 'git'}, {'status': 'affected', 'version': 'db7f8c57dbdd31f7e59f8dc8d1e1b38607a320ef', 'versionType': 'git'}, {'status': 'affected', 'version': '5.7.18', 'lessThan': '5.8', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.8.4', 'lessThan': '5.9', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.4.61', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['net/core/filter.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.9'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.9', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/core/filter.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: bpf: Fix same-register dst/src OOB read and pointer leak in sock_ops When a BPF sock_ops program accesses ctx fields with dst_reg == src_reg, the SOCK_OPS_GET_SK() and SOCK_OPS_GET_FIELD() macros fail to zero the destination register in the !fullsock / !locked_tcp_sock path. Both macros borrow a temporary register to check is_fullsock / is_locked_tcp_sock when dst_reg == src_reg, because dst_reg holds the ctx pointer. When the check is false (e.g., TCP_NEW_SYN_RECV state with a request_sock), dst_reg should be zeroed but is not, leaving the stale ctx pointer: - SOCK_OPS_GET_SK: dst_reg retains the ctx pointer, passes NULL checks as PTR_TO_SOCKET_OR_NULL, and can be used as a bogus socket pointer, leading to stack-out-of-bounds access in helpers like bpf_skc_to_tcp6_sock(). - SOCK_OPS_GET_FIELD: dst_reg retains the ctx pointer which the verifier believes is a SCALAR_VALUE, leaking a kernel pointer. Fix both macros by: - Changing JMP_A(1) to JMP_A(2) in the fullsock path to skip the added instruction. - Adding BPF_MOV64_IMM(si->dst_reg, 0) after the temp register restore in the !fullsock path, placed after the restore because dst_reg == src_reg means we need src_reg intact to read ctx->temp.
    Added Reference https://git.kernel.org/stable/c/10f86a2a5c91fc4c4d001960f1c21abe52545ef6
    Added Reference https://git.kernel.org/stable/c/18e3ffde1822f0b48b1753bf34aa97ce839df1d8
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.