CVE-2026-138924: pps: generators: stop the generator on unregister

Published Nov 30, 2026
·
Updated

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 ppsgenunregistersource(): ppsgentioremove() cancels its hrtimer and disables the TIO, and ppsgendummyexit() deletes its timer. But /dev/pps-genN and the sysfs "enable" attribute are still there until the unregister, and a PPSGENSETENABLE 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 ppsgen, which the unregister may free.

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

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In pps_gen_unregister_cdev(), stop the PPS generator under info_lock after the device and its sysfs files are gone, when it can no longer be enabled.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203