In the Linux kernel, the following vulnerability has been resolved:
clk: imx: scu: use _safe list iterator to avoid a use after free
This loop is freeing "clk" so it needs to use listforeachentrysafe(). Otherwise it dereferences a freed variable to get the next item on the loop.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53572.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53572.json"
[
{
"id": "CVE-2023-53572-2e66a86b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16403750356516216714114844472757579478",
"187432254768636698637162680148664587781",
"278511247048135946368050545049242126012",
"54647179726458395387202188181365028198",
"290959417740998625113676085275425668821",
"6688530074182066790993152080947087072",
"159910597024463170737294967996828025927"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/clk/imx/clk-scu.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f95ff838ac39f861d1f95a0f3bbb1e01c2517d79",
"deprecated": false
},
{
"id": "CVE-2023-53572-43c4330d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16403750356516216714114844472757579478",
"187432254768636698637162680148664587781",
"278511247048135946368050545049242126012",
"54647179726458395387202188181365028198",
"290959417740998625113676085275425668821",
"6688530074182066790993152080947087072",
"159910597024463170737294967996828025927"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/clk/imx/clk-scu.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@632c60ecd25dbacee54d5581fe3aeb834b57010a",
"deprecated": false
},
{
"id": "CVE-2023-53572-48df2fec",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16403750356516216714114844472757579478",
"187432254768636698637162680148664587781",
"278511247048135946368050545049242126012",
"54647179726458395387202188181365028198",
"290959417740998625113676085275425668821",
"6688530074182066790993152080947087072",
"159910597024463170737294967996828025927"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/clk/imx/clk-scu.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08cc7cd2c2a29a2abf5bceb8f048c0734d3694ba",
"deprecated": false
},
{
"id": "CVE-2023-53572-63df7557",
"digest": {
"length": 213.0,
"function_hash": "86507209805108579738190101990195065005"
},
"signature_type": "Function",
"target": {
"file": "drivers/clk/imx/clk-scu.c",
"function": "imx_clk_scu_unregister"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08cc7cd2c2a29a2abf5bceb8f048c0734d3694ba",
"deprecated": false
},
{
"id": "CVE-2023-53572-711a4b56",
"digest": {
"length": 213.0,
"function_hash": "86507209805108579738190101990195065005"
},
"signature_type": "Function",
"target": {
"file": "drivers/clk/imx/clk-scu.c",
"function": "imx_clk_scu_unregister"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@632c60ecd25dbacee54d5581fe3aeb834b57010a",
"deprecated": false
},
{
"id": "CVE-2023-53572-81b0fedd",
"digest": {
"length": 213.0,
"function_hash": "86507209805108579738190101990195065005"
},
"signature_type": "Function",
"target": {
"file": "drivers/clk/imx/clk-scu.c",
"function": "imx_clk_scu_unregister"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d90921f91fc6a8c801d527bb5848c99e335c1cf",
"deprecated": false
},
{
"id": "CVE-2023-53572-a9c91baf",
"digest": {
"length": 213.0,
"function_hash": "86507209805108579738190101990195065005"
},
"signature_type": "Function",
"target": {
"file": "drivers/clk/imx/clk-scu.c",
"function": "imx_clk_scu_unregister"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f95ff838ac39f861d1f95a0f3bbb1e01c2517d79",
"deprecated": false
},
{
"id": "CVE-2023-53572-ab7c492f",
"digest": {
"length": 213.0,
"function_hash": "86507209805108579738190101990195065005"
},
"signature_type": "Function",
"target": {
"file": "drivers/clk/imx/clk-scu.c",
"function": "imx_clk_scu_unregister"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a719f0e4b6f233979e219baff73923e76a96e09",
"deprecated": false
},
{
"id": "CVE-2023-53572-efc900ee",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16403750356516216714114844472757579478",
"187432254768636698637162680148664587781",
"278511247048135946368050545049242126012",
"54647179726458395387202188181365028198",
"290959417740998625113676085275425668821",
"6688530074182066790993152080947087072",
"159910597024463170737294967996828025927"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/clk/imx/clk-scu.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d90921f91fc6a8c801d527bb5848c99e335c1cf",
"deprecated": false
},
{
"id": "CVE-2023-53572-ff481980",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16403750356516216714114844472757579478",
"187432254768636698637162680148664587781",
"278511247048135946368050545049242126012",
"54647179726458395387202188181365028198",
"290959417740998625113676085275425668821",
"6688530074182066790993152080947087072",
"159910597024463170737294967996828025927"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/clk/imx/clk-scu.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a719f0e4b6f233979e219baff73923e76a96e09",
"deprecated": false
}
]