{"id":"CVE-2026-142863","summary":"soc: qcom: geni-se: Fix fw_end computed before round-up; propagate size to caller","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: geni-se: Fix fw_end computed before round-up; propagate size to caller\n\nfw_end was computed from the raw fw_size_in_items, before the odd-word\nround-up. A segment with an odd word count could pass the bounds check\nat the unrounded value but then be copied one word past the validated\nlimit. Move fw_end (and the cfg_{idx,val}_end) calculations to after\nthe round-up so they always reflect the true copy extent.\n\nThe caller geni_load_se_fw() re-read hdr-\u003efw_size_in_items for the\nmemcpy_toio() length, bypassing the validated and rounded value\nestablished by geni_find_protocol_fw(). Add a fw_size_out output\nparameter and use it in the caller.","modified":"2026-12-03T05:01:00.568722795Z","published":"2026-12-03T03:21:04.547Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142863.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8337359748cc070e0c95bcc544b17762b066bd7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb6277d4f59e2e91fb236cbece000dc0ba3c443c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1750c530e9b9b75c8d1b29d3c76e052a049f51f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142863.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142863"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d4bf06592ad68ac4353a81c73e8e662cf88aa2cc"},{"fixed":"bb6277d4f59e2e91fb236cbece000dc0ba3c443c"},{"fixed":"8337359748cc070e0c95bcc544b17762b066bd7e"},{"fixed":"d1750c530e9b9b75c8d1b29d3c76e052a049f51f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142863.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-142863.json"}}],"schema_version":"1.9.2"}