In the Linux kernel, the following vulnerability has been resolved:
spi: qup: Don't skip cleanup in remove's error path
Returning early in a platform driver's remove callback is wrong. In this case the dma resources are not released in the error path. this is never retried later and so this is a permanent leak. To fix this, only skip hardware disabling if waking the device fails.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53567.json",
"cna_assigner": "Linux"
}[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f345d4d71e87d878437417ffbb9a7d4e16d235eb",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/spi/spi-qup.c",
"function": "spi_qup_remove"
},
"digest": {
"length": 407.0,
"function_hash": "44521297376801467286124431336641752535"
},
"signature_version": "v1",
"id": "CVE-2023-53567-0504369a"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8632384337038b97910c2f7bb5a3f377aa68d001",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/spi/spi-qup.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"322851504884801178481483017058715013425",
"4010387718972666996561757012012115242",
"88185317110097896513125343556680825867",
"37867967373049437262247653872821781879",
"206291822830489639925383142538428517694",
"84441163413711628760673610842517783445",
"64129996275809898257278812935038428127",
"105025442102099633346286074997262877211",
"172126468075356358545026813282211554120",
"329954910721432250424213524945115459228",
"67266487665415314720563674552261832454",
"248414369515297277064819192476803261300"
]
},
"signature_version": "v1",
"id": "CVE-2023-53567-0572d0a7"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd53f41bd86daa39b454fd4637a908ff2123547f",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/spi/spi-qup.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"322851504884801178481483017058715013425",
"4010387718972666996561757012012115242",
"88185317110097896513125343556680825867",
"37867967373049437262247653872821781879",
"206291822830489639925383142538428517694",
"84441163413711628760673610842517783445",
"64129996275809898257278812935038428127",
"105025442102099633346286074997262877211",
"172126468075356358545026813282211554120",
"329954910721432250424213524945115459228",
"67266487665415314720563674552261832454",
"248414369515297277064819192476803261300"
]
},
"signature_version": "v1",
"id": "CVE-2023-53567-2408b0eb"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8632384337038b97910c2f7bb5a3f377aa68d001",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/spi/spi-qup.c",
"function": "spi_qup_remove"
},
"digest": {
"length": 407.0,
"function_hash": "44521297376801467286124431336641752535"
},
"signature_version": "v1",
"id": "CVE-2023-53567-3ceb4bfd"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@49c17fccae36505550c9121891722fff337f148a",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/spi/spi-qup.c",
"function": "spi_qup_remove"
},
"digest": {
"length": 407.0,
"function_hash": "44521297376801467286124431336641752535"
},
"signature_version": "v1",
"id": "CVE-2023-53567-83aae683"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55ecdcd12bc176b86fecbcb125ac814ac8fe857a",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/spi/spi-qup.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"322851504884801178481483017058715013425",
"4010387718972666996561757012012115242",
"88185317110097896513125343556680825867",
"37867967373049437262247653872821781879",
"206291822830489639925383142538428517694",
"84441163413711628760673610842517783445",
"64129996275809898257278812935038428127",
"105025442102099633346286074997262877211",
"172126468075356358545026813282211554120",
"329954910721432250424213524945115459228",
"67266487665415314720563674552261832454",
"248414369515297277064819192476803261300"
]
},
"signature_version": "v1",
"id": "CVE-2023-53567-8628512c"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55ecdcd12bc176b86fecbcb125ac814ac8fe857a",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/spi/spi-qup.c",
"function": "spi_qup_remove"
},
"digest": {
"length": 407.0,
"function_hash": "44521297376801467286124431336641752535"
},
"signature_version": "v1",
"id": "CVE-2023-53567-86dcd4c8"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d0f63077f481f11a07f20eab1c1f4367dfaef32",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/spi/spi-qup.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"322851504884801178481483017058715013425",
"4010387718972666996561757012012115242",
"88185317110097896513125343556680825867",
"37867967373049437262247653872821781879",
"206291822830489639925383142538428517694",
"84441163413711628760673610842517783445",
"64129996275809898257278812935038428127",
"105025442102099633346286074997262877211",
"172126468075356358545026813282211554120",
"329954910721432250424213524945115459228",
"67266487665415314720563674552261832454",
"248414369515297277064819192476803261300"
]
},
"signature_version": "v1",
"id": "CVE-2023-53567-92aa8cb2"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@49c17fccae36505550c9121891722fff337f148a",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/spi/spi-qup.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"322851504884801178481483017058715013425",
"4010387718972666996561757012012115242",
"88185317110097896513125343556680825867",
"37867967373049437262247653872821781879",
"206291822830489639925383142538428517694",
"84441163413711628760673610842517783445",
"64129996275809898257278812935038428127",
"105025442102099633346286074997262877211",
"172126468075356358545026813282211554120",
"329954910721432250424213524945115459228",
"67266487665415314720563674552261832454",
"248414369515297277064819192476803261300"
]
},
"signature_version": "v1",
"id": "CVE-2023-53567-94055908"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61f49171a43ab1f80c73c5c88c508770c461e0f2",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/spi/spi-qup.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"322851504884801178481483017058715013425",
"4010387718972666996561757012012115242",
"88185317110097896513125343556680825867",
"37867967373049437262247653872821781879",
"206291822830489639925383142538428517694",
"84441163413711628760673610842517783445",
"64129996275809898257278812935038428127",
"105025442102099633346286074997262877211",
"172126468075356358545026813282211554120",
"329954910721432250424213524945115459228",
"67266487665415314720563674552261832454",
"248414369515297277064819192476803261300"
]
},
"signature_version": "v1",
"id": "CVE-2023-53567-9591f219"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f345d4d71e87d878437417ffbb9a7d4e16d235eb",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/spi/spi-qup.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"322851504884801178481483017058715013425",
"4010387718972666996561757012012115242",
"88185317110097896513125343556680825867",
"37867967373049437262247653872821781879",
"206291822830489639925383142538428517694",
"84441163413711628760673610842517783445",
"64129996275809898257278812935038428127",
"105025442102099633346286074997262877211",
"172126468075356358545026813282211554120",
"329954910721432250424213524945115459228",
"67266487665415314720563674552261832454",
"248414369515297277064819192476803261300"
]
},
"signature_version": "v1",
"id": "CVE-2023-53567-baf1b0bf"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61f49171a43ab1f80c73c5c88c508770c461e0f2",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/spi/spi-qup.c",
"function": "spi_qup_remove"
},
"digest": {
"length": 407.0,
"function_hash": "44521297376801467286124431336641752535"
},
"signature_version": "v1",
"id": "CVE-2023-53567-d2fa173f"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d0f63077f481f11a07f20eab1c1f4367dfaef32",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/spi/spi-qup.c",
"function": "spi_qup_remove"
},
"digest": {
"length": 407.0,
"function_hash": "44521297376801467286124431336641752535"
},
"signature_version": "v1",
"id": "CVE-2023-53567-d6a15bbf"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bc88243bbe6140d289bb32b4ee4607ba5ce1124a",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/spi/spi-qup.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"322851504884801178481483017058715013425",
"4010387718972666996561757012012115242",
"88185317110097896513125343556680825867",
"37867967373049437262247653872821781879",
"206291822830489639925383142538428517694",
"84441163413711628760673610842517783445",
"64129996275809898257278812935038428127",
"105025442102099633346286074997262877211",
"172126468075356358545026813282211554120",
"329954910721432250424213524945115459228",
"67266487665415314720563674552261832454",
"248414369515297277064819192476803261300"
]
},
"signature_version": "v1",
"id": "CVE-2023-53567-d767f49a"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bc88243bbe6140d289bb32b4ee4607ba5ce1124a",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/spi/spi-qup.c",
"function": "spi_qup_remove"
},
"digest": {
"length": 407.0,
"function_hash": "44521297376801467286124431336641752535"
},
"signature_version": "v1",
"id": "CVE-2023-53567-ea7fb439"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd53f41bd86daa39b454fd4637a908ff2123547f",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/spi/spi-qup.c",
"function": "spi_qup_remove"
},
"digest": {
"length": 407.0,
"function_hash": "44521297376801467286124431336641752535"
},
"signature_version": "v1",
"id": "CVE-2023-53567-f4eccfa0"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53567.json"