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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Ubuntu | — | Upgrade linux-image-7.0.0-1014-gcp-64kUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-7.0.0-1015-ibmUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-7.0.0-1014-gcpUpgrade linux-image-oem-7.0Upgrade linux-image-7.0.0-1014-awsUpgrade linux-image-7.0.0-38-genericUpgrade linux-image-ibmUpgrade linux-image-oracle-7.0Upgrade linux-image-generic-hwe-26.04Upgrade linux-image-oracle-64kUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-gke-64k-7.0Upgrade linux-image-azure-fdeUpgrade linux-image-gcpUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-generic-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-7.0.0-38-generic-64kUpgrade linux-image-azureUpgrade linux-image-7.0.0-1008-gkeUpgrade linux-image-7.0.0-1008-gke-64kUpgrade linux-image-awsUpgrade linux-image-gke-64kUpgrade linux-image-gcp-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-realtimeUpgrade linux-image-genericUpgrade linux-image-gke-7.0Upgrade linux-image-gkeUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-gcp-64kUpgrade linux-image-generic-64kUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1017-azureUpgrade linux-image-realtime-64kUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-oem-26.04aUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-azure-lts-26.04Upgrade linux-image-ibm-7.0Upgrade linux-image-7.0.0-1014-aws-64kUpgrade linux-image-7.0.0-1013-oracle-64kUpgrade linux-image-7.0.0-1013-oracleUpgrade linux-image-virtual-7.0Upgrade linux-image-realtime-7.0Upgrade linux-image-7.0.0-1015-oemUpgrade linux-image-7.0.0-38-realtimeUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-oracleUpgrade linux-image-generic-64k-7.0Upgrade linux-image-azure-fde-lts-26.04Upgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-38-realtime-64kUpgrade linux-image-virtualUpgrade linux-image-azure-fde-7.0Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-7.0.0-1016-azure-fdeUpgrade linux-image-aws-7.0 | Oct 7, 2026 | Oct 6, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub