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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d4bf06592ad68ac4353a81c73e8e662cf88aa2cc to < ed48f8b0ec58dd970acb5ab8cedb29f11dd8a576affectedd4bf06592ad68ac4353a81c73e8e662cf88aa2cc to < f2bc9dc41b5a4ce5fd535e50d8bc31cfd3130be7affectedd4bf06592ad68ac4353a81c73e8e662cf88aa2cc to < 28b9c15f1829fff7b26db0dbbbde1c6b466cb156affected
Linux Linux
Default version status: affected
6.18affected0 to < 6.18unaffected6.18.63 to ≤ 6.18.*unaffected7.3.4 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected