{
  "cveId": "CVE-2025-40249",
  "url": "https://patchblox.com/security/cve/CVE-2025-40249",
  "summary": "CVE-2025-40249 is fixed in 31 products on 1 platform, first by RHSA-2026:4012, released December 4, 2025. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  gpio: cdev: make sure the cdev fd is still activ...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  gpio: cdev: make sure the cdev fd is still active before emitting events  With the final call to fput() on a file descriptor, the release action may be deferred and scheduled on a work queue. The reference count of that descriptor is still zero and it must not be used. It\u0027s possible that a GPIO change, we want to notify the user-space about, happens AFTER the reference count on the file descriptor associated with the character device went down to zero but BEFORE the .release() callback was called from the workqueue and so BEFORE we unregistered from the notifier.  Using the regular get_file() routine in this situation triggers the following warning:    struct file::f_count incremented from zero; use-after-free condition present!  So use the get_file_active() variant that will return NULL on file descriptors that have been or are being released.",
  "published": "2025-12-04T00:00:00Z",
  "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.00155,
  "epssPercentile": 0.04619,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "kernel",
      "release": "RHEL 10",
      "fixedVersion": "6.12.0-124.43.1.el10_1",
      "fix": "RHSA-2026:4012",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2026-4012",
      "released": "2025-12-04T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-abi-stablelists",
      "release": "almalinux 10",
      "fixedVersion": "6.12.0-124.43.1.el10_1",
      "fix": "ALSA-2026:4012",
      "url": "https://patchblox.com/security/fix/linux/alsa-2026-4012",
      "released": "2026-03-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-abi-stablelists",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-core",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-cross-headers",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug-core",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug-devel",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug-devel-matched",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug-modules",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug-modules-core",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug-modules-extra",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug-uki-virt",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-devel",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-devel-matched",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-doc",
      "release": "almalinux 10",
      "fixedVersion": "6.12.0-124.43.1.el10_1",
      "fix": "ALSA-2026:4012",
      "url": "https://patchblox.com/security/fix/linux/alsa-2026-4012",
      "released": "2026-03-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-doc",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-headers",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-modules",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-modules-core",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-modules-extra",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-modules-extra-matched",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-libs",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-tools-libs-devel",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-uki-virt",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-uki-virt-addons",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libperf",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.17.10-1",
      "fix": "DEBIAN-CVE-2025-40249",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-40249",
      "released": "2025-12-04T16:16:18Z"
    },
    {
      "platform": "linux",
      "product": "perf",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rtla",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "rv",
      "release": "ol 10",
      "fixedVersion": "0:6.12.0-124.43.1.el10_1",
      "fix": "ELSA-2026-4012",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-4012",
      "released": "2026-03-10T00:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}