CVE-2024-43823

PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()

State
Published
Severity
Not scored
Published
Aug 17, 2024
Updated
May 11, 2026
Reserved
Aug 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0f71c60ffd26943fa9646aa73ad7889ace116ce2 to before bbba48ad67c53feea05936ea1e029dcca8057506Affected
  • 0f71c60ffd26943fa9646aa73ad7889ace116ce2 to before 0a6f1b5fe8ef8268aaa069035639968ceeea0a23Affected
  • 0f71c60ffd26943fa9646aa73ad7889ace116ce2 to before dbcdd1863ba2ec9b76ec131df25d797709e05597Affected
  • 0f71c60ffd26943fa9646aa73ad7889ace116ce2 to before a231707a91f323af1e5d9f1722055ec2fc1c7775Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 6.1.103 through 6.1.*Not affected
  • 6.6.44 through 6.6.*Not affected
  • 6.10.3 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.