In the Linux kernel, the following vulnerability has been resolved:
tpm: tpmcrb: Add the missed acpiput_table() to fix memory leak
In crbacpiadd(), we get the TPM2 table to retrieve information like start method, and then assign them to the priv data, so the TPM2 table is not used after the init, should be freed, call acpiputtable() to fix the memory leak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50389.json"
}[
{
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"223311175633244370731725977346854516967",
"261169185177956929691542587359684510223",
"275510496179822937992092343024941321236",
"180268085940840925727723131987517075413",
"276637407833995571297510111578701040111",
"44735071446603492208237912244634166119",
"52438390601091167612500238883816622040",
"146861555248763089089907298602588114702",
"72843016528899057275991933163926821495",
"79294235338234502028849477311722445925",
"180594319870633720199966169765353950319",
"61206353352096106385958885377517636857",
"222028515747864304248634625052562123474",
"111513149841104664359659599761628114488",
"232532513556327147795191987945972500821",
"153250638743433717065574188410671141879",
"264206879360490220496655050769635888359",
"136806177575638686019701448165050666244",
"208482658767037205761949662683230662732",
"305814270556813974163666019008221246115",
"2823991060232884815326104361888616674",
"68082938670550496599599027049104255563",
"110283551102577166322189721444722310724"
]
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c"
},
"id": "CVE-2022-50389-1bbedec5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@37e90c374dd11cf4919c51e847c6d6ced0abc555"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "33825023777727298196139263065696063659",
"length": 1296.0
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c",
"function": "crb_acpi_add"
},
"id": "CVE-2022-50389-1e2201af",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@37e90c374dd11cf4919c51e847c6d6ced0abc555"
},
{
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"223311175633244370731725977346854516967",
"261169185177956929691542587359684510223",
"275510496179822937992092343024941321236",
"180268085940840925727723131987517075413",
"276637407833995571297510111578701040111",
"330829203245667190054374402886275789420",
"325440602686960813988835928452865210254",
"40810476350227743785007647410707691730",
"72843016528899057275991933163926821495",
"79294235338234502028849477311722445925",
"180594319870633720199966169765353950319",
"61206353352096106385958885377517636857",
"177827648205250188252521665202749276978",
"111513149841104664359659599761628114488",
"232532513556327147795191987945972500821",
"153250638743433717065574188410671141879",
"264206879360490220496655050769635888359",
"136806177575638686019701448165050666244",
"208482658767037205761949662683230662732",
"305814270556813974163666019008221246115",
"2823991060232884815326104361888616674",
"68082938670550496599599027049104255563",
"110283551102577166322189721444722310724"
]
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c"
},
"id": "CVE-2022-50389-3c488966",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08fd965521d0e172d540cf945517810895fcb199"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "33825023777727298196139263065696063659",
"length": 1296.0
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c",
"function": "crb_acpi_add"
},
"id": "CVE-2022-50389-42d5bbfc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2fcd3dc8b97a14f1672729c86b7041a1a89b052a"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "33825023777727298196139263065696063659",
"length": 1296.0
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c",
"function": "crb_acpi_add"
},
"id": "CVE-2022-50389-43c0f3c6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1af2232b13837ce0f3a082b9f43735b09aafc367"
},
{
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"223311175633244370731725977346854516967",
"261169185177956929691542587359684510223",
"275510496179822937992092343024941321236",
"180268085940840925727723131987517075413",
"276637407833995571297510111578701040111",
"44735071446603492208237912244634166119",
"52438390601091167612500238883816622040",
"146861555248763089089907298602588114702",
"72843016528899057275991933163926821495",
"79294235338234502028849477311722445925",
"180594319870633720199966169765353950319",
"61206353352096106385958885377517636857",
"222028515747864304248634625052562123474",
"111513149841104664359659599761628114488",
"232532513556327147795191987945972500821",
"153250638743433717065574188410671141879",
"264206879360490220496655050769635888359",
"136806177575638686019701448165050666244",
"208482658767037205761949662683230662732",
"305814270556813974163666019008221246115",
"2823991060232884815326104361888616674",
"68082938670550496599599027049104255563",
"110283551102577166322189721444722310724"
]
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c"
},
"id": "CVE-2022-50389-49e3e369",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1af2232b13837ce0f3a082b9f43735b09aafc367"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "33825023777727298196139263065696063659",
"length": 1296.0
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c",
"function": "crb_acpi_add"
},
"id": "CVE-2022-50389-53d4ea3e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0bd9b4be721c776f77adcaf34105dfca3007ddb9"
},
{
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"223311175633244370731725977346854516967",
"261169185177956929691542587359684510223",
"275510496179822937992092343024941321236",
"180268085940840925727723131987517075413",
"276637407833995571297510111578701040111",
"44735071446603492208237912244634166119",
"52438390601091167612500238883816622040",
"146861555248763089089907298602588114702",
"72843016528899057275991933163926821495",
"79294235338234502028849477311722445925",
"180594319870633720199966169765353950319",
"61206353352096106385958885377517636857",
"222028515747864304248634625052562123474",
"111513149841104664359659599761628114488",
"232532513556327147795191987945972500821",
"153250638743433717065574188410671141879",
"264206879360490220496655050769635888359",
"136806177575638686019701448165050666244",
"208482658767037205761949662683230662732",
"305814270556813974163666019008221246115",
"2823991060232884815326104361888616674",
"68082938670550496599599027049104255563",
"110283551102577166322189721444722310724"
]
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c"
},
"id": "CVE-2022-50389-6bb12fc8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@927860dfa161ae8392a264197257dbdc52b26b0f"
},
{
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"223311175633244370731725977346854516967",
"261169185177956929691542587359684510223",
"275510496179822937992092343024941321236",
"180268085940840925727723131987517075413",
"276637407833995571297510111578701040111",
"44735071446603492208237912244634166119",
"52438390601091167612500238883816622040",
"146861555248763089089907298602588114702",
"72843016528899057275991933163926821495",
"79294235338234502028849477311722445925",
"180594319870633720199966169765353950319",
"61206353352096106385958885377517636857",
"222028515747864304248634625052562123474",
"111513149841104664359659599761628114488",
"232532513556327147795191987945972500821",
"153250638743433717065574188410671141879",
"264206879360490220496655050769635888359",
"136806177575638686019701448165050666244",
"208482658767037205761949662683230662732",
"305814270556813974163666019008221246115",
"2823991060232884815326104361888616674",
"68082938670550496599599027049104255563",
"110283551102577166322189721444722310724"
]
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c"
},
"id": "CVE-2022-50389-973638f8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@986cd9a9b95423e35a2cbb8e9105aec0e0d7f337"
},
{
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"223311175633244370731725977346854516967",
"261169185177956929691542587359684510223",
"275510496179822937992092343024941321236",
"180268085940840925727723131987517075413",
"276637407833995571297510111578701040111",
"44735071446603492208237912244634166119",
"52438390601091167612500238883816622040",
"146861555248763089089907298602588114702",
"72843016528899057275991933163926821495",
"79294235338234502028849477311722445925",
"180594319870633720199966169765353950319",
"61206353352096106385958885377517636857",
"222028515747864304248634625052562123474",
"111513149841104664359659599761628114488",
"232532513556327147795191987945972500821",
"153250638743433717065574188410671141879",
"264206879360490220496655050769635888359",
"136806177575638686019701448165050666244",
"208482658767037205761949662683230662732",
"305814270556813974163666019008221246115",
"2823991060232884815326104361888616674",
"68082938670550496599599027049104255563",
"110283551102577166322189721444722310724"
]
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c"
},
"id": "CVE-2022-50389-a69df14b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b0785edaf649e5f04dc7f75533e810f4c00e4106"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "64861357693585337509375821863272140281",
"length": 1566.0
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c",
"function": "crb_acpi_add"
},
"id": "CVE-2022-50389-ad0fdc78",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08fd965521d0e172d540cf945517810895fcb199"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "33825023777727298196139263065696063659",
"length": 1296.0
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c",
"function": "crb_acpi_add"
},
"id": "CVE-2022-50389-c1fa90ec",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@986cd9a9b95423e35a2cbb8e9105aec0e0d7f337"
},
{
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"223311175633244370731725977346854516967",
"261169185177956929691542587359684510223",
"275510496179822937992092343024941321236",
"180268085940840925727723131987517075413",
"276637407833995571297510111578701040111",
"44735071446603492208237912244634166119",
"52438390601091167612500238883816622040",
"146861555248763089089907298602588114702",
"72843016528899057275991933163926821495",
"79294235338234502028849477311722445925",
"180594319870633720199966169765353950319",
"61206353352096106385958885377517636857",
"222028515747864304248634625052562123474",
"111513149841104664359659599761628114488",
"232532513556327147795191987945972500821",
"153250638743433717065574188410671141879",
"264206879360490220496655050769635888359",
"136806177575638686019701448165050666244",
"208482658767037205761949662683230662732",
"305814270556813974163666019008221246115",
"2823991060232884815326104361888616674",
"68082938670550496599599027049104255563",
"110283551102577166322189721444722310724"
]
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c"
},
"id": "CVE-2022-50389-d4aeccbf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2fcd3dc8b97a14f1672729c86b7041a1a89b052a"
},
{
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"223311175633244370731725977346854516967",
"261169185177956929691542587359684510223",
"275510496179822937992092343024941321236",
"180268085940840925727723131987517075413",
"276637407833995571297510111578701040111",
"44735071446603492208237912244634166119",
"52438390601091167612500238883816622040",
"146861555248763089089907298602588114702",
"72843016528899057275991933163926821495",
"79294235338234502028849477311722445925",
"180594319870633720199966169765353950319",
"61206353352096106385958885377517636857",
"222028515747864304248634625052562123474",
"111513149841104664359659599761628114488",
"232532513556327147795191987945972500821",
"153250638743433717065574188410671141879",
"264206879360490220496655050769635888359",
"136806177575638686019701448165050666244",
"208482658767037205761949662683230662732",
"305814270556813974163666019008221246115",
"2823991060232884815326104361888616674",
"68082938670550496599599027049104255563",
"110283551102577166322189721444722310724"
]
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c"
},
"id": "CVE-2022-50389-d4ebe481",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0bd9b4be721c776f77adcaf34105dfca3007ddb9"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "33825023777727298196139263065696063659",
"length": 1296.0
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c",
"function": "crb_acpi_add"
},
"id": "CVE-2022-50389-f07ba007",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@927860dfa161ae8392a264197257dbdc52b26b0f"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "33825023777727298196139263065696063659",
"length": 1296.0
},
"target": {
"file": "drivers/char/tpm/tpm_crb.c",
"function": "crb_acpi_add"
},
"id": "CVE-2022-50389-fc2d726c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b0785edaf649e5f04dc7f75533e810f4c00e4106"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50389.json"