In the Linux kernel, the following vulnerability has been resolved:
mmc: sdhci-pci: Fix possible memory leak caused by missing pcidevput()
pcigetdevice() will increase the reference count for the returned pcidev. We need to use pcidevput() to decrease the reference count before amdprobe() returns. There is no problem for the 'smbusdev == NULL' branch because pcidev_put() can also handle the NULL input parameter case.
[
{
"id": "CVE-2022-49787-2a4a0f12",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"64799138466660729077213074407873576127",
"65619541272491956211236402825503055517",
"255190105953631002166560148698914828001"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7570e5b5419ffd34b6dc45a88c51e113a9a187e3",
"signature_type": "Line"
},
{
"id": "CVE-2022-49787-2df60dbf",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"64799138466660729077213074407873576127",
"65619541272491956211236402825503055517",
"255190105953631002166560148698914828001"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4423866d31a06a810db22062ed13389416a66b22",
"signature_type": "Line"
},
{
"id": "CVE-2022-49787-3cc27721",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 556.0,
"function_hash": "326446542065334171235495187215420543116"
},
"target": {
"function": "amd_probe",
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@222cfa0118aa68687ace74aab8fdf77ce8fbd7e6",
"signature_type": "Function"
},
{
"id": "CVE-2022-49787-444ebf49",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"64799138466660729077213074407873576127",
"65619541272491956211236402825503055517",
"255190105953631002166560148698914828001"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@222cfa0118aa68687ace74aab8fdf77ce8fbd7e6",
"signature_type": "Line"
},
{
"id": "CVE-2022-49787-4d979dd2",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 556.0,
"function_hash": "326446542065334171235495187215420543116"
},
"target": {
"function": "amd_probe",
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35bca18092685b488003509fef7055aa2d4f2ebc",
"signature_type": "Function"
},
{
"id": "CVE-2022-49787-6939daa1",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 556.0,
"function_hash": "326446542065334171235495187215420543116"
},
"target": {
"function": "amd_probe",
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7570e5b5419ffd34b6dc45a88c51e113a9a187e3",
"signature_type": "Function"
},
{
"id": "CVE-2022-49787-805be48c",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"64799138466660729077213074407873576127",
"65619541272491956211236402825503055517",
"255190105953631002166560148698914828001"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a99a547658e5d451f01ed307426286716b6f01bf",
"signature_type": "Line"
},
{
"id": "CVE-2022-49787-a19316b3",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"64799138466660729077213074407873576127",
"65619541272491956211236402825503055517",
"255190105953631002166560148698914828001"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5dbd6378dbf96787d6dbcca44156c511ae085ea3",
"signature_type": "Line"
},
{
"id": "CVE-2022-49787-aaca15a4",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 556.0,
"function_hash": "326446542065334171235495187215420543116"
},
"target": {
"function": "amd_probe",
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27f712cd47d65e14cd52cc32a23d42aeef583d5d",
"signature_type": "Function"
},
{
"id": "CVE-2022-49787-adbbf978",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 556.0,
"function_hash": "326446542065334171235495187215420543116"
},
"target": {
"function": "amd_probe",
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a99a547658e5d451f01ed307426286716b6f01bf",
"signature_type": "Function"
},
{
"id": "CVE-2022-49787-c2e1aebb",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"64799138466660729077213074407873576127",
"65619541272491956211236402825503055517",
"255190105953631002166560148698914828001"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35bca18092685b488003509fef7055aa2d4f2ebc",
"signature_type": "Line"
},
{
"id": "CVE-2022-49787-d5fc6a35",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 556.0,
"function_hash": "326446542065334171235495187215420543116"
},
"target": {
"function": "amd_probe",
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5dbd6378dbf96787d6dbcca44156c511ae085ea3",
"signature_type": "Function"
},
{
"id": "CVE-2022-49787-e6436777",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 556.0,
"function_hash": "326446542065334171235495187215420543116"
},
"target": {
"function": "amd_probe",
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4423866d31a06a810db22062ed13389416a66b22",
"signature_type": "Function"
},
{
"id": "CVE-2022-49787-f1ce4d8e",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"64799138466660729077213074407873576127",
"65619541272491956211236402825503055517",
"255190105953631002166560148698914828001"
],
"threshold": 0.9
},
"target": {
"file": "drivers/mmc/host/sdhci-pci-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27f712cd47d65e14cd52cc32a23d42aeef583d5d",
"signature_type": "Line"
}
]