{
  "cveId": "CVE-2025-71074",
  "url": "https://patchblox.com/security/cve/CVE-2025-71074",
  "summary": "CVE-2025-71074 is fixed in linux on 1 platform, first by DEBIAN-CVE-2025-71074, released January 13, 2026. It is not reported as exploited. Patch Radar priority: Urgent.",
  "title": "functionfs: fix the open/removal races",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  functionfs: fix the open/removal races  ffs_epfile_open() can race with removal, ending up with file-\u003Eprivate_data pointing to freed object.  There is a total count of opened files on functionfs (both ep0 and dynamic ones) and when it hits zero, dynamic files get removed. Unfortunately, that removal can happen while another thread is in ffs_epfile_open(), but has not incremented the count yet. In that case open will succeed, leaving us with UAF on any subsequent read() or write().  The root cause is that ffs-\u003Eopened is misused; atomic_dec_and_test() vs. atomic_add_return() is not a good idea, when object remains visible all along.  To untangle that \t* serialize openers on ffs-\u003Emutex (both for ep0 and for dynamic files) \t* have dynamic ones use atomic_inc_not_zero() and fail if we had zero -\u003Eopened; in that case the file we are opening is doomed. \t* have the inodes of dynamic files marked on removal (from the callback of simple_recursive_removal()) - clear -\u003Ei_private there. \t* have open of dynamic ones verify they hadn\u0027t been already removed, along with checking that state is FFS_ACTIVE.",
  "published": "2026-01-13T16:16:06Z",
  "severity": "Critical",
  "cvss": 9.8,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00132,
  "epssPercentile": 0.02795,
  "priority": "Urgent",
  "priorityTier": 2,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-71074",
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.115-2",
      "fix": "DEBIAN-CVE-2025-71074",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-71074",
      "released": "2026-01-13T16:16:06Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.19.6-1",
      "fix": "DEBIAN-CVE-2025-71074",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-71074",
      "released": "2026-01-13T16:16:06Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-07T18:46:35Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}