In the Linux kernel, the following vulnerability has been resolved:
mISDN: fix possible memory leak in mISDNregisterdevice()
Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's busid string array"), the name of device is allocated dynamically, add putdevice() to give up the reference, so that the name can be freed in kobject_cleanup() when the refcount is 0.
Set device class before putdevice() to avoid null release() function WARN message in devicerelease().
{ "vanir_signatures": [ { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@080aabfb29b2ee9cbb8894a1d039651943d3773e", "digest": { "length": 787.0, "function_hash": "133165242515587111633052056589480972095" }, "id": "CVE-2022-49915-054c2b84", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "target": { "function": "mISDN_register_device", "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ff6b669523d3b3d253a044fa9636a67d0694995", "digest": { "threshold": 0.9, "line_hashes": [ "156919208602561968867714366961364444912", "325019254340154921691987744162284817992", "62093860282013394438792864646823219001", "224415539121573390607480158281353963535", "88845396652863562026503244444510154701", "230591654373487865421997948408557903095", "16371480679355688565394077219477090250", "317959077354928366480772125967394196116", "261958002382759287154286250345060350998", "123466374026754127636286923945401339669", "249087554953525426306650283327738180765", "116910157459426397506126772515898826054", "201956514211784094019150626519530557856" ] }, "id": "CVE-2022-49915-185a1ac5", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41", "digest": { "length": 787.0, "function_hash": "133165242515587111633052056589480972095" }, "id": "CVE-2022-49915-1a7b36db", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "target": { "function": "mISDN_register_device", "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a636fc5a7cabd05699b5692ad838c2c7a3abec7b", "digest": { "threshold": 0.9, "line_hashes": [ "156919208602561968867714366961364444912", "325019254340154921691987744162284817992", "62093860282013394438792864646823219001", "224415539121573390607480158281353963535", "88845396652863562026503244444510154701", "230591654373487865421997948408557903095", "16371480679355688565394077219477090250", "317959077354928366480772125967394196116", "261958002382759287154286250345060350998", "123466374026754127636286923945401339669", "249087554953525426306650283327738180765", "116910157459426397506126772515898826054", "201956514211784094019150626519530557856" ] }, "id": "CVE-2022-49915-25abe4e1", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e7d1d4d9ac0dfa40be4c2c8abd0731659869b297", "digest": { "threshold": 0.9, "line_hashes": [ "156919208602561968867714366961364444912", "325019254340154921691987744162284817992", "62093860282013394438792864646823219001", "224415539121573390607480158281353963535", "88845396652863562026503244444510154701", "230591654373487865421997948408557903095", "16371480679355688565394077219477090250", "317959077354928366480772125967394196116", "261958002382759287154286250345060350998", "123466374026754127636286923945401339669", "249087554953525426306650283327738180765", "116910157459426397506126772515898826054", "201956514211784094019150626519530557856" ] }, "id": "CVE-2022-49915-2bb9d452", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a636fc5a7cabd05699b5692ad838c2c7a3abec7b", "digest": { "length": 787.0, "function_hash": "133165242515587111633052056589480972095" }, "id": "CVE-2022-49915-7563cdbd", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "target": { "function": "mISDN_register_device", "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e77d213843e67b4373285712699b692f9c743f61", "digest": { "length": 787.0, "function_hash": "133165242515587111633052056589480972095" }, "id": "CVE-2022-49915-91387451", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "target": { "function": "mISDN_register_device", "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d4e91efcaee081e919b3c50e875ecbb84290e41", "digest": { "length": 787.0, "function_hash": "133165242515587111633052056589480972095" }, "id": "CVE-2022-49915-9b9364ef", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "target": { "function": "mISDN_register_device", "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e77d213843e67b4373285712699b692f9c743f61", "digest": { "threshold": 0.9, "line_hashes": [ "156919208602561968867714366961364444912", "325019254340154921691987744162284817992", "62093860282013394438792864646823219001", "224415539121573390607480158281353963535", "88845396652863562026503244444510154701", "230591654373487865421997948408557903095", "16371480679355688565394077219477090250", "317959077354928366480772125967394196116", "261958002382759287154286250345060350998", "123466374026754127636286923945401339669", "249087554953525426306650283327738180765", "116910157459426397506126772515898826054", "201956514211784094019150626519530557856" ] }, "id": "CVE-2022-49915-9d03dbc7", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d4e91efcaee081e919b3c50e875ecbb84290e41", "digest": { "threshold": 0.9, "line_hashes": [ "156919208602561968867714366961364444912", "325019254340154921691987744162284817992", "62093860282013394438792864646823219001", "224415539121573390607480158281353963535", "88845396652863562026503244444510154701", "230591654373487865421997948408557903095", "16371480679355688565394077219477090250", "317959077354928366480772125967394196116", "261958002382759287154286250345060350998", "123466374026754127636286923945401339669", "249087554953525426306650283327738180765", "116910157459426397506126772515898826054", "201956514211784094019150626519530557856" ] }, "id": "CVE-2022-49915-a8c3a66c", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ff6b669523d3b3d253a044fa9636a67d0694995", "digest": { "length": 787.0, "function_hash": "133165242515587111633052056589480972095" }, "id": "CVE-2022-49915-aeb70bad", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "target": { "function": "mISDN_register_device", "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41", "digest": { "threshold": 0.9, "line_hashes": [ "156919208602561968867714366961364444912", "325019254340154921691987744162284817992", "62093860282013394438792864646823219001", "224415539121573390607480158281353963535", "88845396652863562026503244444510154701", "230591654373487865421997948408557903095", "16371480679355688565394077219477090250", "317959077354928366480772125967394196116", "261958002382759287154286250345060350998", "123466374026754127636286923945401339669", "249087554953525426306650283327738180765", "116910157459426397506126772515898826054", "201956514211784094019150626519530557856" ] }, "id": "CVE-2022-49915-cb400247", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e7d1d4d9ac0dfa40be4c2c8abd0731659869b297", "digest": { "length": 787.0, "function_hash": "133165242515587111633052056589480972095" }, "id": "CVE-2022-49915-dd273062", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "target": { "function": "mISDN_register_device", "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e", "digest": { "length": 787.0, "function_hash": "133165242515587111633052056589480972095" }, "id": "CVE-2022-49915-e666d85d", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "target": { "function": "mISDN_register_device", "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e", "digest": { "threshold": 0.9, "line_hashes": [ "156919208602561968867714366961364444912", "325019254340154921691987744162284817992", "62093860282013394438792864646823219001", "224415539121573390607480158281353963535", "88845396652863562026503244444510154701", "230591654373487865421997948408557903095", "16371480679355688565394077219477090250", "317959077354928366480772125967394196116", "261958002382759287154286250345060350998", "123466374026754127636286923945401339669", "249087554953525426306650283327738180765", "116910157459426397506126772515898826054", "201956514211784094019150626519530557856" ] }, "id": "CVE-2022-49915-ee27cddd", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/isdn/mISDN/core.c" } }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@080aabfb29b2ee9cbb8894a1d039651943d3773e", "digest": { "threshold": 0.9, "line_hashes": [ "156919208602561968867714366961364444912", "325019254340154921691987744162284817992", "62093860282013394438792864646823219001", "224415539121573390607480158281353963535", "88845396652863562026503244444510154701", "230591654373487865421997948408557903095", "16371480679355688565394077219477090250", "317959077354928366480772125967394196116", "261958002382759287154286250345060350998", "123466374026754127636286923945401339669", "249087554953525426306650283327738180765", "116910157459426397506126772515898826054", "201956514211784094019150626519530557856" ] }, "id": "CVE-2022-49915-fed388e9", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/isdn/mISDN/core.c" } } ] }