{
  "id": "CVE-2025-21671",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21671",
  "published_at": "2025-01-31T11:25:34.546Z",
  "title": "zram: fix potential UAF of zram table",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cisa-adp",
    "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\nzram: fix potential UAF of zram table\n\nIf zram_meta_alloc failed early, it frees allocated zram-\u003etable without\nsetting it NULL.  Which will potentially cause zram_meta_free to access\nthe table if user reset an failed and uninitialized device.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ac3b5366b9b7c9d97b606532ceab43d2329a22f3, \u003c fe3de867f94819ba0f28e035c0b0182150147d95",
          "\u003e= 0b5b0b65561b34e6e360de317e4bcd031bfabf42, \u003c 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef",
          "\u003e= 6fb92e9a52e3feae309a213950f21dfcd1eb0b40, \u003c 902ef8f16d5ca77edc77c30656be54186c1e99b7",
          "\u003e= 74363ec674cb172d8856de25776c8f3103f05e2f, \u003c 212fe1c0df4a150fb6298db2cfff267ceaba5402"
        ],
        "fixed_in": [
          "fe3de867f94819ba0f28e035c0b0182150147d95",
          "571d3f6045cd3a6d9f6aec33b678f3ffe97582ef",
          "902ef8f16d5ca77edc77c30656be54186c1e99b7",
          "212fe1c0df4a150fb6298db2cfff267ceaba5402"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6.1.122, \u003c 6.1.127",
          "\u003e= 6.6.68, \u003c 6.6.74",
          "\u003e= 6.12.7, \u003c 6.12.11"
        ],
        "fixed_in": [
          "6.1.127",
          "6.6.74",
          "6.12.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to fe3de867f94819ba0f28e035c0b0182150147d95 or 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef or 902ef8f16d5ca77edc77c30656be54186c1e99b7 or 212fe1c0df4a150fb6298db2cfff267ceaba5402 or later.",
      "Upgrade Linux to 6.1.127 or 6.6.74 or 6.12.11 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
