{"id":"CVE-2024-43823","state":"PUBLISHED","title":"PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()\n\nIf IORESOURCE_MEM is not provided in Device Tree due to\nany error, resource_list_first_type() will return NULL and\npci_parse_request_of_pci_ranges() will just emit a warning.\n\nThis will cause a NULL pointer dereference. Fix this bug by adding NULL\nreturn check.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","publishedAt":"2024-08-17T09:21:43.843Z","updatedAt":"2026-05-11T20:30:27.682Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0f71c60ffd26943fa9646aa73ad7889ace116ce2","status":"affected","lessThan":"bbba48ad67c53feea05936ea1e029dcca8057506","versionType":"git"},{"version":"0f71c60ffd26943fa9646aa73ad7889ace116ce2","status":"affected","lessThan":"0a6f1b5fe8ef8268aaa069035639968ceeea0a23","versionType":"git"},{"version":"0f71c60ffd26943fa9646aa73ad7889ace116ce2","status":"affected","lessThan":"dbcdd1863ba2ec9b76ec131df25d797709e05597","versionType":"git"},{"version":"0f71c60ffd26943fa9646aa73ad7889ace116ce2","status":"affected","lessThan":"a231707a91f323af1e5d9f1722055ec2fc1c7775","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/controller/dwc/pci-keystone.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"6.1.103","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.44","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.3","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/controller/dwc/pci-keystone.c"]}],"references":["https://git.kernel.org/stable/c/bbba48ad67c53feea05936ea1e029dcca8057506","https://git.kernel.org/stable/c/0a6f1b5fe8ef8268aaa069035639968ceeea0a23","https://git.kernel.org/stable/c/dbcdd1863ba2ec9b76ec131df25d797709e05597","https://git.kernel.org/stable/c/a231707a91f323af1e5d9f1722055ec2fc1c7775","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/43xxx/CVE-2024-43823.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-43823","state":"PUBLISHED","datePublished":"2024-08-17T09:21:43.843Z","dateUpdated":"2026-05-11T20:30:27.682Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-17T09:11:59.271Z"},"containers":{"cna":{"title":"PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()\n\nIf IORESOURCE_MEM is not provided in Device Tree due to\nany error, resource_list_first_type() will return NULL and\npci_parse_request_of_pci_ranges() will just emit a warning.\n\nThis will cause a NULL pointer dereference. Fix this bug by adding NULL\nreturn check.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0f71c60ffd26943fa9646aa73ad7889ace116ce2","status":"affected","lessThan":"bbba48ad67c53feea05936ea1e029dcca8057506","versionType":"git"},{"version":"0f71c60ffd26943fa9646aa73ad7889ace116ce2","status":"affected","lessThan":"0a6f1b5fe8ef8268aaa069035639968ceeea0a23","versionType":"git"},{"version":"0f71c60ffd26943fa9646aa73ad7889ace116ce2","status":"affected","lessThan":"dbcdd1863ba2ec9b76ec131df25d797709e05597","versionType":"git"},{"version":"0f71c60ffd26943fa9646aa73ad7889ace116ce2","status":"affected","lessThan":"a231707a91f323af1e5d9f1722055ec2fc1c7775","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/controller/dwc/pci-keystone.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"6.1.103","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.44","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.3","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/controller/dwc/pci-keystone.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bbba48ad67c53feea05936ea1e029dcca8057506"},{"url":"https://git.kernel.org/stable/c/0a6f1b5fe8ef8268aaa069035639968ceeea0a23"},{"url":"https://git.kernel.org/stable/c/dbcdd1863ba2ec9b76ec131df25d797709e05597"},{"url":"https://git.kernel.org/stable/c/a231707a91f323af1e5d9f1722055ec2fc1c7775"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:30:27.682Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.1.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.6.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.10.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-43823","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:08:54.421311Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:33:24.690Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:05:06.437Z"}}]}}}