CVE-2026-138924

Source
https://cve.org/CVERecord?id=CVE-2026-138924
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138924.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138924
Downstream
Published
2026-11-30T13:26:15Z
Modified
2026-11-30T15:01:30Z
Summary
pps: generators: stop the generator on unregister
Details

In the Linux kernel, the following vulnerability has been resolved:

pps: generators: stop the generator on unregister

Both generator drivers stop their timer and then call pps_gen_unregister_source(): pps_gen_tio_remove() cancels its hrtimer and disables the TIO, and pps_gen_dummy_exit() deletes its timer. But /dev/pps-genN and the sysfs "enable" attribute are still there until the unregister, and a PPS_GEN_SETENABLE or a write to "enable" in between starts the timer again. Nothing stops it after that: TIO's hrtimer keeps running in the devm memory freed by the unbind, and the dummy's timer is left in the unloaded module.

The drivers can't avoid this by unregistering first, as TIO's timer callback uses pps_gen, which the unregister may free.

Stop the generator in pps_gen_unregister_cdev() instead, under info_lock after the device and its sysfs files are gone, when nothing can enable it again. pps_gen_unregister_source() then also does what its kernel-doc says: "it disables the generator so no pulses are generated anymore".

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138924.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
86b525bed2758878e788c9fb6b8fb281fd61bdb0
Fixed
aaed8f7c2a65319745bd969e2e2dbbd13a2e45dc
Fixed
de19ed83caaa891a8e2ff8b658003650bcea7691
Fixed
3e75af9f41c7509884d0955245dec2b791287e8c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138924.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138924.json"