In the Linux kernel, the following vulnerability has been resolved:
drm/msm/mdp5: Don't leak some plane state
Apparently no one noticed that mdp5 plane states leak like a sieve ever since we introduced plane_state->commit refcount a few years ago in 21a01abbe32a ("drm/atomic: Fix freeing connector/plane state too early by tracking commits, v3.")
Fix it by using the right helpers.
Patchwork: https://patchwork.freedesktop.org/patch/551236/
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd0ad3b2365c1c58aa5a761c18efc4817193beb6",
"id": "CVE-2023-53324-0e2bba75",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225300381133453810152997408809835413074",
"239042335599581218100118565583561516336",
"72899693781999021966959788321531430590",
"228876255991273407740755365144351125455",
"268977988190288284418462542504965904110"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12dfd02cbd1a678fbd66be0c2f79d5299c4921a9",
"id": "CVE-2023-53324-2934f576",
"signature_version": "v1",
"target": {
"function": "mdp5_plane_destroy_state",
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "211836906268884319141731814625874675390",
"length": 159.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12dfd02cbd1a678fbd66be0c2f79d5299c4921a9",
"id": "CVE-2023-53324-370c648d",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225300381133453810152997408809835413074",
"239042335599581218100118565583561516336",
"72899693781999021966959788321531430590",
"228876255991273407740755365144351125455",
"268977988190288284418462542504965904110"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fc11a830b2eb07a0e3c6f917e5e636df6fc5d4c",
"id": "CVE-2023-53324-46839d93",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225300381133453810152997408809835413074",
"239042335599581218100118565583561516336",
"72899693781999021966959788321531430590",
"228876255991273407740755365144351125455",
"268977988190288284418462542504965904110"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b0dd3a102f64996598bd1e8d8388848a7c561bc",
"id": "CVE-2023-53324-504fbe93",
"signature_version": "v1",
"target": {
"function": "mdp5_plane_destroy_state",
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "211836906268884319141731814625874675390",
"length": 159.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0b1eee648702e04f1005d451f9689575b7f52ed",
"id": "CVE-2023-53324-513d9e6e",
"signature_version": "v1",
"target": {
"function": "mdp5_plane_destroy_state",
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "211836906268884319141731814625874675390",
"length": 159.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2965015006ef18ca96d2eab9ebe6bca884c63291",
"id": "CVE-2023-53324-61e2d1f3",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225300381133453810152997408809835413074",
"239042335599581218100118565583561516336",
"72899693781999021966959788321531430590",
"228876255991273407740755365144351125455",
"268977988190288284418462542504965904110"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8a61df6f40448cf46611f7af05b00970d08d620",
"id": "CVE-2023-53324-6f17fd6c",
"signature_version": "v1",
"target": {
"function": "mdp5_plane_destroy_state",
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "211836906268884319141731814625874675390",
"length": 159.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8a61df6f40448cf46611f7af05b00970d08d620",
"id": "CVE-2023-53324-82d5aed4",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225300381133453810152997408809835413074",
"239042335599581218100118565583561516336",
"72899693781999021966959788321531430590",
"228876255991273407740755365144351125455",
"268977988190288284418462542504965904110"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fc11a830b2eb07a0e3c6f917e5e636df6fc5d4c",
"id": "CVE-2023-53324-8c2a36a0",
"signature_version": "v1",
"target": {
"function": "mdp5_plane_destroy_state",
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "211836906268884319141731814625874675390",
"length": 159.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd0ad3b2365c1c58aa5a761c18efc4817193beb6",
"id": "CVE-2023-53324-9be381bf",
"signature_version": "v1",
"target": {
"function": "mdp5_plane_destroy_state",
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "211836906268884319141731814625874675390",
"length": 159.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@815e42029f6e1e762898079f85546d6a0391ab95",
"id": "CVE-2023-53324-afbc90b4",
"signature_version": "v1",
"target": {
"function": "mdp5_plane_destroy_state",
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "211836906268884319141731814625874675390",
"length": 159.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@815e42029f6e1e762898079f85546d6a0391ab95",
"id": "CVE-2023-53324-c0f2dd89",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225300381133453810152997408809835413074",
"239042335599581218100118565583561516336",
"72899693781999021966959788321531430590",
"228876255991273407740755365144351125455",
"268977988190288284418462542504965904110"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0b1eee648702e04f1005d451f9689575b7f52ed",
"id": "CVE-2023-53324-c9e77a80",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225300381133453810152997408809835413074",
"239042335599581218100118565583561516336",
"72899693781999021966959788321531430590",
"228876255991273407740755365144351125455",
"268977988190288284418462542504965904110"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2965015006ef18ca96d2eab9ebe6bca884c63291",
"id": "CVE-2023-53324-df2b9ae8",
"signature_version": "v1",
"target": {
"function": "mdp5_plane_destroy_state",
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "211836906268884319141731814625874675390",
"length": 159.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b0dd3a102f64996598bd1e8d8388848a7c561bc",
"id": "CVE-2023-53324-e42e1896",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225300381133453810152997408809835413074",
"239042335599581218100118565583561516336",
"72899693781999021966959788321531430590",
"228876255991273407740755365144351125455",
"268977988190288284418462542504965904110"
]
}
}
]