Skip to content
Heist/ feed
High

char: tlclk: fix use-after-free in tlclk_cleanup()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: char: tlclk: fix use-after-free in tlclk_cleanup() This patch improves the module cleanup process in the tlclk driver to prevent potential use-after-free and race conditions. Currently, the file_operations structure does not specify the .owner field, which could allow the module to be unloaded while user-space processes are still interacting with the device. Additionally, the tlclk_cleanup() function frees the alarm_events memory before ensuring that blocked processes in the waitqueue are fully awakened and that the switchover_timer has completed. To address these cases, this patch: - Sets '.owner = THIS_MODULE' in tlclk_fops to safely defer module unloading while the device is in use. - Updates tlclk_cleanup() to explicitly wake up all blocked readers (wake_up_all), properly release hardware I/O regions, and safely delete the timer (timer_delete_sync) prior to freeing memory.

Announced Group revision 1
Original source ↗

CVE-2026-80622

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-80622

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "1a80ba88273097933f93b1f40537337416798c70",
        "lessThan": "09d8d2a46a9ec9ff728f3159a174a2ab25dd0f0a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a80ba88273097933f93b1f40537337416798c70",
        "lessThan": "96902299a22d126ef5eb3f45cd5d8ceea9e6a735",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a80ba88273097933f93b1f40537337416798c70",
        "lessThan": "166dd1d5265e067459e674c11688919901813ec2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a80ba88273097933f93b1f40537337416798c70",
        "lessThan": "764723bd67a6c8f53a8d8309211fb039e2ebcf49",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a80ba88273097933f93b1f40537337416798c70",
        "lessThan": "c3f0cd76561ae611c2d247ee96dfd559e4197cb7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a80ba88273097933f93b1f40537337416798c70",
        "lessThan": "3d5e4cc0d9dce79b0429da3134ac7b072ab9009f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a80ba88273097933f93b1f40537337416798c70",
        "lessThan": "42223445607a9a5df3cb1c4729abfe3a5085e7ce",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1a80ba88273097933f93b1f40537337416798c70",
        "lessThan": "bbf003b7794d6ad6f939fdd29f1f1bde8ac554c1",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/char/tlclk.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2.6.15"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "2.6.15",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.261",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.212",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.178",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.145",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.97",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/char/tlclk.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-80622

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#34348 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement