# CVE-2023-53814: PCI: Fix dropping valid root bus resources with .end = zero

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-09T00:01:11.827Z
- **Modified:** 2026-06-17T06:46:07.120Z

## Who should check

- Anyone running Linux \>= fd168b7d1d7cfc61cea561b1e3cc47aefc9e8f19, \< e4af080f3ef6a65b0d702988c2471a47c9ae2cc0; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< fe6a1fbe83f5b23d7db93596b793561230f06b40; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< 7e6f2714d93cdf977b6124a80af2cf0e14e2d407; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< 9d8ba74a181b1c81def21168795ed96cbe6f05ed
- Anyone running Linux 5.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

PCI: Fix dropping valid root bus resources with .end = zero

On r8a7791/koelsch:

  kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
  \# cat /sys/kernel/debug/kmemleak
  unreferenced object 0xc3a34e00 (size 64):
    comm "swapper/0", pid 1, jiffies 4294937460 (age 199.080s)
    hex dump (first 32 bytes):
      b4 5d 81 f0 b4 5d 81 f0 c0 b0 a2 c3 00 00 00 00  .\]...\]..........
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    backtrace:
      \[\<fe3aa979\>\] \_\_kmalloc+0xf0/0x140
      \[\<34bd6bc0\>\] resource\_list\_create\_entry+0x18/0x38
      \[\<767046bc\>\] pci\_add\_resource\_offset+0x20/0x68
      \[\<b3f3edf2\>\] devm\_of\_pci\_get\_host\_bridge\_resources.constprop.0+0xb0/0x390

When coalescing two resources for a contiguous aperture, the second
resource is enlarged to cover the full contiguous range, while the first
resource is marked invalid.  This invalidation is done by clearing the
flags, start, and end members.

When adding the initial resources to the bus later, invalid resources are
skipped.  Unfortunately, the check for an invalid resource considers only
the end member, causing false positives.

E.g. on r8a7791/koelsch, root bus resource 0 ("bus 00") is skipped, and no
longer registered with pci\_bus\_insert\_busn\_res() (causing the memory leak),
nor printed:

   pci-rcar-gen2 ee090000.pci: host bridge /soc/pci@ee090000 ranges:
   pci-rcar-gen2 ee090000.pci:      MEM 0x00ee080000..0x00ee08ffff -\> 0x00ee080000
   pci-rcar-gen2 ee090000.pci: PCI: revision 11
   pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00
  -pci\_bus 0000:00: root bus resource \[bus 00\]
   pci\_bus 0000:00: root bus resource \[mem 0xee080000-0xee08ffff\]

Fix this by only skipping resources where all of the flags, start, and end
members are zero.

## Affected and fixed versions

- Linux: \>= fd168b7d1d7cfc61cea561b1e3cc47aefc9e8f19, \< e4af080f3ef6a65b0d702988c2471a47c9ae2cc0; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< fe6a1fbe83f5b23d7db93596b793561230f06b40; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< 7e6f2714d93cdf977b6124a80af2cf0e14e2d407; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< 9d8ba74a181b1c81def21168795ed96cbe6f05ed (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 9d8ba74a181b1c81def21168795ed96cbe6f05ed or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53814. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53814.md
Affected: Linux >= fd168b7d1d7cfc61cea561b1e3cc47aefc9e8f19, < e4af080f3ef6a65b0d702988c2471a47c9ae2cc0; >= 7c3855c423b17f6ca211858afb0cef20569914c7, < fe6a1fbe83f5b23d7db93596b793561230f06b40; >= 7c3855c423b17f6ca211858afb0cef20569914c7, < 7e6f2714d93cdf977b6124a80af2cf0e14e2d407; >= 7c3855c423b17f6ca211858…
Fixed in: Linux 7e6f2714d93cdf977b6124a80af2cf0e14e2d407, Linux 9d8ba74a181b1c81def21168795ed96cbe6f05ed

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53814 being exploited?

There is no confirmed exploitation: CVE-2023-53814 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53814?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53814?

Linux \>= fd168b7d1d7cfc61cea561b1e3cc47aefc9e8f19, \< e4af080f3ef6a65b0d702988c2471a47c9ae2cc0; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< fe6a1fbe83f5b23d7db93596b793561230f06b40; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< 7e6f2714d93cdf977b6124a80af2cf0e14e2d407; \>= 7c3855c423b17f6ca211858afb0cef20569914c7, \< 9d8ba74a181b1c81def21168795ed96cbe6f05ed; Linux 5.16.

### Is there a fix for CVE-2023-53814?

Yes. Fixed in Linux 7e6f2714d93cdf977b6124a80af2cf0e14e2d407, Linux 9d8ba74a181b1c81def21168795ed96cbe6f05ed. Upgrade Linux to 9d8ba74a181b1c81def21168795ed96cbe6f05ed or later.

### How do I check if I'm affected by CVE-2023-53814?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e4af080f3ef6a65b0d702988c2471a47c9ae2cc0>
- other: <https://git.kernel.org/stable/c/fe6a1fbe83f5b23d7db93596b793561230f06b40>
- other: <https://git.kernel.org/stable/c/7e6f2714d93cdf977b6124a80af2cf0e14e2d407>
- other: <https://git.kernel.org/stable/c/9d8ba74a181b1c81def21168795ed96cbe6f05ed>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53814>

HTML: <https://flawdb.com/CVE-2023-53814> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53814>
