In the Linux kernel, the following vulnerability has been resolved:
i915/perf: Fix NULL deref bugs with drm_dbg() calls
When i915 perf interface is not available dereferencing it will lead to NULL dereferences.
As returning -ENOTSUPP is pretty clear return when perf interface is not available.
[tursulin: added stable tag] (cherry picked from commit 36f27350ff745bd228ab04d7845dfbffc177a889)
[
{
"id": "CVE-2023-52788-0669e347",
"target": {
"function": "i915_perf_open_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1566e8be73fd5fa424e88d2a4cffdc34f970f0e1",
"digest": {
"length": 774.0,
"function_hash": "39803591745573413985435070441233424994"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-1fd1d954",
"target": {
"function": "i915_perf_remove_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1566e8be73fd5fa424e88d2a4cffdc34f970f0e1",
"digest": {
"length": 1066.0,
"function_hash": "150849417489783377725586020660916843022"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-25b9168f",
"target": {
"function": "i915_perf_remove_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@471aa951bf1206d3c10d0daa67005b8e4db4ff83",
"digest": {
"length": 1066.0,
"function_hash": "150849417489783377725586020660916843022"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-2ab45c44",
"target": {
"function": "i915_perf_open_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10f49cdfd5fb342a1a9641930dc040c570694e98",
"digest": {
"length": 828.0,
"function_hash": "274173887369226259084024731026776122120"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-2aef4041",
"target": {
"function": "i915_perf_add_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55db76caa782baa4a1bf02296e2773c38a524a3e",
"digest": {
"length": 3442.0,
"function_hash": "289538558426582549911107341449285083028"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-2d12b466",
"target": {
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10f49cdfd5fb342a1a9641930dc040c570694e98",
"digest": {
"line_hashes": [
"71527168617776798405946952108326347996",
"14094908798049309233480166545843173256",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"33442881635764115252721878676006140936",
"327224021966489443362640255849186289193",
"165458546055577239386357718397629620605",
"267013599994579958586019608423860277677",
"247101072321711641723745692731271094750",
"318611044320977666782425558377653808190",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"278138509453267802410106609756940723825",
"52464277868164859437696589782191281326",
"31593462688306947655727208734617798796",
"157851078478097778302835448501812549719",
"135360669902939000907341920342998800603",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"225822029947220365062862715748608672777",
"223086333215593652831131038311048034402",
"339679231937815108597055809326652091584"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52788-3992293f",
"target": {
"function": "i915_perf_open_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf8e105030083e7b71591cdf437e464bcd8a0c09",
"digest": {
"length": 828.0,
"function_hash": "274173887369226259084024731026776122120"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-463a878b",
"target": {
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55db76caa782baa4a1bf02296e2773c38a524a3e",
"digest": {
"line_hashes": [
"71527168617776798405946952108326347996",
"14094908798049309233480166545843173256",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"33442881635764115252721878676006140936",
"327224021966489443362640255849186289193",
"165458546055577239386357718397629620605",
"267013599994579958586019608423860277677",
"247101072321711641723745692731271094750",
"318611044320977666782425558377653808190",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"278138509453267802410106609756940723825",
"52464277868164859437696589782191281326",
"31593462688306947655727208734617798796",
"157851078478097778302835448501812549719",
"135360669902939000907341920342998800603",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"225822029947220365062862715748608672777",
"223086333215593652831131038311048034402",
"339679231937815108597055809326652091584"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52788-4f6a09f6",
"target": {
"function": "i915_perf_remove_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf8e105030083e7b71591cdf437e464bcd8a0c09",
"digest": {
"length": 1066.0,
"function_hash": "150849417489783377725586020660916843022"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-60f51c96",
"target": {
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf8e105030083e7b71591cdf437e464bcd8a0c09",
"digest": {
"line_hashes": [
"71527168617776798405946952108326347996",
"14094908798049309233480166545843173256",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"33442881635764115252721878676006140936",
"327224021966489443362640255849186289193",
"165458546055577239386357718397629620605",
"267013599994579958586019608423860277677",
"247101072321711641723745692731271094750",
"318611044320977666782425558377653808190",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"278138509453267802410106609756940723825",
"52464277868164859437696589782191281326",
"31593462688306947655727208734617798796",
"157851078478097778302835448501812549719",
"135360669902939000907341920342998800603",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"225822029947220365062862715748608672777",
"223086333215593652831131038311048034402",
"339679231937815108597055809326652091584"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52788-833840f3",
"target": {
"function": "i915_perf_add_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@471aa951bf1206d3c10d0daa67005b8e4db4ff83",
"digest": {
"length": 3442.0,
"function_hash": "289538558426582549911107341449285083028"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-93ef2bde",
"target": {
"function": "i915_perf_open_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@471aa951bf1206d3c10d0daa67005b8e4db4ff83",
"digest": {
"length": 828.0,
"function_hash": "274173887369226259084024731026776122120"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-bcadd6b8",
"target": {
"function": "i915_perf_add_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf8e105030083e7b71591cdf437e464bcd8a0c09",
"digest": {
"length": 3442.0,
"function_hash": "289538558426582549911107341449285083028"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-bdd1925a",
"target": {
"function": "i915_perf_open_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55db76caa782baa4a1bf02296e2773c38a524a3e",
"digest": {
"length": 774.0,
"function_hash": "39803591745573413985435070441233424994"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-c1a7dd58",
"target": {
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@471aa951bf1206d3c10d0daa67005b8e4db4ff83",
"digest": {
"line_hashes": [
"71527168617776798405946952108326347996",
"14094908798049309233480166545843173256",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"33442881635764115252721878676006140936",
"327224021966489443362640255849186289193",
"165458546055577239386357718397629620605",
"267013599994579958586019608423860277677",
"247101072321711641723745692731271094750",
"318611044320977666782425558377653808190",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"278138509453267802410106609756940723825",
"52464277868164859437696589782191281326",
"31593462688306947655727208734617798796",
"157851078478097778302835448501812549719",
"135360669902939000907341920342998800603",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"225822029947220365062862715748608672777",
"223086333215593652831131038311048034402",
"339679231937815108597055809326652091584"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52788-d8f71cd1",
"target": {
"function": "i915_perf_remove_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10f49cdfd5fb342a1a9641930dc040c570694e98",
"digest": {
"length": 1066.0,
"function_hash": "150849417489783377725586020660916843022"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-e164684b",
"target": {
"function": "i915_perf_add_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10f49cdfd5fb342a1a9641930dc040c570694e98",
"digest": {
"length": 3442.0,
"function_hash": "289538558426582549911107341449285083028"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-ebecb5e6",
"target": {
"function": "i915_perf_add_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1566e8be73fd5fa424e88d2a4cffdc34f970f0e1",
"digest": {
"length": 3442.0,
"function_hash": "289538558426582549911107341449285083028"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-f0525caa",
"target": {
"function": "i915_perf_remove_config_ioctl",
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55db76caa782baa4a1bf02296e2773c38a524a3e",
"digest": {
"length": 1066.0,
"function_hash": "150849417489783377725586020660916843022"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52788-f67cd42b",
"target": {
"file": "drivers/gpu/drm/i915/i915_perf.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1566e8be73fd5fa424e88d2a4cffdc34f970f0e1",
"digest": {
"line_hashes": [
"71527168617776798405946952108326347996",
"14094908798049309233480166545843173256",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"33442881635764115252721878676006140936",
"327224021966489443362640255849186289193",
"165458546055577239386357718397629620605",
"267013599994579958586019608423860277677",
"247101072321711641723745692731271094750",
"318611044320977666782425558377653808190",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"278138509453267802410106609756940723825",
"52464277868164859437696589782191281326",
"31593462688306947655727208734617798796",
"157851078478097778302835448501812549719",
"135360669902939000907341920342998800603",
"315482694266870204147618045323458802483",
"41781540677246967904717549075184481579",
"283514680273899473532410674420212349573",
"225822029947220365062862715748608672777",
"223086333215593652831131038311048034402",
"339679231937815108597055809326652091584"
],
"threshold": 0.9
},
"signature_type": "Line"
}
]