CVE-2026-68458
Received Received - Intake

Buffer Overflow in Linux Kernel binder Driver

Vulnerability report for CVE-2026-68458, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-15

Last updated on: 2026-08-15

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: binder: cache secctx size before release zeroes it binder_transaction() bounds the scatter-gather buffer area with sg_buf_end_offset and subtracts the aligned LSM context size because the secctx is written at the tail of that area. The subtraction reads lsmctx.len, but that field has already been cleared by the time the line runs: security_secid_to_secctx(secid, &lsmctx) /* lsmctx.len set */ lsmctx_aligned_size = ALIGN(lsmctx.len, sizeof(u64)) extra_buffers_size += lsmctx_aligned_size ... security_release_secctx(&lsmctx) /* memset zeroes len */ ... sg_buf_end_offset = sg_buf_offset + extra_buffers_size - ALIGN(lsmctx.len, sizeof(u64)) /* ALIGN(0,8) */ security_release_secctx() does memset(cp, 0, sizeof(*cp)), so lsmctx.len reads back as 0 and the subtraction contributes nothing, leaving sg_buf_end_offset too large by the aligned secctx size on every transaction to a txn_security_ctx node. Each BINDER_TYPE_PTR object then derives buf_left = sg_buf_end_offset - sg_buf_offset as the sole upper bound on its copy, so the inflated end offset lets the copy run into the bytes that already hold the secctx. The aligned size must therefore be cached before release rather than re-read from the now-cleared field. Fix by caching it in lsmctx_aligned_size at function scope when it is first computed and subtracting lsmctx_aligned_size instead of re-reading lsmctx.len after release. Reuse the same value for the earlier buf_offset computation.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-15
Last Modified
2026-08-15
Generated
2026-08-15
AI Q&A
2026-08-15
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a flaw in the binder_transaction() function where the security context size is incorrectly calculated due to premature zeroing of the lsmctx.len field. The secctx size is subtracted after it has been cleared, causing sg_buf_end_offset to be too large. This allows buffer overflows during transactions to txn_security_ctx nodes.

Detection Guidance

This vulnerability is specific to the Linux kernel's binder driver and requires kernel-level inspection. Detection involves checking kernel logs for binder-related errors or examining the kernel source code for the described issue. Commands like dmesg or journalctl may show errors, but no direct detection commands are provided in the context.

Impact Analysis

This vulnerability could allow local attackers to cause memory corruption or execute arbitrary code in the kernel. It may lead to system crashes, privilege escalation, or unauthorized access to sensitive data on affected Linux systems.

Mitigation Strategies

Apply the kernel patch that fixes the binder_transaction() function by caching lsmctx_aligned_size before security_release_secctx() clears lsmctx.len. Update to a patched kernel version if available. Monitor vendor advisories for updates.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-68458. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart