{"schema_version":"1.9.0","id":"CVE-2022-50509","published":"2025-10-07T15:19:06.661Z","modified":"2026-08-12T03:51:16.533962320Z","related":["SUSE-SU-2025:4111-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4189-1","SUSE-SU-2025:4320-1"],"summary":"media: coda: Add check for kmalloc","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: coda: Add check for kmalloc\n\nAs the kmalloc may return NULL pointer,\nit should be better to check the return value\nin order to avoid NULL poineter dereference,\nsame as the others.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cb1d3a336371e35c3920cc50a701c5403c255644"},{"fixed":"d308c4a035b636756786af91e5f39f9d92d7d42a"},{"fixed":"11e32126b3e56c3156fb610d793732acd2bdac4f"},{"fixed":"ba9cc9e2035f7a45f5222543265daf7cd51f2530"},{"fixed":"7a2c66429b04e85fee44d6d9f455327bf23cf49c"},{"fixed":"d9b37ea8869e4e6da90c07a310d819a78cbd23d2"},{"fixed":"441c05485cf1a29eef05c1fd8281716815283315"},{"fixed":"aa17a252dbde432095e390e2092205d4debb12e1"},{"fixed":"0209e70ad496c1fcd85c2ec70e6736fd09f95d14"},{"fixed":"6e5e5defdb8b0186312c2f855ace175aee6daf9b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50509.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.19.0"},{"fixed":"4.9.337"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.303"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50509.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0209e70ad496c1fcd85c2ec70e6736fd09f95d14"},{"type":"WEB","url":"https://git.kernel.org/stable/c/11e32126b3e56c3156fb610d793732acd2bdac4f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/441c05485cf1a29eef05c1fd8281716815283315"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e5e5defdb8b0186312c2f855ace175aee6daf9b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a2c66429b04e85fee44d6d9f455327bf23cf49c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa17a252dbde432095e390e2092205d4debb12e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba9cc9e2035f7a45f5222543265daf7cd51f2530"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d308c4a035b636756786af91e5f39f9d92d7d42a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d9b37ea8869e4e6da90c07a310d819a78cbd23d2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50509.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50509"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50509.json"}}