CVE-2026-68458: binder: cache secctx size before release zeroes it

Published Aug 15, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

binder: cache secctx size before release zeroes it

bindertransaction() bounds the scatter-gather buffer area with sgbufendoffset 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:

securitysecidtosecctx(secid, &lsmctx) / lsmctx.len set / lsmctxalignedsize = ALIGN(lsmctx.len, sizeof(u64)) extrabufferssize += lsmctxalignedsize ... securityreleasesecctx(&lsmctx) / memset zeroes len / ... sgbufendoffset = sgbufoffset + extrabufferssize - ALIGN(lsmctx.len, sizeof(u64)) / ALIGN(0,8) /

securityreleasesecctx() does memset(cp, 0, sizeof(cp)), so lsmctx.len reads back as 0 and the subtraction contributes nothing, leaving sgbufendoffset too large by the aligned secctx size on every transaction to a txnsecurityctx node.

Each BINDERTYPEPTR object then derives bufleft = sgbufendoffset - sgbufoffset 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 lsmctxalignedsize at function scope when it is first computed and subtracting lsmctxalignedsize instead of re-reading lsmctx.len after release. Reuse the same value for the earlier bufoffset computation.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 15, 2026
CVE Published
via MITRE·05:51 AM
Data Sourced
via MITRE·05:51 AM
Description
Data Sourced
via NVD·06:18 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68458?

CVE-2026-68458 has a risk rating of 60, indicating a medium severity level.

2

How do I fix CVE-2026-68458?

To fix CVE-2026-68458, update your Linux kernel to the patched version that addresses this vulnerability.

3

What systems are affected by CVE-2026-68458?

CVE-2026-68458 affects versions of the Linux kernel prior to the security update released on August 15, 2026.

4

What are the potential impacts of CVE-2026-68458?

The potential impacts of CVE-2026-68458 include the possibility of unauthorized access or manipulation of the LSM context during binder transactions.

5

Is there a workaround for CVE-2026-68458?

There is no official workaround for CVE-2026-68458; updating the kernel is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203