In the Linux kernel, the following vulnerability has been resolved:
PCI: keystone: Fix if-statement expression in kspciequirk()
This code accidentally uses && where || was intended. It potentially results in a NULL dereference.
Thus, fix the if-statement expression to use the correct condition.
[kwilczynski: commit log]
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c",
"function": "ks_pcie_quirk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2171c5cb2fbc3e03af7e8116cd58736c09328655",
"digest": {
"length": 1560.0,
"function_hash": "264733670619228405797863970806872210575"
},
"id": "CVE-2024-47756-09294afc"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c9afc3e75069fcfb067727973242cfbf00dd7eb",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"id": "CVE-2024-47756-37e72c02"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6188a1c762eb9bbd444f47696eda77a5eae6207a",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"id": "CVE-2024-47756-42108ce6"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c",
"function": "ks_pcie_quirk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6188a1c762eb9bbd444f47696eda77a5eae6207a",
"digest": {
"length": 1560.0,
"function_hash": "264733670619228405797863970806872210575"
},
"id": "CVE-2024-47756-7def8c7b"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2171c5cb2fbc3e03af7e8116cd58736c09328655",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"id": "CVE-2024-47756-8c2ba959"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c",
"function": "ks_pcie_quirk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c9afc3e75069fcfb067727973242cfbf00dd7eb",
"digest": {
"length": 1552.0,
"function_hash": "25737991538625505648024785335659522314"
},
"id": "CVE-2024-47756-992a7fc4"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c",
"function": "ks_pcie_quirk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72210e52e19a27f615e0b5273d2bf012d0dc318d",
"digest": {
"length": 1560.0,
"function_hash": "264733670619228405797863970806872210575"
},
"id": "CVE-2024-47756-da360a01"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72210e52e19a27f615e0b5273d2bf012d0dc318d",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"id": "CVE-2024-47756-dc9c0384"
}
]