{
  "cveId": "CVE-2022-50379",
  "url": "https://patchblox.com/security/cve/CVE-2022-50379",
  "summary": "CVE-2022-50379 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50379, released September 18, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  btrfs: fix race between quota enable and quota r...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  btrfs: fix race between quota enable and quota rescan ioctl  When enabling quotas, at btrfs_quota_enable(), after committing the transaction, we change fs_info-\u003Equota_root to point to the quota root we created and set BTRFS_FS_QUOTA_ENABLED at fs_info-\u003Eflags. Then we try to start the qgroup rescan worker, first by initializing it with a call to qgroup_rescan_init() - however if that fails we end up freeing the quota root but we leave fs_info-\u003Equota_root still pointing to it, this can later result in a use-after-free somewhere else.  We have previously set the flags BTRFS_FS_QUOTA_ENABLED and BTRFS_QGROUP_STATUS_FLAG_ON, so we can only fail with -EINPROGRESS at btrfs_quota_enable(), which is possible if someone already called the quota rescan ioctl, and therefore started the rescan worker.  So fix this by ignoring an -EINPROGRESS and asserting we can\u0027t get any other error.",
  "published": "2025-09-18T14:15:36Z",
  "severity": "medium",
  "cvss": 4.7,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00111,
  "epssPercentile": 0.0133,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50379",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50379",
      "released": "2025-09-18T14:15:36Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50379",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50379",
      "released": "2025-09-18T14:15:36Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50379",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50379",
      "released": "2025-09-18T14:15:36Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}