VDB

CVE-2026-68458

CVE-2026-68458 PUBLISHED CVSS 7.8 HIGH

binder: cache secctx size before release zeroes it

Reported by linux · Published August 15, 2026

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.

EPSS 0.13% · 2.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extraAmazon Linux1:6.18.41-94.142.amzn2023
perf6.18Amazon Linux1:6.18.41-94.142.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.13%
2.4th percentile

Affected products

VendorProductVersions
LinuxLinux6fba89813ccf333d2bc4d5caea04cd5f3c39eb50, 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50, 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50
LinuxLinux6.14, 0, 6.18.40
amazon:2023kernel6.18-modules-extra0
amazon:2023perf6.180
linuxlinux_kernel6.14, 6.14, 6.14
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.180
amazon:2023kernel6.18-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-headers0
LinuxLinux6fba89813ccf333d2bc4d5caea04cd5f3c39eb50, 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50, 6.14

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 17, 2026 CVE Updated
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (8 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68458
vulnetix vdb fixes CVE-2026-68458

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68458/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›