In the Linux kernel, the following vulnerability has been resolved:
clk: imx: clk-imxrt1050: fix memory leak in imxrt1050clocksprobe
Use devmofiomap() instead of ofiomap() to automatically handle the unused ioremap region. If any error occurs, regions allocated by kzalloc() will leak, but using devmkzalloc() instead will automatically free the memory using devm_kfree().
Also, fix error handling of hws by adding unregister_hws label, which unregisters remaining hws when iomap failed.
[
{
"id": "CVE-2023-53264-30bd2767",
"target": {
"file": "drivers/clk/imx/clk-imxrt1050.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"193085025887409868050440709511415749631",
"36142477142581066034484238955750667643",
"330918317043202003937074396864986030393",
"337834218158860069205612157029892201949",
"285333018147520318206240284628344379067",
"291963007022764372451882962795751241400",
"255749243042216810318849184702295563097",
"164706142792202808273081315050516636515",
"144742990937602696597973010636069715181",
"228150018751774546779136841536112814480",
"6488714034253207557151577238563376147",
"111842688430716127656699502138039702275",
"215645784933852491134861369444033503000",
"275138322263012786926868740665567933577",
"72281919693066628002923977166178144048",
"318210698572230383437805496672452438175",
"108755086669239727147787747441851528690",
"248661807671037668239365632211247253865",
"106543454662031167872516280961381326216",
"155605018708236872934186509869652153049",
"150958262585011644196938032422794453416"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99",
"signature_type": "Line"
},
{
"id": "CVE-2023-53264-50246ad5",
"target": {
"function": "imxrt1050_clocks_probe",
"file": "drivers/clk/imx/clk-imxrt1050.c"
},
"signature_version": "v1",
"digest": {
"length": 6077.0,
"function_hash": "257838506883372299989497006105012464464"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99",
"signature_type": "Function"
},
{
"id": "CVE-2023-53264-84f0df95",
"target": {
"function": "imxrt1050_clocks_probe",
"file": "drivers/clk/imx/clk-imxrt1050.c"
},
"signature_version": "v1",
"digest": {
"length": 5988.0,
"function_hash": "116510340436209645782480693846556755944"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1839032251a66f2ae5a043c495532830a55d28c4",
"signature_type": "Function"
},
{
"id": "CVE-2023-53264-87f91927",
"target": {
"file": "drivers/clk/imx/clk-imxrt1050.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"193085025887409868050440709511415749631",
"36142477142581066034484238955750667643",
"330918317043202003937074396864986030393",
"337834218158860069205612157029892201949",
"285333018147520318206240284628344379067",
"291963007022764372451882962795751241400",
"255749243042216810318849184702295563097",
"164706142792202808273081315050516636515",
"144742990937602696597973010636069715181",
"228150018751774546779136841536112814480",
"6488714034253207557151577238563376147",
"111842688430716127656699502138039702275",
"215645784933852491134861369444033503000",
"275138322263012786926868740665567933577",
"72281919693066628002923977166178144048",
"318210698572230383437805496672452438175",
"108755086669239727147787747441851528690",
"248661807671037668239365632211247253865",
"106543454662031167872516280961381326216",
"155605018708236872934186509869652153049",
"150958262585011644196938032422794453416"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a",
"signature_type": "Line"
},
{
"id": "CVE-2023-53264-bc083414",
"target": {
"file": "drivers/clk/imx/clk-imxrt1050.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"193085025887409868050440709511415749631",
"36142477142581066034484238955750667643",
"330918317043202003937074396864986030393",
"337834218158860069205612157029892201949",
"338024492272277776317647901106525876179",
"120528379678039199816001913928839812363",
"255749243042216810318849184702295563097",
"164706142792202808273081315050516636515",
"144742990937602696597973010636069715181",
"228150018751774546779136841536112814480",
"6488714034253207557151577238563376147",
"111842688430716127656699502138039702275",
"215645784933852491134861369444033503000",
"275138322263012786926868740665567933577",
"72281919693066628002923977166178144048",
"318210698572230383437805496672452438175",
"108755086669239727147787747441851528690",
"248661807671037668239365632211247253865",
"106543454662031167872516280961381326216",
"155605018708236872934186509869652153049",
"150958262585011644196938032422794453416"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1839032251a66f2ae5a043c495532830a55d28c4",
"signature_type": "Line"
},
{
"id": "CVE-2023-53264-c781a46d",
"target": {
"function": "imxrt1050_clocks_probe",
"file": "drivers/clk/imx/clk-imxrt1050.c"
},
"signature_version": "v1",
"digest": {
"length": 6077.0,
"function_hash": "257838506883372299989497006105012464464"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a",
"signature_type": "Function"
},
{
"id": "CVE-2023-53264-cec512d0",
"target": {
"function": "imxrt1050_clocks_probe",
"file": "drivers/clk/imx/clk-imxrt1050.c"
},
"signature_version": "v1",
"digest": {
"length": 6077.0,
"function_hash": "257838506883372299989497006105012464464"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02e54db221bb001b32f839e0149ee8d890ab9aa1",
"signature_type": "Function"
},
{
"id": "CVE-2023-53264-f879855d",
"target": {
"file": "drivers/clk/imx/clk-imxrt1050.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"193085025887409868050440709511415749631",
"36142477142581066034484238955750667643",
"330918317043202003937074396864986030393",
"337834218158860069205612157029892201949",
"285333018147520318206240284628344379067",
"291963007022764372451882962795751241400",
"255749243042216810318849184702295563097",
"164706142792202808273081315050516636515",
"144742990937602696597973010636069715181",
"228150018751774546779136841536112814480",
"6488714034253207557151577238563376147",
"111842688430716127656699502138039702275",
"215645784933852491134861369444033503000",
"275138322263012786926868740665567933577",
"72281919693066628002923977166178144048",
"318210698572230383437805496672452438175",
"108755086669239727147787747441851528690",
"248661807671037668239365632211247253865",
"106543454662031167872516280961381326216",
"155605018708236872934186509869652153049",
"150958262585011644196938032422794453416"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02e54db221bb001b32f839e0149ee8d890ab9aa1",
"signature_type": "Line"
}
]