{
  "cveId": "CVE-2021-47334",
  "url": "https://patchblox.com/security/cve/CVE-2021-47334",
  "summary": "CVE-2021-47334 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47334, 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:  misc/libmasm/module: Fix two use after free in i...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  misc/libmasm/module: Fix two use after free in ibmasm_init_one  In ibmasm_init_one, it calls ibmasm_init_remote_input_dev(). Inside ibmasm_init_remote_input_dev, mouse_dev and keybd_dev are allocated by input_allocate_device(), and assigned to sp-\u003Eremote.mouse_dev and sp-\u003Eremote.keybd_dev respectively.  In the err_free_devices error branch of ibmasm_init_one, mouse_dev and keybd_dev are freed by input_free_device(), and return error. Then the execution runs into error_send_message error branch of ibmasm_init_one, where ibmasm_free_remote_input_dev(sp) is called to unregister the freed sp-\u003Eremote.mouse_dev and sp-\u003Eremote.keybd_dev.  My patch add a \u0022error_init_remote\u0022 label to handle the error of ibmasm_init_remote_input_dev(), to avoid the uaf bugs.",
  "published": "2024-05-21T15:15:20Z",
  "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.00278,
  "epssPercentile": 0.20345,
  "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-47334",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47334",
      "released": "2024-05-21T15:15:20Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.14.6-1",
      "fix": "DEBIAN-CVE-2021-47334",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47334",
      "released": "2024-05-21T15:15:20Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.14.6-1",
      "fix": "DEBIAN-CVE-2021-47334",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47334",
      "released": "2024-05-21T15:15:20Z"
    }
  ],
  "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"
  }
}