CVE-2026-80622

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

State
Published
Severity
7.8 High
Published
Aug 28, 2026
Updated
Oct 16, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1a80ba88273097933f93b1f40537337416798c70 to before 09d8d2a46a9ec9ff728f3159a174a2ab25dd0f0aAffected
  • 1a80ba88273097933f93b1f40537337416798c70 to before 96902299a22d126ef5eb3f45cd5d8ceea9e6a735Affected
  • 1a80ba88273097933f93b1f40537337416798c70 to before 166dd1d5265e067459e674c11688919901813ec2Affected
  • 1a80ba88273097933f93b1f40537337416798c70 to before 764723bd67a6c8f53a8d8309211fb039e2ebcf49Affected
  • 1a80ba88273097933f93b1f40537337416798c70 to before c3f0cd76561ae611c2d247ee96dfd559e4197cb7Affected
  • 1a80ba88273097933f93b1f40537337416798c70 to before 3d5e4cc0d9dce79b0429da3134ac7b072ab9009fAffected
  • 1a80ba88273097933f93b1f40537337416798c70 to before 42223445607a9a5df3cb1c4729abfe3a5085e7ceAffected
  • 1a80ba88273097933f93b1f40537337416798c70 to before bbf003b7794d6ad6f939fdd29f1f1bde8ac554c1Affected
LinuxLinux
  • 2.6.15Affected
  • before 2.6.15Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.