CVE-2026-138924
publishedpps: generators: stop the generator on unregister
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux86b525bed2758878e788c9fb6b8fb281fd61bdb0 to < aaed8f7c2a65319745bd969e2e2dbbd13a2e45dc · 86b525bed2758878e788c9fb6b8fb281fd61bdb0 to < de19ed83caaa891a8e2ff8b658003650bcea7691 · 86b525bed2758878e788c9fb6b8fb281fd61bdb0 to < 3e75af9f41c7509884d0955245dec2b791287e8c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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".
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 86b525bed2758878e788c9fb6b8fb281fd61bdb0 to < aaed8f7c2a65319745bd969e2e2dbbd13a2e45dc (affected · git)86b525bed2758878e788c9fb6b8fb281fd61bdb0 to < de19ed83caaa891a8e2ff8b658003650bcea7691 (affected · git)86b525bed2758878e788c9fb6b8fb281fd61bdb0 to < 3e75af9f41c7509884d0955245dec2b791287e8c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
pps: generators: stop the generator on unregister
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa16a209308783a7b0af0c83c577b540229cd31ed6f2750f4e6d6b06644a0f34
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record