{"id":"CVE-2022-50509","aliases":["CVE-2022-50509"],"related":[],"kind":"vulnerability","state":"published","title":"media: coda: Add check for kmalloc","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-10-07T15:19:06.661Z","modified":"2026-06-17T05:23:41.507Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"d308c4a035b636756786af91e5f39f9d92d7d42a","status":"affected"},{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"11e32126b3e56c3156fb610d793732acd2bdac4f","status":"affected"},{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"ba9cc9e2035f7a45f5222543265daf7cd51f2530","status":"affected"},{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"7a2c66429b04e85fee44d6d9f455327bf23cf49c","status":"affected"},{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"d9b37ea8869e4e6da90c07a310d819a78cbd23d2","status":"affected"},{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"441c05485cf1a29eef05c1fd8281716815283315","status":"affected"},{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"aa17a252dbde432095e390e2092205d4debb12e1","status":"affected"},{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"0209e70ad496c1fcd85c2ec70e6736fd09f95d14","status":"affected"},{"type":"git","introduced":"cb1d3a336371e35c3920cc50a701c5403c255644","fixed":"6e5e5defdb8b0186312c2f855ace175aee6daf9b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.19","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.19","fixed":"4.9.337"},{"status":"affected","introduced":"4.10","fixed":"4.14.303"},{"status":"affected","introduced":"4.15","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d308c4a035b636756786af91e5f39f9d92d7d42a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11e32126b3e56c3156fb610d793732acd2bdac4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba9cc9e2035f7a45f5222543265daf7cd51f2530","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a2c66429b04e85fee44d6d9f455327bf23cf49c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9b37ea8869e4e6da90c07a310d819a78cbd23d2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/441c05485cf1a29eef05c1fd8281716815283315","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa17a252dbde432095e390e2092205d4debb12e1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0209e70ad496c1fcd85c2ec70e6736fd09f95d14","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e5e5defdb8b0186312c2f855ace175aee6daf9b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50509","url":"https://www.cve.org/CVERecord?id=CVE-2022-50509","licence":"CVE Terms of Use","modified":"2026-05-11T19:20:48.461Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50509","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50509","licence":"Public domain","modified":"2026-06-17T05:23:41.507Z"}],"updatedAt":"2026-11-25T22:58:21.248Z","epss":{"score":0.00163,"percentile":0.05753,"date":"2026-12-01T12:00:22.000Z"}}