{
  "id": "CVE-2026-80661",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-80661",
  "published_at": "2026-08-28T06:49:05.685Z",
  "title": "ufs: core: tracing: Do not dereference pointers in TP_printk()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "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\nufs: core: tracing: Do not dereference pointers in TP_printk()\n\nThe trace events in drivers/ufs/core/ufs_trace.h were converted to take a\npointer to the hba structure as an argument for the tracepoint and then in\nTP_printk() the printing of the dev_name from the ring buffer was\nconverted to using the dev dereferenced pointer from the hba saved\npointer.\n\nThis is not allowed as the TP_printk() is executed at the time the trace\nevent is read from /sys/kernel/tracing/trace file. That can happen\nliterally, seconds, minutes, hours, weeks, days, or even months later!\nThere is no guarantee that the hba pointer will still exist by the time it\nis dereferenced when the \"trace\" file is read.\n\nInstead, save the device name from the hba pointer at the time the\ntracepoint is called and place it into the ring buffer event. Then the\nTP_printk() can read the name directly from the ring buffer and remove the\npossibility that it will read a freed pointer and crash the kernel.\n\nThis was detected when testing the trace event code that looks for\nTP_printk() parameters doing illegal derferences[1]\n\n[1] https://lore.kernel.org/all/20260630184836.74d477b6@gandalf.local.home/",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 583e518e7100362e3937b583976f9470c39d1db2, \u003c e497fef9ad7e913f52de6f97e818f56915e96164",
          "\u003e= 583e518e7100362e3937b583976f9470c39d1db2, \u003c 2510434307a224078302019e52ab3c863fbe87fb",
          "\u003e= 583e518e7100362e3937b583976f9470c39d1db2, \u003c 535fcf4b8a261fbb8cc4f91e4597343c135a90f2"
        ],
        "fixed_in": [
          "e497fef9ad7e913f52de6f97e818f56915e96164",
          "2510434307a224078302019e52ab3c863fbe87fb",
          "535fcf4b8a261fbb8cc4f91e4597343c135a90f2"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.15"
        ],
        "fixed_in": [
          "0",
          "6.18.40",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e497fef9ad7e913f52de6f97e818f56915e96164 or 2510434307a224078302019e52ab3c863fbe87fb or 535fcf4b8a261fbb8cc4f91e4597343c135a90f2 or later.",
      "Upgrade Linux to 0 or 6.18.40 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
