In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Skip wbsclsetscaler_filter if filter is null
Callers can pass null in filter (i.e. from returned from the function wbsclgetfiltercoeffs16p) and a null check is added to ensure that is not the case.
This fixes 4 NULL_RETURNS issues reported by Coverity.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97114131977546170988052189738374820391",
"323094505121832158043977142790800827485",
"229901551488821352382885042641422189333"
]
},
"id": "CVE-2024-46714-3ac48491",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54834585e91cab13e9f82d3a811deb212a4df786",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 738.0,
"function_hash": "131524028644105888641304212637747542164"
},
"id": "CVE-2024-46714-4b594258",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d94c05a13fadd80c3e732f14c83b2632ebfaa50",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c",
"function": "wbscl_set_scaler_filter"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 738.0,
"function_hash": "131524028644105888641304212637747542164"
},
"id": "CVE-2024-46714-52c13cae",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54834585e91cab13e9f82d3a811deb212a4df786",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c",
"function": "wbscl_set_scaler_filter"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97114131977546170988052189738374820391",
"323094505121832158043977142790800827485",
"229901551488821352382885042641422189333"
]
},
"id": "CVE-2024-46714-59c03e80",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d94c05a13fadd80c3e732f14c83b2632ebfaa50",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 738.0,
"function_hash": "131524028644105888641304212637747542164"
},
"id": "CVE-2024-46714-5b9653f9",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e3a95f29647ae45d1ec9541cd7df64f40bf2120a",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c",
"function": "wbscl_set_scaler_filter"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97114131977546170988052189738374820391",
"323094505121832158043977142790800827485",
"229901551488821352382885042641422189333"
]
},
"id": "CVE-2024-46714-5d4b86ff",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e3a95f29647ae45d1ec9541cd7df64f40bf2120a",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97114131977546170988052189738374820391",
"323094505121832158043977142790800827485",
"229901551488821352382885042641422189333"
]
},
"id": "CVE-2024-46714-77ed4dfb",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c083c8be6bdd046049884bec076660d4ec9a19ca",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97114131977546170988052189738374820391",
"323094505121832158043977142790800827485",
"229901551488821352382885042641422189333"
]
},
"id": "CVE-2024-46714-7a1367d8",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1726914cb17cedab233820d26b86764dc08857b4",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97114131977546170988052189738374820391",
"323094505121832158043977142790800827485",
"229901551488821352382885042641422189333"
]
},
"id": "CVE-2024-46714-7eb4aa73",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4d31653c03b90e51515b1380115d1aedad925dd",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 738.0,
"function_hash": "131524028644105888641304212637747542164"
},
"id": "CVE-2024-46714-95e51ff8",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4d31653c03b90e51515b1380115d1aedad925dd",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c",
"function": "wbscl_set_scaler_filter"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97114131977546170988052189738374820391",
"323094505121832158043977142790800827485",
"229901551488821352382885042641422189333"
]
},
"id": "CVE-2024-46714-9f75157f",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0364f1f17a86d89dc39040beea4f099e60189f1b",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 738.0,
"function_hash": "131524028644105888641304212637747542164"
},
"id": "CVE-2024-46714-d22c2eed",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1726914cb17cedab233820d26b86764dc08857b4",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c",
"function": "wbscl_set_scaler_filter"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 738.0,
"function_hash": "131524028644105888641304212637747542164"
},
"id": "CVE-2024-46714-f509207c",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c083c8be6bdd046049884bec076660d4ec9a19ca",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c",
"function": "wbscl_set_scaler_filter"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 738.0,
"function_hash": "131524028644105888641304212637747542164"
},
"id": "CVE-2024-46714-f630d88f",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0364f1f17a86d89dc39040beea4f099e60189f1b",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c",
"function": "wbscl_set_scaler_filter"
}
}
]