{"id":"CVE-2026-80622","revision":"47e1e04d319f470aab06e4d8148a4f53","records":[{"revision":"47e1e04d319f470aab06e4d8148a4f53","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-80622","aliases":[],"title":"char: tlclk: fix use-after-free in tlclk_cleanup()","description":"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.","state":0,"publishedAt":"2026-08-28T06:48:41.744+00:00","modifiedAt":"2026-10-16T19:26:30.961+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/char/tlclk.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"1a80ba88273097933f93b1f40537337416798c70\",\n                            \"lessThan\": \"09d8d2a46a9ec9ff728f3159a174a2ab25dd0f0a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1a80ba88273097933f93b1f40537337416798c70\",\n                            \"lessThan\": \"96902299a22d126ef5eb3f45cd5d8ceea9e6a735\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1a80ba88273097933f93b1f40537337416798c70\",\n                            \"lessThan\": \"166dd1d5265e067459e674c11688919901813ec2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1a80ba88273097933f93b1f40537337416798c70\",\n                            \"lessThan\": \"764723bd67a6c8f53a8d8309211fb039e2ebcf49\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1a80ba88273097933f93b1f40537337416798c70\",\n                            \"lessThan\": \"c3f0cd76561ae611c2d247ee96dfd559e4197cb7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1a80ba88273097933f93b1f40537337416798c70\",\n                            \"lessThan\": \"3d5e4cc0d9dce79b0429da3134ac7b072ab9009f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1a80ba88273097933f93b1f40537337416798c70\",\n                            \"lessThan\": \"42223445607a9a5df3cb1c4729abfe3a5085e7ce\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1a80ba88273097933f93b1f40537337416798c70\",\n                            \"lessThan\": \"bbf003b7794d6ad6f939fdd29f1f1bde8ac554c1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/char/tlclk.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2.6.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"2.6.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.261\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.212\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.178\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.145\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.97\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.40\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.5\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/09d8d2a46a9ec9ff728f3159a174a2ab25dd0f0a","https://git.kernel.org/stable/c/96902299a22d126ef5eb3f45cd5d8ceea9e6a735","https://git.kernel.org/stable/c/166dd1d5265e067459e674c11688919901813ec2","https://git.kernel.org/stable/c/764723bd67a6c8f53a8d8309211fb039e2ebcf49","https://git.kernel.org/stable/c/c3f0cd76561ae611c2d247ee96dfd559e4197cb7","https://git.kernel.org/stable/c/3d5e4cc0d9dce79b0429da3134ac7b072ab9009f","https://git.kernel.org/stable/c/42223445607a9a5df3cb1c4729abfe3a5085e7ce","https://git.kernel.org/stable/c/bbf003b7794d6ad6f939fdd29f1f1bde8ac554c1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-80622","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-80622","identifiers":["CVE-2026-80622"]},"retained":false,"historicalAffected":[]}],"coverage":[]}