{
  "cveId": "CVE-2021-47365",
  "url": "https://patchblox.com/security/cve/CVE-2021-47365",
  "summary": "CVE-2021-47365 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47365, released May 21, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  afs: Fix page leak  There\u0027s a loop in afs_extend...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  afs: Fix page leak  There\u0027s a loop in afs_extend_writeback() that adds extra pages to a write we want to make to improve the efficiency of the writeback by making it larger.  This loop stops, however, if we hit a page we can\u0027t write back from immediately, but it doesn\u0027t get rid of the page ref we speculatively acquired.  This was caused by the removal of the cleanup loop when the code switched from using find_get_pages_contig() to xarray scanning as the latter only gets a single page at a time, not a batch.  Fix this by putting the page on a ref on an early break from the loop. Unfortunately, we can\u0027t just add that page to the pagevec we\u0027re employing as we\u0027ll go through that and add those pages to the RPC call.  This was found by the generic/074 test.  It leaks ~4GiB of RAM each time it is run - which can be observed with \u0022top\u0022.",
  "published": "2024-05-21T15:15:22Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00208,
  "epssPercentile": 0.10996,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.14.9-1",
      "fix": "DEBIAN-CVE-2021-47365",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47365",
      "released": "2024-05-21T15:15:22Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.14.9-1",
      "fix": "DEBIAN-CVE-2021-47365",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47365",
      "released": "2024-05-21T15:15:22Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.14.9-1",
      "fix": "DEBIAN-CVE-2021-47365",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47365",
      "released": "2024-05-21T15:15:22Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T07:25:28Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}