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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxd4bf06592ad68ac4353a81c73e8e662cf88aa2cc to before ed48f8b0ec58dd970acb5ab8cedb29f11dd8a576 Affectedd4bf06592ad68ac4353a81c73e8e662cf88aa2cc to before f2bc9dc41b5a4ce5fd535e50d8bc31cfd3130be7 Affectedd4bf06592ad68ac4353a81c73e8e662cf88aa2cc to before 28b9c15f1829fff7b26db0dbbbde1c6b466cb156 Affected
Linux Linux6.18 Affectedbefore 6.18 Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.