In the Linux kernel, the following vulnerability has been resolved:
clk: samsung: Fix memory leak in samsungclkregisterpll()
If clkregister() fails, @pll->ratetable may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.
[
{
"id": "CVE-2022-50449-0c1e830c",
"digest": {
"function_hash": "249625633278555000792061641166870335144",
"length": 3470.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a00b4e0fa27317957536abf8f5d6a96d6cb9d9be",
"target": {
"function": "_samsung_clk_register_pll",
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-50449-11ffbee8",
"digest": {
"function_hash": "329241313567940226157082033663912266540",
"length": 3972.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5174e5b0d1b669a489524192b6adcbb3c54ebc72",
"target": {
"function": "_samsung_clk_register_pll",
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-50449-260deaba",
"digest": {
"function_hash": "249625633278555000792061641166870335144",
"length": 3470.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e501a31af8efa593a2f003637b56d00b75dca23",
"target": {
"function": "_samsung_clk_register_pll",
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-50449-43a230e3",
"digest": {
"function_hash": "329241313567940226157082033663912266540",
"length": 3972.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a35323218ff32782d051d2643912311a22e07b6a",
"target": {
"function": "_samsung_clk_register_pll",
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-50449-526dee86",
"digest": {
"threshold": 0.9,
"line_hashes": [
"227432199573215074182190451165888681743",
"299662931224747252864214191014678066158",
"246711078002037704757605324845298064940",
"69554957695465824621931306177340825700"
]
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e501a31af8efa593a2f003637b56d00b75dca23",
"target": {
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2022-50449-5410c6cb",
"digest": {
"threshold": 0.9,
"line_hashes": [
"227432199573215074182190451165888681743",
"299662931224747252864214191014678066158",
"246711078002037704757605324845298064940",
"69554957695465824621931306177340825700"
]
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da13355bb9961316d124f94dfc7a1385d0fb035a",
"target": {
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2022-50449-55fa2841",
"digest": {
"threshold": 0.9,
"line_hashes": [
"227432199573215074182190451165888681743",
"299662931224747252864214191014678066158",
"246711078002037704757605324845298064940",
"69554957695465824621931306177340825700"
]
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a35323218ff32782d051d2643912311a22e07b6a",
"target": {
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2022-50449-6e4e4e27",
"digest": {
"threshold": 0.9,
"line_hashes": [
"227432199573215074182190451165888681743",
"299662931224747252864214191014678066158",
"246711078002037704757605324845298064940",
"69554957695465824621931306177340825700"
]
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a00b4e0fa27317957536abf8f5d6a96d6cb9d9be",
"target": {
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2022-50449-79bd8183",
"digest": {
"function_hash": "329241313567940226157082033663912266540",
"length": 3972.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4887ec922e407b4feaf060c7b099482a5c52dee3",
"target": {
"function": "_samsung_clk_register_pll",
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-50449-7d996d77",
"digest": {
"function_hash": "249625633278555000792061641166870335144",
"length": 3470.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da13355bb9961316d124f94dfc7a1385d0fb035a",
"target": {
"function": "_samsung_clk_register_pll",
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-50449-b44c80ea",
"digest": {
"threshold": 0.9,
"line_hashes": [
"227432199573215074182190451165888681743",
"299662931224747252864214191014678066158",
"246711078002037704757605324845298064940",
"69554957695465824621931306177340825700"
]
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5174e5b0d1b669a489524192b6adcbb3c54ebc72",
"target": {
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2022-50449-c303edec",
"digest": {
"threshold": 0.9,
"line_hashes": [
"227432199573215074182190451165888681743",
"299662931224747252864214191014678066158",
"246711078002037704757605324845298064940",
"69554957695465824621931306177340825700"
]
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4887ec922e407b4feaf060c7b099482a5c52dee3",
"target": {
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2022-50449-c91f4a19",
"digest": {
"threshold": 0.9,
"line_hashes": [
"227432199573215074182190451165888681743",
"299662931224747252864214191014678066158",
"246711078002037704757605324845298064940",
"69554957695465824621931306177340825700"
]
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8dc0626fe86ae08914478dec1419618c557bc0",
"target": {
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2022-50449-d53ac3af",
"digest": {
"threshold": 0.9,
"line_hashes": [
"295449472928180435314481275967074263075",
"299662931224747252864214191014678066158",
"246711078002037704757605324845298064940",
"69554957695465824621931306177340825700"
]
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7b738276a596fa101d320591e9fa84ea0fc3f713",
"target": {
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2022-50449-e0b25cba",
"digest": {
"function_hash": "68831268740724254204183024853589261420",
"length": 3668.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7b738276a596fa101d320591e9fa84ea0fc3f713",
"target": {
"function": "_samsung_clk_register_pll",
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-50449-e817cd47",
"digest": {
"function_hash": "249625633278555000792061641166870335144",
"length": 3470.0
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8dc0626fe86ae08914478dec1419618c557bc0",
"target": {
"function": "_samsung_clk_register_pll",
"file": "drivers/clk/samsung/clk-pll.c"
},
"signature_type": "Function"
}
]