{"id":"CVE-2026-139062","summary":"soc: qcom: geni-se: Fix write to read-only firmware buffer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: geni-se: Fix write to read-only firmware buffer\n\ngeni_find_protocol_fw() casts fw-\u003edata to a non-const struct se_fw_hdr\npointer and writes back the rounded-up fw_size value:\n\n        sefw-\u003efw_size_in_items = cpu_to_le16(fw_size);\n\nThe firmware subsystem maps the firmware blob read-only. Writing through\nthe cast pointer causes a level-3 permission fault on AArch64 and\ncrashes the kernel during driver probe.\n\nThe write-back is no longer necessary: geni_find_protocol_fw() now\npropagates the rounded size to the caller via fw_size_out. Remove the\nwrite-back and make sefw (and the hdr pointer in the caller)\nconst-correct.","modified":"2026-12-01T21:02:36.236086426Z","published":"2026-11-30T13:27:30.872Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139062.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/28b9c15f1829fff7b26db0dbbbde1c6b466cb156"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed48f8b0ec58dd970acb5ab8cedb29f11dd8a576"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2bc9dc41b5a4ce5fd535e50d8bc31cfd3130be7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139062.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139062"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d4bf06592ad68ac4353a81c73e8e662cf88aa2cc"},{"fixed":"ed48f8b0ec58dd970acb5ab8cedb29f11dd8a576"},{"fixed":"f2bc9dc41b5a4ce5fd535e50d8bc31cfd3130be7"},{"fixed":"28b9c15f1829fff7b26db0dbbbde1c6b466cb156"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139062.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139062.json"}}],"schema_version":"1.9.2"}