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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:15.094Z
- Modified: 2026-11-30T14:17:51.420Z
- Assigned by: Linux

## Description

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".

(As written by CVE List.)

## Affected

- Linux Linux: from 86b525bed2758878e788c9fb6b8fb281fd61bdb0 before aaed8f7c2a65319745bd969e2e2dbbd13a2e45dc; from 86b525bed2758878e788c9fb6b8fb281fd61bdb0 before de19ed83caaa891a8e2ff8b658003650bcea7691; from 86b525bed2758878e788c9fb6b8fb281fd61bdb0 before 3e75af9f41c7509884d0955245dec2b791287e8c; 6.14 (not affected: before 6.14; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/aaed8f7c2a65319745bd969e2e2dbbd13a2e45dc>
- <https://git.kernel.org/stable/c/de19ed83caaa891a8e2ff8b658003650bcea7691>
- <https://git.kernel.org/stable/c/3e75af9f41c7509884d0955245dec2b791287e8c>

## Sources

- CVE List: [CVE-2026-138924](https://www.cve.org/CVERecord?id=CVE-2026-138924), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138924](https://nvd.nist.gov/vuln/detail/CVE-2026-138924), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138924 · Whole record: https://cve.day/CVE-2026-138924.json · Rebuilt by cve.day 2026-11-30T14:33:02.459Z
