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]
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2171c5cb2fbc3e03af7e8116cd58736c09328655",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ks_pcie_quirk",
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-09294afc",
"digest": {
"length": 1560.0,
"function_hash": "264733670619228405797863970806872210575"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c9afc3e75069fcfb067727973242cfbf00dd7eb",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-37e72c02",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6188a1c762eb9bbd444f47696eda77a5eae6207a",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-42108ce6",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@23838bef2adb714ec37b2d6141dccf4a3a70bdef",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ks_pcie_quirk",
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-5fda306e",
"digest": {
"length": 1560.0,
"function_hash": "264733670619228405797863970806872210575"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6188a1c762eb9bbd444f47696eda77a5eae6207a",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ks_pcie_quirk",
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-7def8c7b",
"digest": {
"length": 1560.0,
"function_hash": "264733670619228405797863970806872210575"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2171c5cb2fbc3e03af7e8116cd58736c09328655",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-8c2ba959",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c9afc3e75069fcfb067727973242cfbf00dd7eb",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ks_pcie_quirk",
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-992a7fc4",
"digest": {
"length": 1552.0,
"function_hash": "25737991538625505648024785335659522314"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c289903b7a216df5ea6e1850ddf1b958eea9921d",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-9d6f310c",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@23838bef2adb714ec37b2d6141dccf4a3a70bdef",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-a014876a",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc5aeba07395c8dfa29bb878c8ce4d5180427221",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-ced73f12",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72210e52e19a27f615e0b5273d2bf012d0dc318d",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ks_pcie_quirk",
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-da360a01",
"digest": {
"length": 1560.0,
"function_hash": "264733670619228405797863970806872210575"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72210e52e19a27f615e0b5273d2bf012d0dc318d",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-dc9c0384",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc5aeba07395c8dfa29bb878c8ce4d5180427221",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ks_pcie_quirk",
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-e770c831",
"digest": {
"length": 1552.0,
"function_hash": "25737991538625505648024785335659522314"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e85ab507882db165c10a858d7f685a0a38f0312e",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ks_pcie_quirk",
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-e90a6f66",
"digest": {
"length": 1560.0,
"function_hash": "264733670619228405797863970806872210575"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e85ab507882db165c10a858d7f685a0a38f0312e",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-f40112c5",
"digest": {
"line_hashes": [
"197348036987127938999901477585798739621",
"42600878121532785095074108675442169331",
"37054229318773482795652484032615475715",
"288716617660936821827932338343012972983"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c289903b7a216df5ea6e1850ddf1b958eea9921d",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ks_pcie_quirk",
"file": "drivers/pci/controller/dwc/pci-keystone.c"
},
"id": "CVE-2024-47756-f65e88b1",
"digest": {
"length": 1552.0,
"function_hash": "25737991538625505648024785335659522314"
},
"deprecated": false
}
]