{
  "id": "CVE-2025-21976",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21976",
  "published_at": "2025-04-01T15:47:07.12Z",
  "title": "fbdev: hyperv_fb: Allow graceful removal of framebuffer",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: hyperv_fb: Allow graceful removal of framebuffer\n\nWhen a Hyper-V framebuffer device is unbind, hyperv_fb driver tries to\nrelease the framebuffer forcefully. If this framebuffer is in use it\nproduce the following WARN and hence this framebuffer is never released.\n\n[   44.111220] WARNING: CPU: 35 PID: 1882 at drivers/video/fbdev/core/fb_info.c:70 framebuffer_release+0x2c/0x40\n\u003c snip \u003e\n[   44.111289] Call Trace:\n[   44.111290]  \u003cTASK\u003e\n[   44.111291]  ? show_regs+0x6c/0x80\n[   44.111295]  ? __warn+0x8d/0x150\n[   44.111298]  ? framebuffer_release+0x2c/0x40\n[   44.111300]  ? report_bug+0x182/0x1b0\n[   44.111303]  ? handle_bug+0x6e/0xb0\n[   44.111306]  ? exc_invalid_op+0x18/0x80\n[   44.111308]  ? asm_exc_invalid_op+0x1b/0x20\n[   44.111311]  ? framebuffer_release+0x2c/0x40\n[   44.111313]  ? hvfb_remove+0x86/0xa0 [hyperv_fb]\n[   44.111315]  vmbus_remove+0x24/0x40 [hv_vmbus]\n[   44.111323]  device_remove+0x40/0x80\n[   44.111325]  device_release_driver_internal+0x20b/0x270\n[   44.111327]  ? bus_find_device+0xb3/0xf0\n\nFix this by moving the release of framebuffer and assosiated memory\nto fb_ops.fb_destroy function, so that framebuffer framework handles\nit gracefully.\n\nWhile we fix this, also replace manual registrations/unregistration of\nframebuffer with devm_register_framebuffer.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 68a2d20b79b105f02dcbc52c211d7e62f98996b7, \u003c b1a86a5ab0d44160534f495a3630646092d98e27",
          "\u003e= 68a2d20b79b105f02dcbc52c211d7e62f98996b7, \u003c 4545e2aa121aea304d33903099c03e29ed4fe50a",
          "\u003e= 68a2d20b79b105f02dcbc52c211d7e62f98996b7, \u003c a7b583dc99c6cf4a96877017be1d08247e1ef2c7",
          "\u003e= 68a2d20b79b105f02dcbc52c211d7e62f98996b7, \u003c ea2f45ab0e53b255f72c85ccd99e2b394fc5fceb"
        ],
        "fixed_in": [
          "b1a86a5ab0d44160534f495a3630646092d98e27",
          "4545e2aa121aea304d33903099c03e29ed4fe50a",
          "a7b583dc99c6cf4a96877017be1d08247e1ef2c7",
          "ea2f45ab0e53b255f72c85ccd99e2b394fc5fceb"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.10"
        ],
        "fixed_in": [
          "0",
          "6.6.160",
          "6.12.20",
          "6.13.8",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to b1a86a5ab0d44160534f495a3630646092d98e27 or 4545e2aa121aea304d33903099c03e29ed4fe50a or a7b583dc99c6cf4a96877017be1d08247e1ef2c7 or ea2f45ab0e53b255f72c85ccd99e2b394fc5fceb or later.",
      "Upgrade Linux to 0 or 6.6.160 or 6.12.20 or 6.13.8 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
