In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Fix null pointer dereference of pointer perfmon
In the unlikely event that pointer perfmon is null the WARN_ON return path occurs after the pointer has already been deferenced. Fix this by only dereferencing perfmon after it has been null checked.
{ "vanir_signatures": [ { "signature_version": "v1", "id": "CVE-2022-49485-0cbe0df0", "digest": { "threshold": 0.9, "line_hashes": [ "196108096933611292333615248399442114117", "129025711522807088510798240914560060850", "270435030662678058375837076182297116809", "254714353749138810018489006452476032820", "177635368843516299946136643312820760989", "13104680426887415927328838977195159242" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4be045434923e549a50846a066a04b7b6c1d6d33", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/v3d/v3d_perfmon.c" } }, { "signature_version": "v1", "id": "CVE-2022-49485-172c9771", "digest": { "length": 806.0, "function_hash": "213490635899608581905517257330794230874" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1df8f8901babcc8c8eea2c067179e455b5c828fd", "signature_type": "Function", "target": { "function": "v3d_perfmon_start", "file": "drivers/gpu/drm/v3d/v3d_perfmon.c" } }, { "signature_version": "v1", "id": "CVE-2022-49485-494fe661", "digest": { "length": 806.0, "function_hash": "213490635899608581905517257330794230874" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b72deb784a7d4ae8519a5c584cd87c4b57aa6c8", "signature_type": "Function", "target": { "function": "v3d_perfmon_start", "file": "drivers/gpu/drm/v3d/v3d_perfmon.c" } }, { "signature_version": "v1", "id": "CVE-2022-49485-54d6a89f", "digest": { "threshold": 0.9, "line_hashes": [ "196108096933611292333615248399442114117", "129025711522807088510798240914560060850", "270435030662678058375837076182297116809", "254714353749138810018489006452476032820", "177635368843516299946136643312820760989", "13104680426887415927328838977195159242" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce7a1ecf3f9f1fccaf67295307614511d8e11b13", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/v3d/v3d_perfmon.c" } }, { "signature_version": "v1", "id": "CVE-2022-49485-76f93465", "digest": { "threshold": 0.9, "line_hashes": [ "196108096933611292333615248399442114117", "129025711522807088510798240914560060850", "270435030662678058375837076182297116809", "254714353749138810018489006452476032820", "177635368843516299946136643312820760989", "13104680426887415927328838977195159242" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b72deb784a7d4ae8519a5c584cd87c4b57aa6c8", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/v3d/v3d_perfmon.c" } }, { "signature_version": "v1", "id": "CVE-2022-49485-b260a963", "digest": { "length": 806.0, "function_hash": "213490635899608581905517257330794230874" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4be045434923e549a50846a066a04b7b6c1d6d33", "signature_type": "Function", "target": { "function": "v3d_perfmon_start", "file": "drivers/gpu/drm/v3d/v3d_perfmon.c" } }, { "signature_version": "v1", "id": "CVE-2022-49485-ccf6d7bc", "digest": { "length": 806.0, "function_hash": "213490635899608581905517257330794230874" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce7a1ecf3f9f1fccaf67295307614511d8e11b13", "signature_type": "Function", "target": { "function": "v3d_perfmon_start", "file": "drivers/gpu/drm/v3d/v3d_perfmon.c" } }, { "signature_version": "v1", "id": "CVE-2022-49485-cea67666", "digest": { "threshold": 0.9, "line_hashes": [ "196108096933611292333615248399442114117", "129025711522807088510798240914560060850", "270435030662678058375837076182297116809", "254714353749138810018489006452476032820", "177635368843516299946136643312820760989", "13104680426887415927328838977195159242" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1df8f8901babcc8c8eea2c067179e455b5c828fd", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/v3d/v3d_perfmon.c" } } ] }