CVE-2026-139062

soc: qcom: geni-se: Fix write to read-only firmware buffer

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in the Linux kernel allows code to write to a read‑only firmware buffer through a cast that treats a const pointer as mutable. During driver probe this write triggers a level‑3 permission fault on AArch64, causing the kernel to crash. The effect is a denial of service at the kernel level, potentially halting the entire system until reboot.

Affected Systems

This issue affects Linux kernel images that include the Qualcomm Geni SE subsystem. No product version number is supplied, but any kernel that contains the pre‑patch implementation of geni_find_protocol_fw() is vulnerable. Devices using this subsystem – such as smartphones, tablets or embedded platforms that incorporate Qualcomm hardware – could be impacted.

Risk and Exploitability

The fault is triggered automatically when the driver is probed and a firmware blob is mapped as read‑only. An attacker would generally need local privileges or access to a boot‑time firmware load to exploit it, which limits the attack surface compared to publicly exploitable code. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no known active exploitation. Nonetheless, any kernel crash can be disruptive, so the risk is moderate for affected systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that incorporates the commit fixing the read‑only firmware buffer write.
  • If an upgrade is not possible, disable the Geni SE firmware loading path or hard‑enforce read‑only mapping until the patch is applied.
  • Verify that all firmware images are signed and validated before loading, and monitor kernel logs for any fatal faults that may indicate a crash.

Generated by OpenCVE AI on November 30, 2026 at 18:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-284
CWE-704
Type Values Removed Values Added
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.
Title soc: qcom: geni-se: Fix write to read-only firmware buffer
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-704

    Incorrect Type Conversion or Cast

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:27 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM