{
  "cveId": "CVE-2021-47318",
  "url": "https://patchblox.com/security/cve/CVE-2021-47318",
  "summary": "CVE-2021-47318 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47318, released May 21, 2024. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  arch_topology: Avoid use-after-free for scale_fr...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  arch_topology: Avoid use-after-free for scale_freq_data  Currently topology_scale_freq_tick() (which gets called from scheduler_tick()) may end up using a pointer to \u0022struct scale_freq_data\u0022, which was previously cleared by topology_clear_scale_freq_source(), as there is no protection in place here. The users of topology_clear_scale_freq_source() though needs a guarantee that the previously cleared scale_freq_data isn\u0027t used anymore, so they can free the related resources.  Since topology_scale_freq_tick() is called from scheduler tick, we don\u0027t want to add locking in there. Use the RCU update mechanism instead (which is already used by the scheduler\u0027s utilization update path) to guarantee race free updates here.  synchronize_rcu() makes sure that all RCU critical sections that started before it is called, will finish before it returns. And so the callers of topology_clear_scale_freq_source() don\u0027t need to worry about their callback getting called anymore.",
  "published": "2024-05-21T15:15:19Z",
  "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.0023,
  "epssPercentile": 0.13845,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.14.6-1",
      "fix": "DEBIAN-CVE-2021-47318",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47318",
      "released": "2024-05-21T15:15:19Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.14.6-1",
      "fix": "DEBIAN-CVE-2021-47318",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47318",
      "released": "2024-05-21T15:15:19Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.14.6-1",
      "fix": "DEBIAN-CVE-2021-47318",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47318",
      "released": "2024-05-21T15:15:19Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T13:31:49Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}