In the Linux kernel, the following vulnerability has been resolved:
pstore/platform: Add check for kstrdup
Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference.
[
{
"signature_type": "Function",
"digest": {
"function_hash": "227489604350791878927682270844917490998",
"length": 1382.0
},
"target": {
"file": "fs/pstore/platform.c",
"function": "pstore_register"
},
"signature_version": "v1",
"id": "CVE-2023-52869-058b0124",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a19d48f7c5d57c0f0405a7d4334d1d38fe9d3c1c"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"338445943368580691676409559441009802957",
"124781641050946505916132596056438547947",
"110752617114076663065266149206068219162",
"193701119387976880865919285453786568340",
"317920513919240689361939898768434231596",
"253875734760747300702407174686096065472",
"179284675756372642156355291613395123438",
"124306380192951178212891826339415915869",
"208936264241791501802271364327625915549",
"101704209588192109876714719905647501118",
"138805965024778547159099261744519094284",
"1029478608665260840480586366516367921",
"310584850785990570315346244967132299713",
"229390305943260157368919656525584213179",
"315904550904179407115195596320328443992",
"330997504250336020177808849901299437157"
]
},
"target": {
"file": "fs/pstore/platform.c"
},
"signature_version": "v1",
"id": "CVE-2023-52869-22de0f5f",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ad5cb6deb41417ef41b9d6ff54f789212108606f"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "227489604350791878927682270844917490998",
"length": 1382.0
},
"target": {
"file": "fs/pstore/platform.c",
"function": "pstore_register"
},
"signature_version": "v1",
"id": "CVE-2023-52869-2e9058ea",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ad5cb6deb41417ef41b9d6ff54f789212108606f"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "30230739667419083121335041457709515301",
"length": 1362.0
},
"target": {
"file": "fs/pstore/platform.c",
"function": "pstore_register"
},
"signature_version": "v1",
"id": "CVE-2023-52869-505c1403",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@379b120e4f27fd1cf636a5f85570c4d240a3f688"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"338445943368580691676409559441009802957",
"124781641050946505916132596056438547947",
"302489745291286646060752650819349131324",
"97377290659628714108220577844127064047",
"317920513919240689361939898768434231596",
"253875734760747300702407174686096065472",
"179284675756372642156355291613395123438",
"124306380192951178212891826339415915869",
"208936264241791501802271364327625915549",
"101704209588192109876714719905647501118",
"138805965024778547159099261744519094284",
"1029478608665260840480586366516367921",
"310584850785990570315346244967132299713",
"229390305943260157368919656525584213179",
"315904550904179407115195596320328443992",
"330997504250336020177808849901299437157"
]
},
"target": {
"file": "fs/pstore/platform.c"
},
"signature_version": "v1",
"id": "CVE-2023-52869-54bd386c",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@63f637309baadf81a095f2653e3b807d4b5814b9"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "30230739667419083121335041457709515301",
"length": 1362.0
},
"target": {
"file": "fs/pstore/platform.c",
"function": "pstore_register"
},
"signature_version": "v1",
"id": "CVE-2023-52869-7d078efc",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb166bdae1a7d7db30e9be7e6ccaba606debc05f"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"338445943368580691676409559441009802957",
"124781641050946505916132596056438547947",
"110752617114076663065266149206068219162",
"193701119387976880865919285453786568340",
"317920513919240689361939898768434231596",
"253875734760747300702407174686096065472",
"179284675756372642156355291613395123438",
"124306380192951178212891826339415915869",
"208936264241791501802271364327625915549",
"101704209588192109876714719905647501118",
"138805965024778547159099261744519094284",
"1029478608665260840480586366516367921",
"310584850785990570315346244967132299713",
"229390305943260157368919656525584213179",
"315904550904179407115195596320328443992",
"330997504250336020177808849901299437157"
]
},
"target": {
"file": "fs/pstore/platform.c"
},
"signature_version": "v1",
"id": "CVE-2023-52869-92d4fbff",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a19d48f7c5d57c0f0405a7d4334d1d38fe9d3c1c"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"338445943368580691676409559441009802957",
"124781641050946505916132596056438547947",
"302489745291286646060752650819349131324",
"97377290659628714108220577844127064047",
"317920513919240689361939898768434231596",
"253875734760747300702407174686096065472",
"179284675756372642156355291613395123438",
"124306380192951178212891826339415915869",
"208936264241791501802271364327625915549",
"101704209588192109876714719905647501118",
"138805965024778547159099261744519094284",
"1029478608665260840480586366516367921",
"310584850785990570315346244967132299713",
"229390305943260157368919656525584213179",
"315904550904179407115195596320328443992",
"330997504250336020177808849901299437157"
]
},
"target": {
"file": "fs/pstore/platform.c"
},
"signature_version": "v1",
"id": "CVE-2023-52869-b85f551e",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@379b120e4f27fd1cf636a5f85570c4d240a3f688"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "30230739667419083121335041457709515301",
"length": 1362.0
},
"target": {
"file": "fs/pstore/platform.c",
"function": "pstore_register"
},
"signature_version": "v1",
"id": "CVE-2023-52869-ba2b4c27",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@63f637309baadf81a095f2653e3b807d4b5814b9"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"338445943368580691676409559441009802957",
"124781641050946505916132596056438547947",
"110752617114076663065266149206068219162",
"193701119387976880865919285453786568340",
"317920513919240689361939898768434231596",
"253875734760747300702407174686096065472",
"179284675756372642156355291613395123438",
"124306380192951178212891826339415915869",
"208936264241791501802271364327625915549",
"101704209588192109876714719905647501118",
"138805965024778547159099261744519094284",
"1029478608665260840480586366516367921",
"310584850785990570315346244967132299713",
"229390305943260157368919656525584213179",
"315904550904179407115195596320328443992",
"330997504250336020177808849901299437157"
]
},
"target": {
"file": "fs/pstore/platform.c"
},
"signature_version": "v1",
"id": "CVE-2023-52869-cc6255af",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c426da79f9fc7b761021b5eb44185ba119cd44a"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"338445943368580691676409559441009802957",
"124781641050946505916132596056438547947",
"302489745291286646060752650819349131324",
"97377290659628714108220577844127064047",
"317920513919240689361939898768434231596",
"253875734760747300702407174686096065472",
"179284675756372642156355291613395123438",
"124306380192951178212891826339415915869",
"208936264241791501802271364327625915549",
"101704209588192109876714719905647501118",
"138805965024778547159099261744519094284",
"1029478608665260840480586366516367921",
"310584850785990570315346244967132299713",
"229390305943260157368919656525584213179",
"315904550904179407115195596320328443992",
"330997504250336020177808849901299437157"
]
},
"target": {
"file": "fs/pstore/platform.c"
},
"signature_version": "v1",
"id": "CVE-2023-52869-d07772ae",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb166bdae1a7d7db30e9be7e6ccaba606debc05f"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "227489604350791878927682270844917490998",
"length": 1382.0
},
"target": {
"file": "fs/pstore/platform.c",
"function": "pstore_register"
},
"signature_version": "v1",
"id": "CVE-2023-52869-e58e091f",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c426da79f9fc7b761021b5eb44185ba119cd44a"
}
]