{"vuln_id":"CVE-2026-99520","aliases":[],"description":"kernel: kernel: Denial of Service via use-after-free in PPS generator driver","published_at":"2026-11-19T14:44:25Z","modified_at":"2026-11-19T15:18:07.573000Z","first_seen_at":"2026-11-21T19:15:15.262805Z","severity":"medium","severity_source":"redhat","cvss_score":4.4,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-825"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00166,"epss_percentile":0.05927,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99520"},"matched_alias":null,"items":[{"id":8852,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99520: In the Linux kernel, the following vulnerability has been resolved: pps: generators: fix use-after-free when closing a removed device The cdev of a PPS generat…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npps: generators: fix use-after-free when closing a removed device\n\nThe cdev of a PPS generator is embedded in struct pps_gen_device, but\nnothing ties the lifetime of that structure to the cdev: pps_gen is\nfreed by the release function of its device, and an open file holds a\ndevice reference only until pps_gen_cdev_release() drops it.\n\nWhen the generator is unregistered while /dev/pps-genN is open, that\nput_device() drops the last reference and frees pps_gen, and __fput()\nthen calls cdev_put() on the freed cdev:\n\n  BUG: KASAN: slab-use-after-free in cdev_put+0x53/0x60\n  Read of size 8 at addr ffff88801383e138 by task ppsgen64/149\n  Call Trace:\n   cdev_put+0x53/0x60\n   __fput+0x745/0xad0\n   fput_close_sync+0xd9/0x1b0\n   __x64_sys_close+0x86/0xf0\n  ...\n  Freed by task 149:\n   kfree+0x25a/0x6d0\n   device_release+0xca/0x3c0\n   kobject_put+0x169/0x320\n   pps_gen_cdev_release+0x51/0x80\n   __fput+0x36a/0xad0\n\npps.c had the same bug, fixed in commit c79a39dc8d06 (\"pps: Fix a\nuse-after-free\").\n\nFix it the usual way: embed the struct device in pps_gen_device and\nregister both with cdev_device_add(). This makes the device the parent\nof the cdev, so the cdev holds a device reference until the last file\nis closed.\n\nReferences:\nhttps://git.kernel.org/stable/c/3c94478114384d97795029160ceb539ade38cc43\nhttps://git.kernel.org/stable/c/63dc56500a91591ad9b42e09ca4646b0a4d03406\nhttps://git.kernel.org/stable/c/d19552611cb2eb6329826871565e5309bec2f288","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99520","published_at":"2026-11-19T15:18:07.573000Z","updated_at":"2026-11-19T15:18:07.573000Z","fetched_at":"2026-11-21T19:15:31.484537Z","severity":"medium","cvss_score":4.4,"epss":0.00166,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99520","vuln_ids":["CVE-2026-99520"],"tags":[],"cluster_id":901,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8852","html":"https://vulnwatch.ve1ve2.com/item/8852"}},{"id":1162,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99520: kernel: kernel: Denial of Service via use-after-free in PPS generator driver","summary":"kernel: kernel: Denial of Service via use-after-free in PPS generator driver","url":"https://access.redhat.com/security/cve/cve-2026-99520","published_at":"2026-11-19T14:44:25Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.893932Z","severity":"medium","cvss_score":4.4,"epss":0.00166,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99520","vuln_ids":["CVE-2026-99520"],"tags":["redhat"],"cluster_id":901,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1162","html":"https://vulnwatch.ve1ve2.com/item/1162"}}]}