Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-43823

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: PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs() If IORESOURCE_MEM is not provided in Device Tree due to any error, resource_list_first_type() will return NULL and pci_parse_request_of_pci_ranges() will just emit a warning. This will cause a NULL pointer dereference. Fix this bug by adding NULL return check. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0f71c60ffd26943fa9646aa73ad7889ace116ce2 to < bbba48ad67c53feea05936ea1e029dcca8057506affected
  • 0f71c60ffd26943fa9646aa73ad7889ace116ce2 to < 0a6f1b5fe8ef8268aaa069035639968ceeea0a23affected
  • 0f71c60ffd26943fa9646aa73ad7889ace116ce2 to < dbcdd1863ba2ec9b76ec131df25d797709e05597affected
  • 0f71c60ffd26943fa9646aa73ad7889ace116ce2 to < a231707a91f323af1e5d9f1722055ec2fc1c7775affected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 6.1.103 to ≤ 6.1.*unaffected
  • 6.6.44 to ≤ 6.6.*unaffected
  • 6.10.3 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References