CVE-2023-53814 (GCVE-0-2023-53814)

Vulnerability from cvelistv5 – Published: 2025-12-09 00:01 – Updated: 2025-12-09 00:01
VLAI?
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: fd168b7d1d7cfc61cea561b1e3cc47aefc9e8f19 , < e4af080f3ef6a65b0d702988c2471a47c9ae2cc0 (git)
Affected: 7c3855c423b17f6ca211858afb0cef20569914c7 , < fe6a1fbe83f5b23d7db93596b793561230f06b40 (git)
Affected: 7c3855c423b17f6ca211858afb0cef20569914c7 , < 7e6f2714d93cdf977b6124a80af2cf0e14e2d407 (git)
Affected: 7c3855c423b17f6ca211858afb0cef20569914c7 , < 9d8ba74a181b1c81def21168795ed96cbe6f05ed (git)
Create a notification for this product.
    Linux Linux Affected: 5.16
Unaffected: 0 , < 5.16 (semver)
Unaffected: 6.1.16 , ≤ 6.1.* (semver)
Unaffected: 6.2.3 , ≤ 6.2.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/probe.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e4af080f3ef6a65b0d702988c2471a47c9ae2cc0",
              "status": "affected",
              "version": "fd168b7d1d7cfc61cea561b1e3cc47aefc9e8f19",
              "versionType": "git"
            },
            {
              "lessThan": "fe6a1fbe83f5b23d7db93596b793561230f06b40",
              "status": "affected",
              "version": "7c3855c423b17f6ca211858afb0cef20569914c7",
              "versionType": "git"
            },
            {
              "lessThan": "7e6f2714d93cdf977b6124a80af2cf0e14e2d407",
              "status": "affected",
              "version": "7c3855c423b17f6ca211858afb0cef20569914c7",
              "versionType": "git"
            },
            {
              "lessThan": "9d8ba74a181b1c81def21168795ed96cbe6f05ed",
              "status": "affected",
              "version": "7c3855c423b17f6ca211858afb0cef20569914c7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/probe.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Fix dropping valid root bus resources with .end = zero\n\nOn r8a7791/koelsch:\n\n  kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak)\n  # cat /sys/kernel/debug/kmemleak\n  unreferenced object 0xc3a34e00 (size 64):\n    comm \"swapper/0\", pid 1, jiffies 4294937460 (age 199.080s)\n    hex dump (first 32 bytes):\n      b4 5d 81 f0 b4 5d 81 f0 c0 b0 a2 c3 00 00 00 00  .]...]..........\n      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    backtrace:\n      [\u003cfe3aa979\u003e] __kmalloc+0xf0/0x140\n      [\u003c34bd6bc0\u003e] resource_list_create_entry+0x18/0x38\n      [\u003c767046bc\u003e] pci_add_resource_offset+0x20/0x68\n      [\u003cb3f3edf2\u003e] devm_of_pci_get_host_bridge_resources.constprop.0+0xb0/0x390\n\nWhen coalescing two resources for a contiguous aperture, the second\nresource is enlarged to cover the full contiguous range, while the first\nresource is marked invalid.  This invalidation is done by clearing the\nflags, start, and end members.\n\nWhen adding the initial resources to the bus later, invalid resources are\nskipped.  Unfortunately, the check for an invalid resource considers only\nthe end member, causing false positives.\n\nE.g. on r8a7791/koelsch, root bus resource 0 (\"bus 00\") is skipped, and no\nlonger registered with pci_bus_insert_busn_res() (causing the memory leak),\nnor printed:\n\n   pci-rcar-gen2 ee090000.pci: host bridge /soc/pci@ee090000 ranges:\n   pci-rcar-gen2 ee090000.pci:      MEM 0x00ee080000..0x00ee08ffff -\u003e 0x00ee080000\n   pci-rcar-gen2 ee090000.pci: PCI: revision 11\n   pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00\n  -pci_bus 0000:00: root bus resource [bus 00]\n   pci_bus 0000:00: root bus resource [mem 0xee080000-0xee08ffff]\n\nFix this by only skipping resources where all of the flags, start, and end\nmembers are zero."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-09T00:01:11.827Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e4af080f3ef6a65b0d702988c2471a47c9ae2cc0"
        },
        {
          "url": "https://git.kernel.org/stable/c/fe6a1fbe83f5b23d7db93596b793561230f06b40"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e6f2714d93cdf977b6124a80af2cf0e14e2d407"
        },
        {
          "url": "https://git.kernel.org/stable/c/9d8ba74a181b1c81def21168795ed96cbe6f05ed"
        }
      ],
      "title": "PCI: Fix dropping valid root bus resources with .end = zero",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53814",
    "datePublished": "2025-12-09T00:01:11.827Z",
    "dateReserved": "2025-12-08T23:58:35.277Z",
    "dateUpdated": "2025-12-09T00:01:11.827Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53814\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-09T01:16:53.590\",\"lastModified\":\"2025-12-09T18:37:13.640\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nPCI: Fix dropping valid root bus resources with .end = zero\\n\\nOn r8a7791/koelsch:\\n\\n  kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak)\\n  # cat /sys/kernel/debug/kmemleak\\n  unreferenced object 0xc3a34e00 (size 64):\\n    comm \\\"swapper/0\\\", pid 1, jiffies 4294937460 (age 199.080s)\\n    hex dump (first 32 bytes):\\n      b4 5d 81 f0 b4 5d 81 f0 c0 b0 a2 c3 00 00 00 00  .]...]..........\\n      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\\n    backtrace:\\n      [\u003cfe3aa979\u003e] __kmalloc+0xf0/0x140\\n      [\u003c34bd6bc0\u003e] resource_list_create_entry+0x18/0x38\\n      [\u003c767046bc\u003e] pci_add_resource_offset+0x20/0x68\\n      [\u003cb3f3edf2\u003e] devm_of_pci_get_host_bridge_resources.constprop.0+0xb0/0x390\\n\\nWhen coalescing two resources for a contiguous aperture, the second\\nresource is enlarged to cover the full contiguous range, while the first\\nresource is marked invalid.  This invalidation is done by clearing the\\nflags, start, and end members.\\n\\nWhen adding the initial resources to the bus later, invalid resources are\\nskipped.  Unfortunately, the check for an invalid resource considers only\\nthe end member, causing false positives.\\n\\nE.g. on r8a7791/koelsch, root bus resource 0 (\\\"bus 00\\\") is skipped, and no\\nlonger registered with pci_bus_insert_busn_res() (causing the memory leak),\\nnor printed:\\n\\n   pci-rcar-gen2 ee090000.pci: host bridge /soc/pci@ee090000 ranges:\\n   pci-rcar-gen2 ee090000.pci:      MEM 0x00ee080000..0x00ee08ffff -\u003e 0x00ee080000\\n   pci-rcar-gen2 ee090000.pci: PCI: revision 11\\n   pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00\\n  -pci_bus 0000:00: root bus resource [bus 00]\\n   pci_bus 0000:00: root bus resource [mem 0xee080000-0xee08ffff]\\n\\nFix this by only skipping resources where all of the flags, start, and end\\nmembers are zero.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/7e6f2714d93cdf977b6124a80af2cf0e14e2d407\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9d8ba74a181b1c81def21168795ed96cbe6f05ed\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e4af080f3ef6a65b0d702988c2471a47c9ae2cc0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fe6a1fbe83f5b23d7db93596b793561230f06b40\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…