# CVE-2026-139062: soc: qcom: geni-se: Fix write to read-only firmware buffer

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:30.872Z
- Modified: 2026-11-30T14:18:13.027Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d4bf06592ad68ac4353a81c73e8e662cf88aa2cc before ed48f8b0ec58dd970acb5ab8cedb29f11dd8a576; from d4bf06592ad68ac4353a81c73e8e662cf88aa2cc before f2bc9dc41b5a4ce5fd535e50d8bc31cfd3130be7; from d4bf06592ad68ac4353a81c73e8e662cf88aa2cc before 28b9c15f1829fff7b26db0dbbbde1c6b466cb156; 6.18 (not affected: before 6.18; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/ed48f8b0ec58dd970acb5ab8cedb29f11dd8a576>
- <https://git.kernel.org/stable/c/f2bc9dc41b5a4ce5fd535e50d8bc31cfd3130be7>
- <https://git.kernel.org/stable/c/28b9c15f1829fff7b26db0dbbbde1c6b466cb156>

## Sources

- CVE List: [CVE-2026-139062](https://www.cve.org/CVERecord?id=CVE-2026-139062), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139062](https://nvd.nist.gov/vuln/detail/CVE-2026-139062), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139062 · Whole record: https://cve.day/CVE-2026-139062.json · Rebuilt by cve.day 2026-11-30T14:32:40.294Z
