{
  "cveId": "CVE-2023-53123",
  "url": "https://patchblox.com/security/cve/CVE-2023-53123",
  "summary": "CVE-2023-53123 is fixed in 20 products on 1 platform, first by ALAS2023-2023-148, released March 30, 2023. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  PCI: s390: Fix use-after-free of PCI resources w...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  PCI: s390: Fix use-after-free of PCI resources with per-function hotplug  On s390 PCI functions may be hotplugged individually even when they belong to a multi-function device. In particular on an SR-IOV device VFs may be removed and later re-added.  In commit a50297cf8235 (\u0022s390/pci: separate zbus creation from scanning\u0022) it was missed however that struct pci_bus and struct zpci_bus\u0027s resource list retained a reference to the PCI functions MMIO resources even though those resources are released and freed on hot-unplug. These stale resources may subsequently be claimed when the PCI function re-appears resulting in use-after-free.  One idea of fixing this use-after-free in s390 specific code that was investigated was to simply keep resources around from the moment a PCI function first appeared until the whole virtual PCI bus created for a multi-function device disappears. The problem with this however is that due to the requirement of artificial MMIO addreesses (address cookies) extra logic is then needed to keep the address cookies compatible on re-plug. At the same time the MMIO resources semantically belong to the PCI function so tying their lifecycle to the function seems more logical.  Instead a simpler approach is to remove the resources of an individually hot-unplugged PCI function from the PCI bus\u0027s resource list while keeping the resources of other PCI functions on the PCI bus untouched.  This is done by introducing pci_bus_remove_resource() to remove an individual resource. Similarly the resource also needs to be removed from the struct zpci_bus\u0027s resource list. It turns out however, that there is really no need to add the MMIO resources to the struct zpci_bus\u0027s resource list at all and instead we can simply use the zpci_bar_struct\u0027s resource pointer directly.",
  "published": "2023-03-30T21:11:00Z",
  "severity": "high",
  "cvss": 7.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00192,
  "epssPercentile": 0.08943,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "bpftool",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "bpftool-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo-common-aarch64",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debuginfo-common-x86_64",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-headers",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-libbpf-static",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-6.1.21-1.45",
      "release": "amzn 2023",
      "fixedVersion": "1.0-0.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-devel",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.25-1",
      "fix": "DEBIAN-CVE-2023-53123",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-53123",
      "released": "2025-05-02T16:15:31Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.1.25-1",
      "fix": "DEBIAN-CVE-2023-53123",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-53123",
      "released": "2025-05-02T16:15:31Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.1.25-1",
      "fix": "DEBIAN-CVE-2023-53123",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-53123",
      "released": "2025-05-02T16:15:31Z"
    },
    {
      "platform": "linux",
      "product": "perf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "perf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "6.1.21-1.45.amzn2023",
      "fix": "ALAS2023-2023-148",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-148",
      "released": "2023-03-30T21:11:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}