In the Linux kernel, the following vulnerability has been resolved:
perf/x86/intel/uncore: Fix reference count leak in hswephaslimit_sbox()
pcigetdevice() will increase the reference count for the returned 'dev'. We need to call pcidevput() to decrease the reference count. Since 'dev' is only used in pcireadconfigdword(), let's add pcidev_put() right after it.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1ff9dd6e7071a561f803135c1d684b13c7a7d01d",
"target": {
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-18b44bc0",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"133772565819757167431003107499652674455",
"297876356048053237441576296283468613960",
"130092707037949059476940555951074220507",
"262616920867120583060976099777567491009"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd66877c0b3b42eed0ecee0bd2a2a505c1e54177",
"target": {
"function": "hswep_has_limit_sbox",
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-396a1786",
"signature_type": "Function",
"digest": {
"function_hash": "144421738539859963975491724148310924590",
"length": 261.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@48f32b9a74e2ac8e854bb87bfefdbc745125a123",
"target": {
"function": "hswep_has_limit_sbox",
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-3ea0ac48",
"signature_type": "Function",
"digest": {
"function_hash": "144421738539859963975491724148310924590",
"length": 261.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1ff9dd6e7071a561f803135c1d684b13c7a7d01d",
"target": {
"function": "hswep_has_limit_sbox",
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-5c1a701f",
"signature_type": "Function",
"digest": {
"function_hash": "144421738539859963975491724148310924590",
"length": 261.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@48f32b9a74e2ac8e854bb87bfefdbc745125a123",
"target": {
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-5c56798c",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"133772565819757167431003107499652674455",
"297876356048053237441576296283468613960",
"130092707037949059476940555951074220507",
"262616920867120583060976099777567491009"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5a96c10a56037db006ba6769307a9731cf6073be",
"target": {
"function": "hswep_has_limit_sbox",
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-66912f5c",
"signature_type": "Function",
"digest": {
"function_hash": "144421738539859963975491724148310924590",
"length": 261.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3485f197518061371568f842405159aa9e4df551",
"target": {
"function": "hswep_has_limit_sbox",
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-88e66da8",
"signature_type": "Function",
"digest": {
"function_hash": "144421738539859963975491724148310924590",
"length": 261.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3485f197518061371568f842405159aa9e4df551",
"target": {
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-8bde6191",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"133772565819757167431003107499652674455",
"297876356048053237441576296283468613960",
"130092707037949059476940555951074220507",
"262616920867120583060976099777567491009"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0539d5d474ee6fa4ebc41f927a0f98f81244f25",
"target": {
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-b274b964",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"133772565819757167431003107499652674455",
"297876356048053237441576296283468613960",
"130092707037949059476940555951074220507",
"262616920867120583060976099777567491009"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0539d5d474ee6fa4ebc41f927a0f98f81244f25",
"target": {
"function": "hswep_has_limit_sbox",
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-b9c12661",
"signature_type": "Function",
"digest": {
"function_hash": "144421738539859963975491724148310924590",
"length": 261.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e293263248f25c6b8aa1caf7c1103d40aa03311e",
"target": {
"function": "hswep_has_limit_sbox",
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-bf9de1ae",
"signature_type": "Function",
"digest": {
"function_hash": "144421738539859963975491724148310924590",
"length": 261.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e293263248f25c6b8aa1caf7c1103d40aa03311e",
"target": {
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-d554270b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"133772565819757167431003107499652674455",
"297876356048053237441576296283468613960",
"130092707037949059476940555951074220507",
"262616920867120583060976099777567491009"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd66877c0b3b42eed0ecee0bd2a2a505c1e54177",
"target": {
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-dfc804f1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"133772565819757167431003107499652674455",
"297876356048053237441576296283468613960",
"130092707037949059476940555951074220507",
"262616920867120583060976099777567491009"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5a96c10a56037db006ba6769307a9731cf6073be",
"target": {
"file": "arch/x86/events/intel/uncore_snbep.c"
},
"id": "CVE-2022-50318-ef10cb9e",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"133772565819757167431003107499652674455",
"297876356048053237441576296283468613960",
"130092707037949059476940555951074220507",
"262616920867120583060976099777567491009"
]
},
"deprecated": false,
"signature_version": "v1"
}
]