CVE-2026-68458
published high CVSS 3.1 · 7.8binder: cache secctx size before release zeroes it
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6fba89813ccf333d2bc4d5caea04cd5f3c39eb50 to < 1228926e1e4d605cc74d9e675558982a6f2cf446 · 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50 to < 4257f45ee1fddd0558e77b62af8bb63fd87b2162 · 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50 to < b34826e55aad3520ec813f1f367c11b24b29dc9f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2071 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-cloud-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-headers-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-headers-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-headers-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-headers-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-headers-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-headers-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-lib-rust-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-modules-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-modules-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1024 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1024 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1013 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1013 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-tools-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-tools-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-tools-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-tools-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-tools-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-tools-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-38.38 | USN-8887-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-38.38 | USN-8887-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1014.14 | USN-8887-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8887-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only through binder IPC via ioctl(BINDER_WRITE_READ) on /dev/binder or binderfs with BC_TRANSACTION/BC_TRANSACTION_SG, requiring local access to the binder device; there is no network, Bluetooth, or physical bus path to binder_transaction(). AC:L - This is a deterministic logic error, not a race: on every transaction to a txn_security_ctx node, security_release_secctx() zeroes lsmctx.len before sg_buf_end_offset is computed, so the attacker reliably gains extra scatter-gather space by crafting BINDER_TYPE_PTR objects. PR:L - binder_open() has no capability check; on Android any untrusted_app can open /dev/binder and send transactions, and on other systems binderfs is mountable from user namespaces, so only basic local user access is required—not real root. UI:N - Exploitation is driven entirely by the attacker's own binder client sending a crafted transaction; no victim user action such as opening a file, mounting a filesystem, or approving a prompt is required. S:U - Impact is overwriting kernel-managed LSM security context data within a binder transaction buffer to spoof caller identity for privilege escalation; this is standard local kernel/Android sandbox bypass, not a VM, hypervisor, or IOMMU boundary crossing. C:H - The inflated sg_buf_end_offset permits scatter-gather copies to overwrite the kernel-written secctx region—an out-of-bounds write relative to the intended SG boundary that can forge sender SELinux labels seen by privileged receivers, enabling unauthorized data access. I:H - Attacker-controlled user data from BINDER_TYPE_PTR copies overwrite the kernel-placed LSM security context string in the transaction buffer, directly corrupting integrity of trusted caller-identity metadata used for authorization decisions by privileged binder services. A:H - Kernel transaction-buffer corruption delivered to privileged Android framework/system services can crash critical binder receivers or destabilize the device; per kernel CVSS guidance, out-of-bounds writes and memory corruption in kernel IPC paths warrant High availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6fba89813ccf333d2bc4d5caea04cd5f3c39eb50 to < 1228926e1e4d605cc74d9e675558982a6f2cf446 (affected · git)6fba89813ccf333d2bc4d5caea04cd5f3c39eb50 to < 4257f45ee1fddd0558e77b62af8bb63fd87b2162 (affected · git)6fba89813ccf333d2bc4d5caea04cd5f3c39eb50 to < b34826e55aad3520ec813f1f367c11b24b29dc9f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
binder: cache secctx size before release zeroes it
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 023de9a4ac805b0eab681801203689f756b1e699a49ae0f9d79a12000e6a5b3d
- Ingested
- 23 Sep 2026, 09:27:38 UTC
- Source record
- Official CVE record