CVE-2026-68458
Last modified
CVE-2026-68458 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50, < 1228926e1e4d605cc74d9e675558982a6f2cf446; >= 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50, < 4257f45ee1fddd0558e77b62af8bb63fd87b2162; >= 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50, < b34826e55aad3520ec813f1f367c11b24b29dc9f |
| Linux | Linux | 6.14 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-68458?
How severe is CVE-2026-68458?
How do I fix CVE-2026-68458?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-68452In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-68453In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-68454In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-68455In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68456In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68457In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2026-68459In the Linux kernel, the following vulnerability has been re…
- CVE-2026-6846A flaw was found in binutils. A heap-buffer-overflow vulnera…7.8
- CVE-2026-68460In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68461In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-68462In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-68463In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-68458?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
