In the Linux kernel, the following vulnerability has been resolved:
tty: vcc: Add check for kstrdup() in vcc_probe()
Add check for the return value of kstrdup() and return the error, if it fails in order to avoid NULL pointer dereference.
[ { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a24a31826246b15477399febd13292b0c9f0ee9", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-24178a6b", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c80f48912b5bd4965352d1a9a989e21743a4a06", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-26ac268d", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@909963e0c16778cec28efb1affc21558825f4200", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-4bfb38dc", "deprecated": false, "digest": { "function_hash": "13570298976749616538024306548405907525", "length": 2006.0 }, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d81ffb87aaa75f842cd7aa57091810353755b3e6", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-5e38c8d6", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a24a31826246b15477399febd13292b0c9f0ee9", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-83b00a43", "deprecated": false, "digest": { "function_hash": "13570298976749616538024306548405907525", "length": 2006.0 }, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d81ffb87aaa75f842cd7aa57091810353755b3e6", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-8595af03", "deprecated": false, "digest": { "function_hash": "13570298976749616538024306548405907525", "length": 2006.0 }, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ef41a7f33ffe1a335e7db7e1564ddc6afad47cc", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-8bb4f250", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38cd56fc9de78bf3c878790785e8c231116ef9d3", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-9e070ca9", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f8771757b130383732195497e47fba2aba76d3a", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-9e248d87", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f8771757b130383732195497e47fba2aba76d3a", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-b1e0cedd", "deprecated": false, "digest": { "function_hash": "13570298976749616538024306548405907525", "length": 2006.0 }, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cebc86481bf16049e266f6774d90f2fd4f8d5d2", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-b3a97607", "deprecated": false, "digest": { "function_hash": "13570298976749616538024306548405907525", "length": 2006.0 }, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ef41a7f33ffe1a335e7db7e1564ddc6afad47cc", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-c17eb25a", "deprecated": false, "digest": { "function_hash": "13570298976749616538024306548405907525", "length": 2006.0 }, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38cd56fc9de78bf3c878790785e8c231116ef9d3", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-d8908058", "deprecated": false, "digest": { "function_hash": "158622849821000885813941533686013294661", "length": 2136.0 }, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@460284dfb10b207980c6f3f7046e33446ceb38ac", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-dc09c101", "deprecated": false, "digest": { "function_hash": "13570298976749616538024306548405907525", "length": 2006.0 }, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@460284dfb10b207980c6f3f7046e33446ceb38ac", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-e4d8bcfd", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@909963e0c16778cec28efb1affc21558825f4200", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-ea7d3e62", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cebc86481bf16049e266f6774d90f2fd4f8d5d2", "target": { "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-f52ea0ce", "deprecated": false, "digest": { "line_hashes": [ "136713154377655411772550252534694017190", "333437470916953693676259186882211846044", "15598608102147111667308115668297488393", "175090883658701770332971560201929123057", "147763025852130250928377854826720595060", "68231927270590110285336277598976690487", "302084148492251616549597224645013872067", "185570948575642143294279070365748327882", "318647141416333673248854340358592700990", "103404217742969770155874711000977934014", "296990808475550352640887081718296658510", "201403698413744802752674011098863231560", "292902696167051699695453060389447470901", "305808239333595992383747166247770996092", "218934267885435942807154090577460376228", "206429607949286915206034561801583952362", "147894251123912936021028178750023545013", "193020420735358761291648766809607539867", "103416224150127943492633843155019803386", "218722158699354457089645105749513040481", "305295014081192368879780491111855984857", "64589101689649892393566453269760923863" ], "threshold": 0.9 }, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c80f48912b5bd4965352d1a9a989e21743a4a06", "target": { "function": "vcc_probe", "file": "drivers/tty/vcc.c" }, "id": "CVE-2023-52789-ff33a2dd", "deprecated": false, "digest": { "function_hash": "13570298976749616538024306548405907525", "length": 2006.0 }, "signature_type": "Function", "signature_version": "v1" } ]