CVE-2023-53653: media: amphion: fix REVERSE_INULL issues reported by coverity
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
media: amphion: fix REVERSE_INULL issues reported by coverity
null-checking of a pointor is suggested before dereferencing it
The Linux kernel CVE team has assigned CVE-2023-53653 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.18 with commit 9f599f351e86acf0fc13e42771f97b7fb4dbbea4 and fixed in 6.1.53 with commit bddd678fd2864b435d00d51a4d3808a0d89c79de Issue introduced in 5.18 with commit 9f599f351e86acf0fc13e42771f97b7fb4dbbea4 and fixed in 6.4.16 with commit e59d0cd8f414592187ead97b5832600ff7a0dd61 Issue introduced in 5.18 with commit 9f599f351e86acf0fc13e42771f97b7fb4dbbea4 and fixed in 6.5.3 with commit ef56b2db216f130c4240aed907d1c5272c2d298d Issue introduced in 5.18 with commit 9f599f351e86acf0fc13e42771f97b7fb4dbbea4 and fixed in 6.6 with commit 79d3bafaecc13bccab1ebbd28a15e669c5a4cdaf
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53653
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/media/platform/amphion/venc.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/bddd678fd2864b435d00d51a4d3808a0d89c79de https://git.kernel.org/stable/c/e59d0cd8f414592187ead97b5832600ff7a0dd61 https://git.kernel.org/stable/c/ef56b2db216f130c4240aed907d1c5272c2d298d https://git.kernel.org/stable/c/79d3bafaecc13bccab1ebbd28a15e669c5a4cdaf