soc: qcom: geni-se: Fix write to read-only firmware buffer
Summary
| CVE | CVE-2026-139062 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:13 UTC |
| Updated | 2026-11-30 14:18:13 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: geni-se: Fix write to read-only firmware buffer
geni_find_protocol_fw() casts fw->data to a non-const struct se_fw_hdr
pointer and writes back the rounded-up fw_size value:
sefw->fw_size_in_items = cpu_to_le16(fw_size);
The firmware subsystem maps the firmware blob read-only. Writing through
the cast pointer causes a level-3 permission fault on AArch64 and
crashes the kernel during driver probe.
The write-back is no longer necessary: geni_find_protocol_fw() now
propagates the rounded size to the caller via fw_size_out. Remove the
write-back and make sefw (and the hdr pointer in the caller)
const-correct. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected d4bf06592ad68ac4353a81c73e8e662cf88aa2cc ed48f8b0ec58dd970acb5ab8cedb29f11dd8a576 git |
Not specified |
| CNA |
Linux |
Linux |
affected d4bf06592ad68ac4353a81c73e8e662cf88aa2cc f2bc9dc41b5a4ce5fd535e50d8bc31cfd3130be7 git |
Not specified |
| CNA |
Linux |
Linux |
affected d4bf06592ad68ac4353a81c73e8e662cf88aa2cc 28b9c15f1829fff7b26db0dbbbde1c6b466cb156 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.18 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/28b9c15f1829fff7b26db0dbbbde1c6b466cb156 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f2bc9dc41b5a4ce5fd535e50d8bc31cfd3130be7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/ed48f8b0ec58dd970acb5ab8cedb29f11dd8a576 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.