{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-80622",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-80622"
  ],
  "published": "2026-08-28T06:50:33Z",
  "summary": "char: tlclk: fix use-after-free in tlclk_cleanup()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nchar: tlclk: fix use-after-free in tlclk_cleanup()\n\nThis patch improves the module cleanup process in the tlclk driver to\nprevent potential use-after-free and race conditions.\n\nCurrently, the file_operations structure does not specify the .owner\nfield, which could allow the module to be unloaded while user-space\nprocesses are still interacting with the device. Additionally, the\ntlclk_cleanup() function frees the alarm_events memory before ensuring\nthat blocked processes in the waitqueue are fully awakened and that the\nswitchover_timer has completed.\n\nTo address these cases, this patch:\n- Sets '.owner = THIS_MODULE' in tlclk_fops to safely defer module\n  unloading while the device is in use.\n- Updates tlclk_cleanup() to explicitly wake up all blocked readers\n  (wake_up_all), properly release hardware I/O regions, and safely\n  delete the timer (timer_delete_sync) prior to freeing memory.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.178",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-80622"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/09d8d2a46a9ec9ff728f3159a174a2ab25dd0f0a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/96902299a22d126ef5eb3f45cd5d8ceea9e6a735"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/166dd1d5265e067459e674c11688919901813ec2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/764723bd67a6c8f53a8d8309211fb039e2ebcf49"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c3f0cd76561ae611c2d247ee96dfd559e4197cb7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3d5e4cc0d9dce79b0429da3134ac7b072ab9009f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/42223445607a9a5df3cb1c4729abfe3a5085e7ce"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bbf003b7794d6ad6f939fdd29f1f1bde8ac554c1"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-29T06:25:05Z"
  }
}
