{
  "cveId": "CVE-2021-47396",
  "url": "https://patchblox.com/security/cve/CVE-2021-47396",
  "summary": "CVE-2021-47396 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47396, 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:  mac80211-hwsim: fix late beacon hrtimer handling...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  mac80211-hwsim: fix late beacon hrtimer handling  Thomas explained in https://lore.kernel.org/r/87mtoeb4hb.ffs@tglx that our handling of the hrtimer here is wrong: If the timer fires late (e.g. due to vCPU scheduling, as reported by Dmitry/syzbot) then it tries to actually rearm the timer at the next deadline, which might be in the past already:   1          2          3          N          N\u002B1  |          |          |   ...    |          |   ^ intended to fire here (1)             ^ next deadline here (2)                                       ^ actually fired here  The next time it fires, it\u0027s later, but will still try to schedule for the next deadline (now 3), etc. until it catches up with N, but that might take a long time, causing stalls etc.  Now, all of this is simulation, so we just have to fix it, but note that the behaviour is wrong even per spec, since there\u0027s no value then in sending all those beacons unaligned - they should be aligned to the TBTT (1, 2, 3, ... in the picture), and if we\u0027re a bit (or a lot) late, then just resume at that point.  Therefore, change the code to use hrtimer_forward_now() which will ensure that the next firing of the timer would be at N\u002B1 (in the picture), i.e. the next interval point after the current time.",
  "published": "2024-05-21T15:15:24Z",
  "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.00239,
  "epssPercentile": 0.15033,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.14.12-1",
      "fix": "DEBIAN-CVE-2021-47396",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47396",
      "released": "2024-05-21T15:15:24Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.14.12-1",
      "fix": "DEBIAN-CVE-2021-47396",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47396",
      "released": "2024-05-21T15:15:24Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.14.12-1",
      "fix": "DEBIAN-CVE-2021-47396",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47396",
      "released": "2024-05-21T15:15:24Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}