In the Linux kernel, the following vulnerability has been resolved:
tpm: fix reference counting for struct tpm_chip
The following sequence of operations results in a refcount warning:
------------[ cut here ]------------ WARNING: CPU: 3 PID: 1161 at lib/refcount.c:25 kobjectget+0xa0/0xa4 refcountt: addition on 0; use-after-free. Modules linked in: tpmtisspi tpmtiscore tpm mdiobcmunimac brcmfmac sha256generic libsha256 sha256arm hciuart btbcm bluetooth cfg80211 vc4 brcmutil ecdhgeneric ecc sndsoccore crc32armce libaes raspberrypihwmon ac97bus sndpcmdmaengine bcm2711thermal sndpcm sndtimer genet snd phygeneric soundcore [last unloaded: spibcm2835] CPU: 3 PID: 1161 Comm: holdopen Not tainted 5.10.0ls-main-dirty #2 Hardware name: BCM2711 [<c0410c3c>] (unwindbacktrace) from [<c040b580>] (showstack+0x10/0x14) [<c040b580>] (showstack) from [<c1092174>] (dumpstack+0xc4/0xd8) [<c1092174>] (dumpstack) from [<c0445a30>] (warn+0x104/0x108) [<c0445a30>] (warn) from [<c0445aa8>] (warnslowpathfmt+0x74/0xb8) [<c0445aa8>] (warnslowpathfmt) from [<c08435d0>] (kobjectget+0xa0/0xa4) [<c08435d0>] (kobjectget) from [<bf0a715c>] (tpmtrygetops+0x14/0x54 [tpm]) [<bf0a715c>] (tpmtrygetops [tpm]) from [<bf0a7d6c>] (tpmcommonwrite+0x38/0x60 [tpm]) [<bf0a7d6c>] (tpmcommonwrite [tpm]) from [<c05a7ac0>] (vfswrite+0xc4/0x3c0) [<c05a7ac0>] (vfswrite) from [<c05a7ee4>] (ksyswrite+0x58/0xcc) [<c05a7ee4>] (ksyswrite) from [<c04001a0>] (retfast_syscall+0x0/0x4c) Exception stack(0xc226bfa8 to 0xc226bff0) bfa0: 00000000 000105b4 00000003 beafe664 00000014 00000000 bfc0: 00000000 000105b4 000103f8 00000004 00000000 00000000 b6f9c000 beafe684 bfe0: 0000006c beafe648 0001056c b6eb6944 ---[ end trace d4b8409def9b8b1f ]---
The reason for this warning is the attempt to get the chip->dev reference in tpmcommonwrite() although the reference counter is already zero.
Since commit 8979b02aaf1d ("tpm: Fix reference count to main device") the extra reference used to prevent a premature zero counter is never taken, because the required TPMCHIPFLAG_TPM2 flag is never set.
Fix this by moving the TPM 2 character device handling from tpmchipalloc() to tpmaddchar_device() which is called at a later point in time when the flag has been set in case of TPM2.
Commit fdc915f7f719 ("tpm: expose spaces via a device link /dev/tpmrm<n>") already introduced function tpmdevsrelease() to release the extra reference but did not implement the required put on chip->devs that results in the call of this function.
Fix this by putting chip->devs in tpmchipunregister().
Finally move the new implementation for the TPM 2 handling into a new function to avoid multiple checks for the TPMCHIPFLAG_TPM2 flag in the good case and error cases.
[
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-025de52c",
"digest": {
"function_hash": "185321107401978025918631180790031702622",
"length": 1864.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb64bd038beacb4331fe464a36c8b5481e8f51e2",
"signature_type": "Function",
"target": {
"function": "tpm_chip_alloc",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-067d406a",
"digest": {
"line_hashes": [
"217657283686725640655330854750472296981",
"209887427126358189164432798728287262880",
"240927574336016875717912347124755603749",
"259840889538993873279142291346172564643"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e7baf84149fb43950631415de231b3a41915aa3",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm.h"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-09b4745b",
"digest": {
"line_hashes": [
"217657283686725640655330854750472296981",
"209887427126358189164432798728287262880",
"240927574336016875717912347124755603749",
"259840889538993873279142291346172564643"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290e05f346d1829e849662c97e42d5ad984f5258",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm.h"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-0d3c7ec0",
"digest": {
"function_hash": "185321107401978025918631180790031702622",
"length": 1864.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@662893b4f6bd466ff9e1cd454c44c26d32d554fe",
"signature_type": "Function",
"target": {
"function": "tpm_chip_alloc",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-14289397",
"digest": {
"function_hash": "250920999295652012376963668504803859855",
"length": 313.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e7baf84149fb43950631415de231b3a41915aa3",
"signature_type": "Function",
"target": {
"function": "tpm_chip_unregister",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-149e5117",
"digest": {
"function_hash": "185321107401978025918631180790031702622",
"length": 1864.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@473a66f99cb8173c14138c5a5c69bfad04e8f9ac",
"signature_type": "Function",
"target": {
"function": "tpm_chip_alloc",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-197f8638",
"digest": {
"function_hash": "43663379650973808209120964999737457813",
"length": 796.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@662893b4f6bd466ff9e1cd454c44c26d32d554fe",
"signature_type": "Function",
"target": {
"function": "tpm_add_char_device",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-2ed9fa78",
"digest": {
"function_hash": "43663379650973808209120964999737457813",
"length": 796.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@473a66f99cb8173c14138c5a5c69bfad04e8f9ac",
"signature_type": "Function",
"target": {
"function": "tpm_add_char_device",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-35d7add4",
"digest": {
"line_hashes": [
"62835703083129025496763579045386654648",
"178596401336784299918950525249916972875",
"52224170311876710372817736144997818414",
"173928792302618960847585340812497634591",
"64777807038447923857701631034553292213",
"50600998726931695094071648320272160968",
"11211536082164517269504494333931707758",
"240815651845515766323106809781153685010",
"184633099295727032762796659945148264015",
"252075384264914997821401631980457695458",
"22965402567246121950344577711941556705",
"18270047295317907326176823134365136640",
"124614412546017066657001523790788720795",
"253070404665109213857564137406160029937",
"153265618915339730814266851407305218913",
"274513627691151421298633370462154936782",
"120117330905977169312279022925134827584",
"160101436816913688869070788000794892392",
"330989896284413190533245637422907160777",
"283494486210001604428870156761254334050",
"102553733861848535021119425422194428887",
"220404635980409244940292680741976043759",
"312326041680075722355733272627410071767",
"303646242823813794051439093721811173855",
"113035998683547920480498239792614713676",
"50604142691181224715410791731012901570",
"242287897770138114081117706222577619970",
"239806292477952788495269657411016995180",
"317956121460157683026854703945813951465",
"264194520070447605426873339928825797645",
"170713580624472157524819645211349007000",
"311353548451945032803308068078800380892",
"233342839814909348723387904979262223970",
"224690776668006272215263674713608634446",
"185464307382163466295382326367448070295",
"313142836672528289025520024743309811236",
"74668136560375738812861929721017036059",
"175943722760715376509874043319522806684",
"181918104899465926601107341890417307023",
"332149193523083366617461147007851264478",
"222897632959122594260545880798935710028",
"317420899254840984308914490388190572703",
"140100817005081747813708869190560662556",
"65557205429650943271950238083481497140",
"152042921709834403687132520137211113108",
"34065129347880765542604673262019275253",
"294519469833897907264573350304550713069",
"226401715108089988556140059343345269274",
"228855575144127253004016688334828478995",
"231841751534208716526731864834890365233",
"252501200720444849929451779365972959621",
"119238597763803071947060924680300964063",
"242510757400716352144060466928685439173",
"110774599708468157263530210756401415937",
"165661833119785692677358222575649061412",
"289233867382572765895335247241208857769",
"15567935564545946192764553050124052654",
"50417323741135560730433845791754204665"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e7baf84149fb43950631415de231b3a41915aa3",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-369618cb",
"digest": {
"line_hashes": [
"217657283686725640655330854750472296981",
"209887427126358189164432798728287262880",
"240927574336016875717912347124755603749",
"259840889538993873279142291346172564643"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a27ed2f3695baf15f9b34d2d7a1f9fc105539a81",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm.h"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-3dbdd144",
"digest": {
"line_hashes": [
"217657283686725640655330854750472296981",
"209887427126358189164432798728287262880",
"240927574336016875717912347124755603749",
"259840889538993873279142291346172564643"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f928c0d5c02dbab49e8c19d98725c822f6fc409",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm.h"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-3f3551a2",
"digest": {
"function_hash": "114136363930397219739971445694860485382",
"length": 265.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f928c0d5c02dbab49e8c19d98725c822f6fc409",
"signature_type": "Function",
"target": {
"function": "tpm_chip_unregister",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-40bd9bb6",
"digest": {
"line_hashes": [
"62835703083129025496763579045386654648",
"178596401336784299918950525249916972875",
"52224170311876710372817736144997818414",
"173928792302618960847585340812497634591",
"64777807038447923857701631034553292213",
"50600998726931695094071648320272160968",
"11211536082164517269504494333931707758",
"240815651845515766323106809781153685010",
"184633099295727032762796659945148264015",
"252075384264914997821401631980457695458",
"22965402567246121950344577711941556705",
"18270047295317907326176823134365136640",
"124614412546017066657001523790788720795",
"253070404665109213857564137406160029937",
"153265618915339730814266851407305218913",
"274513627691151421298633370462154936782",
"120117330905977169312279022925134827584",
"160101436816913688869070788000794892392",
"330989896284413190533245637422907160777",
"283494486210001604428870156761254334050",
"102553733861848535021119425422194428887",
"220404635980409244940292680741976043759",
"312326041680075722355733272627410071767",
"303646242823813794051439093721811173855",
"113035998683547920480498239792614713676",
"50604142691181224715410791731012901570",
"242287897770138114081117706222577619970",
"239806292477952788495269657411016995180",
"317956121460157683026854703945813951465",
"264194520070447605426873339928825797645",
"170713580624472157524819645211349007000",
"311353548451945032803308068078800380892",
"233342839814909348723387904979262223970",
"224690776668006272215263674713608634446",
"185464307382163466295382326367448070295",
"313142836672528289025520024743309811236",
"74668136560375738812861929721017036059",
"175943722760715376509874043319522806684",
"181918104899465926601107341890417307023",
"332149193523083366617461147007851264478",
"164199183045729292752291408727116283013",
"131199848012202364477452660436654594660",
"127664194402779780794015085512588997687",
"65557205429650943271950238083481497140",
"152042921709834403687132520137211113108",
"34065129347880765542604673262019275253",
"294519469833897907264573350304550713069",
"226401715108089988556140059343345269274",
"228855575144127253004016688334828478995",
"231841751534208716526731864834890365233",
"252501200720444849929451779365972959621",
"119238597763803071947060924680300964063",
"242510757400716352144060466928685439173",
"110774599708468157263530210756401415937",
"339025385080178236161887525421036839370",
"181188885318425369132696205045152544495",
"62323963683875020899869470226222434525",
"50417323741135560730433845791754204665"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a27ed2f3695baf15f9b34d2d7a1f9fc105539a81",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-4c6d3f7e",
"digest": {
"line_hashes": [
"62835703083129025496763579045386654648",
"178596401336784299918950525249916972875",
"52224170311876710372817736144997818414",
"173928792302618960847585340812497634591",
"64777807038447923857701631034553292213",
"50600998726931695094071648320272160968",
"11211536082164517269504494333931707758",
"240815651845515766323106809781153685010",
"184633099295727032762796659945148264015",
"252075384264914997821401631980457695458",
"22965402567246121950344577711941556705",
"18270047295317907326176823134365136640",
"124614412546017066657001523790788720795",
"253070404665109213857564137406160029937",
"153265618915339730814266851407305218913",
"274513627691151421298633370462154936782",
"120117330905977169312279022925134827584",
"160101436816913688869070788000794892392",
"330989896284413190533245637422907160777",
"283494486210001604428870156761254334050",
"102553733861848535021119425422194428887",
"220404635980409244940292680741976043759",
"312326041680075722355733272627410071767",
"303646242823813794051439093721811173855",
"113035998683547920480498239792614713676",
"50604142691181224715410791731012901570",
"242287897770138114081117706222577619970",
"239806292477952788495269657411016995180",
"317956121460157683026854703945813951465",
"264194520070447605426873339928825797645",
"170713580624472157524819645211349007000",
"311353548451945032803308068078800380892",
"233342839814909348723387904979262223970",
"224690776668006272215263674713608634446",
"185464307382163466295382326367448070295",
"313142836672528289025520024743309811236",
"74668136560375738812861929721017036059",
"175943722760715376509874043319522806684",
"181918104899465926601107341890417307023",
"332149193523083366617461147007851264478",
"164199183045729292752291408727116283013",
"131199848012202364477452660436654594660",
"127664194402779780794015085512588997687",
"65557205429650943271950238083481497140",
"152042921709834403687132520137211113108",
"34065129347880765542604673262019275253",
"294519469833897907264573350304550713069",
"226401715108089988556140059343345269274",
"228855575144127253004016688334828478995",
"231841751534208716526731864834890365233",
"252501200720444849929451779365972959621",
"119238597763803071947060924680300964063",
"242510757400716352144060466928685439173",
"110774599708468157263530210756401415937",
"339025385080178236161887525421036839370",
"181188885318425369132696205045152544495",
"62323963683875020899869470226222434525",
"50417323741135560730433845791754204665"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f928c0d5c02dbab49e8c19d98725c822f6fc409",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-4de2cc8d",
"digest": {
"function_hash": "114136363930397219739971445694860485382",
"length": 265.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290e05f346d1829e849662c97e42d5ad984f5258",
"signature_type": "Function",
"target": {
"function": "tpm_chip_unregister",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-6a19e67b",
"digest": {
"function_hash": "114136363930397219739971445694860485382",
"length": 265.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a27ed2f3695baf15f9b34d2d7a1f9fc105539a81",
"signature_type": "Function",
"target": {
"function": "tpm_chip_unregister",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-6f385b47",
"digest": {
"function_hash": "185321107401978025918631180790031702622",
"length": 1864.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f928c0d5c02dbab49e8c19d98725c822f6fc409",
"signature_type": "Function",
"target": {
"function": "tpm_chip_alloc",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-720f294d",
"digest": {
"function_hash": "124682088873315369050672716065292665078",
"length": 192.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@473a66f99cb8173c14138c5a5c69bfad04e8f9ac",
"signature_type": "Function",
"target": {
"function": "tpm_chip_unregister",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-845cba63",
"digest": {
"function_hash": "185321107401978025918631180790031702622",
"length": 1864.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e7baf84149fb43950631415de231b3a41915aa3",
"signature_type": "Function",
"target": {
"function": "tpm_chip_alloc",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-85a00c5f",
"digest": {
"line_hashes": [
"62835703083129025496763579045386654648",
"178596401336784299918950525249916972875",
"52224170311876710372817736144997818414",
"173928792302618960847585340812497634591",
"64777807038447923857701631034553292213",
"50600998726931695094071648320272160968",
"11211536082164517269504494333931707758",
"240815651845515766323106809781153685010",
"184633099295727032762796659945148264015",
"252075384264914997821401631980457695458",
"22965402567246121950344577711941556705",
"18270047295317907326176823134365136640",
"124614412546017066657001523790788720795",
"253070404665109213857564137406160029937",
"153265618915339730814266851407305218913",
"274513627691151421298633370462154936782",
"120117330905977169312279022925134827584",
"160101436816913688869070788000794892392",
"330989896284413190533245637422907160777",
"283494486210001604428870156761254334050",
"102553733861848535021119425422194428887",
"220404635980409244940292680741976043759",
"312326041680075722355733272627410071767",
"303646242823813794051439093721811173855",
"113035998683547920480498239792614713676",
"50604142691181224715410791731012901570",
"242287897770138114081117706222577619970",
"239806292477952788495269657411016995180",
"317956121460157683026854703945813951465",
"264194520070447605426873339928825797645",
"170713580624472157524819645211349007000",
"311353548451945032803308068078800380892",
"233342839814909348723387904979262223970",
"224690776668006272215263674713608634446",
"185464307382163466295382326367448070295",
"313142836672528289025520024743309811236",
"74668136560375738812861929721017036059",
"175943722760715376509874043319522806684",
"181918104899465926601107341890417307023",
"332149193523083366617461147007851264478",
"222897632959122594260545880798935710028",
"317420899254840984308914490388190572703",
"140100817005081747813708869190560662556",
"65557205429650943271950238083481497140",
"152042921709834403687132520137211113108",
"34065129347880765542604673262019275253",
"294519469833897907264573350304550713069",
"226401715108089988556140059343345269274",
"228855575144127253004016688334828478995",
"231841751534208716526731864834890365233",
"252501200720444849929451779365972959621",
"119238597763803071947060924680300964063",
"242510757400716352144060466928685439173",
"110774599708468157263530210756401415937",
"165661833119785692677358222575649061412",
"289233867382572765895335247241208857769",
"15567935564545946192764553050124052654",
"50417323741135560730433845791754204665"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e0438f83dc769465ee663bb5dcf8cc154940712",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-8f97bce5",
"digest": {
"line_hashes": [
"113097409031273470822886877702188619157",
"230643055389604396478889077682246227421"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@473a66f99cb8173c14138c5a5c69bfad04e8f9ac",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm.h"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-95505240",
"digest": {
"line_hashes": [
"217657283686725640655330854750472296981",
"209887427126358189164432798728287262880",
"240927574336016875717912347124755603749",
"259840889538993873279142291346172564643"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@662893b4f6bd466ff9e1cd454c44c26d32d554fe",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm.h"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-9dd5722f",
"digest": {
"line_hashes": [
"62835703083129025496763579045386654648",
"178596401336784299918950525249916972875",
"52224170311876710372817736144997818414",
"173928792302618960847585340812497634591",
"64777807038447923857701631034553292213",
"50600998726931695094071648320272160968",
"11211536082164517269504494333931707758",
"240815651845515766323106809781153685010",
"184633099295727032762796659945148264015",
"252075384264914997821401631980457695458",
"22965402567246121950344577711941556705",
"18270047295317907326176823134365136640",
"124614412546017066657001523790788720795",
"253070404665109213857564137406160029937",
"153265618915339730814266851407305218913",
"274513627691151421298633370462154936782",
"120117330905977169312279022925134827584",
"160101436816913688869070788000794892392",
"330989896284413190533245637422907160777",
"283494486210001604428870156761254334050",
"102553733861848535021119425422194428887",
"220404635980409244940292680741976043759",
"312326041680075722355733272627410071767",
"303646242823813794051439093721811173855",
"113035998683547920480498239792614713676",
"50604142691181224715410791731012901570",
"242287897770138114081117706222577619970",
"239806292477952788495269657411016995180",
"317956121460157683026854703945813951465",
"264194520070447605426873339928825797645",
"170713580624472157524819645211349007000",
"311353548451945032803308068078800380892",
"233342839814909348723387904979262223970",
"224690776668006272215263674713608634446",
"185464307382163466295382326367448070295",
"313142836672528289025520024743309811236",
"74668136560375738812861929721017036059",
"175943722760715376509874043319522806684",
"181918104899465926601107341890417307023",
"332149193523083366617461147007851264478",
"164199183045729292752291408727116283013",
"131199848012202364477452660436654594660",
"127664194402779780794015085512588997687",
"65557205429650943271950238083481497140",
"152042921709834403687132520137211113108",
"34065129347880765542604673262019275253",
"294519469833897907264573350304550713069",
"226401715108089988556140059343345269274",
"228855575144127253004016688334828478995",
"231841751534208716526731864834890365233",
"252501200720444849929451779365972959621",
"119238597763803071947060924680300964063",
"242510757400716352144060466928685439173",
"110774599708468157263530210756401415937",
"339025385080178236161887525421036839370",
"181188885318425369132696205045152544495",
"62323963683875020899869470226222434525",
"50417323741135560730433845791754204665"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@662893b4f6bd466ff9e1cd454c44c26d32d554fe",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-a30da41c",
"digest": {
"line_hashes": [
"335664128627315815977272572175174549952",
"178596401336784299918950525249916972875",
"52224170311876710372817736144997818414",
"173928792302618960847585340812497634591",
"64777807038447923857701631034553292213",
"50600998726931695094071648320272160968",
"11211536082164517269504494333931707758",
"240815651845515766323106809781153685010",
"184633099295727032762796659945148264015",
"252075384264914997821401631980457695458",
"22965402567246121950344577711941556705",
"18270047295317907326176823134365136640",
"124614412546017066657001523790788720795",
"253070404665109213857564137406160029937",
"153265618915339730814266851407305218913",
"274513627691151421298633370462154936782",
"120117330905977169312279022925134827584",
"160101436816913688869070788000794892392",
"330989896284413190533245637422907160777",
"283494486210001604428870156761254334050",
"102553733861848535021119425422194428887",
"220404635980409244940292680741976043759",
"312326041680075722355733272627410071767",
"303646242823813794051439093721811173855",
"113035998683547920480498239792614713676",
"50604142691181224715410791731012901570",
"242287897770138114081117706222577619970",
"239806292477952788495269657411016995180",
"317956121460157683026854703945813951465",
"264194520070447605426873339928825797645",
"170713580624472157524819645211349007000",
"311353548451945032803308068078800380892",
"233342839814909348723387904979262223970",
"224690776668006272215263674713608634446",
"185464307382163466295382326367448070295",
"313142836672528289025520024743309811236",
"74668136560375738812861929721017036059",
"175943722760715376509874043319522806684",
"181918104899465926601107341890417307023",
"332149193523083366617461147007851264478",
"164199183045729292752291408727116283013",
"131199848012202364477452660436654594660",
"127664194402779780794015085512588997687",
"65557205429650943271950238083481497140",
"152042921709834403687132520137211113108",
"34065129347880765542604673262019275253",
"294519469833897907264573350304550713069",
"226401715108089988556140059343345269274",
"228855575144127253004016688334828478995",
"231841751534208716526731864834890365233",
"252501200720444849929451779365972959621",
"119238597763803071947060924680300964063",
"242510757400716352144060466928685439173",
"110774599708468157263530210756401415937",
"190935646462779548671899748031999580080",
"181188885318425369132696205045152544495",
"62323963683875020899869470226222434525",
"50417323741135560730433845791754204665"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@473a66f99cb8173c14138c5a5c69bfad04e8f9ac",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-a34b0836",
"digest": {
"function_hash": "92948117598300630253946035008319189718",
"length": 820.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e7baf84149fb43950631415de231b3a41915aa3",
"signature_type": "Function",
"target": {
"function": "tpm_add_char_device",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-bd3f7d71",
"digest": {
"function_hash": "185321107401978025918631180790031702622",
"length": 1864.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290e05f346d1829e849662c97e42d5ad984f5258",
"signature_type": "Function",
"target": {
"function": "tpm_chip_alloc",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-c264e04e",
"digest": {
"function_hash": "43663379650973808209120964999737457813",
"length": 796.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb64bd038beacb4331fe464a36c8b5481e8f51e2",
"signature_type": "Function",
"target": {
"function": "tpm_add_char_device",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-c397cbb2",
"digest": {
"function_hash": "185321107401978025918631180790031702622",
"length": 1864.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e0438f83dc769465ee663bb5dcf8cc154940712",
"signature_type": "Function",
"target": {
"function": "tpm_chip_alloc",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-c3e2fdf7",
"digest": {
"function_hash": "114136363930397219739971445694860485382",
"length": 265.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@662893b4f6bd466ff9e1cd454c44c26d32d554fe",
"signature_type": "Function",
"target": {
"function": "tpm_chip_unregister",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-cca1fa96",
"digest": {
"function_hash": "43663379650973808209120964999737457813",
"length": 796.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a27ed2f3695baf15f9b34d2d7a1f9fc105539a81",
"signature_type": "Function",
"target": {
"function": "tpm_add_char_device",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-cce21928",
"digest": {
"line_hashes": [
"335664128627315815977272572175174549952",
"178596401336784299918950525249916972875",
"52224170311876710372817736144997818414",
"173928792302618960847585340812497634591",
"64777807038447923857701631034553292213",
"50600998726931695094071648320272160968",
"11211536082164517269504494333931707758",
"240815651845515766323106809781153685010",
"184633099295727032762796659945148264015",
"252075384264914997821401631980457695458",
"22965402567246121950344577711941556705",
"18270047295317907326176823134365136640",
"124614412546017066657001523790788720795",
"253070404665109213857564137406160029937",
"153265618915339730814266851407305218913",
"274513627691151421298633370462154936782",
"120117330905977169312279022925134827584",
"160101436816913688869070788000794892392",
"330989896284413190533245637422907160777",
"283494486210001604428870156761254334050",
"102553733861848535021119425422194428887",
"220404635980409244940292680741976043759",
"312326041680075722355733272627410071767",
"303646242823813794051439093721811173855",
"113035998683547920480498239792614713676",
"50604142691181224715410791731012901570",
"242287897770138114081117706222577619970",
"239806292477952788495269657411016995180",
"317956121460157683026854703945813951465",
"264194520070447605426873339928825797645",
"170713580624472157524819645211349007000",
"311353548451945032803308068078800380892",
"233342839814909348723387904979262223970",
"224690776668006272215263674713608634446",
"185464307382163466295382326367448070295",
"313142836672528289025520024743309811236",
"74668136560375738812861929721017036059",
"175943722760715376509874043319522806684",
"181918104899465926601107341890417307023",
"332149193523083366617461147007851264478",
"164199183045729292752291408727116283013",
"131199848012202364477452660436654594660",
"127664194402779780794015085512588997687",
"65557205429650943271950238083481497140",
"152042921709834403687132520137211113108",
"34065129347880765542604673262019275253",
"294519469833897907264573350304550713069",
"226401715108089988556140059343345269274",
"228855575144127253004016688334828478995",
"231841751534208716526731864834890365233",
"252501200720444849929451779365972959621",
"119238597763803071947060924680300964063",
"242510757400716352144060466928685439173",
"110774599708468157263530210756401415937",
"339025385080178236161887525421036839370",
"181188885318425369132696205045152544495",
"62323963683875020899869470226222434525",
"50417323741135560730433845791754204665"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb64bd038beacb4331fe464a36c8b5481e8f51e2",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-cec77b36",
"digest": {
"function_hash": "92948117598300630253946035008319189718",
"length": 820.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e0438f83dc769465ee663bb5dcf8cc154940712",
"signature_type": "Function",
"target": {
"function": "tpm_add_char_device",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-d58ad433",
"digest": {
"function_hash": "114136363930397219739971445694860485382",
"length": 265.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb64bd038beacb4331fe464a36c8b5481e8f51e2",
"signature_type": "Function",
"target": {
"function": "tpm_chip_unregister",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-d80677ff",
"digest": {
"line_hashes": [
"62835703083129025496763579045386654648",
"178596401336784299918950525249916972875",
"52224170311876710372817736144997818414",
"173928792302618960847585340812497634591",
"64777807038447923857701631034553292213",
"50600998726931695094071648320272160968",
"11211536082164517269504494333931707758",
"240815651845515766323106809781153685010",
"184633099295727032762796659945148264015",
"252075384264914997821401631980457695458",
"22965402567246121950344577711941556705",
"18270047295317907326176823134365136640",
"124614412546017066657001523790788720795",
"253070404665109213857564137406160029937",
"153265618915339730814266851407305218913",
"274513627691151421298633370462154936782",
"120117330905977169312279022925134827584",
"160101436816913688869070788000794892392",
"330989896284413190533245637422907160777",
"283494486210001604428870156761254334050",
"102553733861848535021119425422194428887",
"220404635980409244940292680741976043759",
"312326041680075722355733272627410071767",
"303646242823813794051439093721811173855",
"113035998683547920480498239792614713676",
"50604142691181224715410791731012901570",
"242287897770138114081117706222577619970",
"239806292477952788495269657411016995180",
"317956121460157683026854703945813951465",
"264194520070447605426873339928825797645",
"170713580624472157524819645211349007000",
"311353548451945032803308068078800380892",
"233342839814909348723387904979262223970",
"224690776668006272215263674713608634446",
"185464307382163466295382326367448070295",
"313142836672528289025520024743309811236",
"74668136560375738812861929721017036059",
"175943722760715376509874043319522806684",
"181918104899465926601107341890417307023",
"332149193523083366617461147007851264478",
"164199183045729292752291408727116283013",
"131199848012202364477452660436654594660",
"127664194402779780794015085512588997687",
"65557205429650943271950238083481497140",
"152042921709834403687132520137211113108",
"34065129347880765542604673262019275253",
"294519469833897907264573350304550713069",
"226401715108089988556140059343345269274",
"228855575144127253004016688334828478995",
"231841751534208716526731864834890365233",
"252501200720444849929451779365972959621",
"119238597763803071947060924680300964063",
"242510757400716352144060466928685439173",
"110774599708468157263530210756401415937",
"339025385080178236161887525421036839370",
"181188885318425369132696205045152544495",
"62323963683875020899869470226222434525",
"50417323741135560730433845791754204665"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290e05f346d1829e849662c97e42d5ad984f5258",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-dab0dc7f",
"digest": {
"function_hash": "250920999295652012376963668504803859855",
"length": 313.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e0438f83dc769465ee663bb5dcf8cc154940712",
"signature_type": "Function",
"target": {
"function": "tpm_chip_unregister",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-e5a7267d",
"digest": {
"function_hash": "43663379650973808209120964999737457813",
"length": 796.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f928c0d5c02dbab49e8c19d98725c822f6fc409",
"signature_type": "Function",
"target": {
"function": "tpm_add_char_device",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-e82bf403",
"digest": {
"line_hashes": [
"113097409031273470822886877702188619157",
"295139784239009328236710839061479154574",
"59345151325237953331124256273814105396",
"150845330095109117129581569764045043796"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb64bd038beacb4331fe464a36c8b5481e8f51e2",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm.h"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-e928108a",
"digest": {
"function_hash": "185321107401978025918631180790031702622",
"length": 1864.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a27ed2f3695baf15f9b34d2d7a1f9fc105539a81",
"signature_type": "Function",
"target": {
"function": "tpm_chip_alloc",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-ebe70e9b",
"digest": {
"function_hash": "43663379650973808209120964999737457813",
"length": 796.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290e05f346d1829e849662c97e42d5ad984f5258",
"signature_type": "Function",
"target": {
"function": "tpm_add_char_device",
"file": "drivers/char/tpm/tpm-chip.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49287-f43495f3",
"digest": {
"line_hashes": [
"217657283686725640655330854750472296981",
"209887427126358189164432798728287262880",
"240927574336016875717912347124755603749",
"259840889538993873279142291346172564643"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e0438f83dc769465ee663bb5dcf8cc154940712",
"signature_type": "Line",
"target": {
"file": "drivers/char/tpm/tpm.h"
}
}
]