{
  "id": "CVE-2026-46288",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-46288",
  "published_at": "2026-06-08T15:41:31.868Z",
  "title": "of: unittest: fix use-after-free in of_unittest_changeset()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/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\nof: unittest: fix use-after-free in of_unittest_changeset()\n\nThe variable 'parent' is assigned the value of 'nchangeset' earlier in the\nfunction, meaning both point to the same struct device_node. The call to\nof_node_put(nchangeset) can decrement the reference count to zero and\nfree the node if there are no other holders. After that, the code still\nuses 'parent' to check for the presence of a property and to read a\nstring property, leading to a use-after-free.\n\nFix this by moving the of_node_put() call after the last access to\n'parent', avoiding the UAF.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1c668ea65506e67ce2eae07b69bb09fcdd86e309, \u003c 37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1",
          "\u003e= 1c668ea65506e67ce2eae07b69bb09fcdd86e309, \u003c 7f0f0926f3010b10cff5e93446258f971e42f2fd",
          "\u003e= 1c668ea65506e67ce2eae07b69bb09fcdd86e309, \u003c 6fdad20b7975bdc32e85b45f8f7c640f6687b81f",
          "\u003e= 1c668ea65506e67ce2eae07b69bb09fcdd86e309, \u003c faecdd423c27f0d6090156a435ba9dbbac0eaddb"
        ],
        "fixed_in": [
          "37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1",
          "7f0f0926f3010b10cff5e93446258f971e42f2fd",
          "6fdad20b7975bdc32e85b45f8f7c640f6687b81f",
          "faecdd423c27f0d6090156a435ba9dbbac0eaddb"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.12"
        ],
        "fixed_in": [
          "0",
          "6.12.86",
          "6.18.27",
          "7.0.4",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1 or 7f0f0926f3010b10cff5e93446258f971e42f2fd or 6fdad20b7975bdc32e85b45f8f7c640f6687b81f or faecdd423c27f0d6090156a435ba9dbbac0eaddb or later.",
      "Upgrade Linux to 0 or 6.12.86 or 6.18.27 or 7.0.4 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
