Linux
media: venus: hfi_parser: refactor hfi packet parsing logic
In the Linux kernel, the following vulnerability has been resolved: media: venus: hfi_parser: refactor hfi packet parsing logic words_count denotes the number of words in total payload, while data points to payload of various property within it. When words_count reaches last word, data can access memory beyond the total payload. This can lead to OOB access. With this patch, the utility api for handling individual properties now returns the size of data consumed. Accordingly remaining bytes are calculated before parsing the payload, thereby eliminates the OOB access possibilities.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1a73374a04e555103e5369429a30999114001dda, < 0beabe9b49190a02321b02792b29fc0f0e28b51f
- >= 1a73374a04e555103e5369429a30999114001dda, < f195e94c7af921d99abd79f57026a218d191d2c7
- >= 1a73374a04e555103e5369429a30999114001dda, < 0f9a4bab7d83738963365372e4745854938eab2d
- >= 1a73374a04e555103e5369429a30999114001dda, < 05b07e52a0d08239147ba3460045855f4fb398de
- >= 1a73374a04e555103e5369429a30999114001dda, < bb3fd8b7906a12dc2b61389abb742bf6542d97fb
- >= 1a73374a04e555103e5369429a30999114001dda, < a736c72d476d1c7ca7be5018f2614ee61168ad01
- >= 1a73374a04e555103e5369429a30999114001dda, < 6d278c5548d840c4d85d445347b2a5c31b2ab3a0
- >= 1a73374a04e555103e5369429a30999114001dda, < 9edaaa8e3e15aab1ca413ab50556de1975bcb329
Fixed in 0beabe9b49190a02321b02792b29fc0f0e28b51f, f195e94c7af921d99abd79f57026a218d191d2c7, 0f9a4bab7d83738963365372e4745854938eab2d, 05b07e52a0d08239147ba3460045855f4fb398de, bb3fd8b7906a12dc2b61389abb742bf6542d97fb, a736c72d476d1c7ca7be5018f2614ee61168ad01, 6d278c5548d840c4d85d445347b2a5c31b2ab3a0, 9edaaa8e3e15aab1ca413ab50556de1975bcb329
- 4.19
Fixed in 0, 5.10.237, 5.15.181, 6.1.135, 6.6.88, 6.12.24, 6.13.12, 6.14.3, 6.15
Mitigation
Upgrade Linux to 0beabe9b49190a02321b02792b29fc0f0e28b51f or f195e94c7af921d99abd79f57026a218d191d2c7 or 0f9a4bab7d83738963365372e4745854938eab2d or 05b07e52a0d08239147ba3460045855f4fb398de or bb3fd8b7906a12dc2b61389abb742bf6542d97fb or a736c72d476d1c7ca7be5018f2614ee61168ad01 or 6d278c5548d840c4d85d445347b2a5c31b2ab3a0 or 9edaaa8e3e15aab1ca413ab50556de1975bcb329 or later.
Upgrade Linux to 0 or 5.10.237 or 5.15.181 or 6.1.135 or 6.6.88 or 6.12.24 or 6.13.12 or 6.14.3 or 6.15 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.