{"id":"CVE-2026-99520","aliases":[],"cve":{"records":[{"id":"CVE-2026-99520","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.419Z","published":"2026-11-19T14:44:25.121Z","modified":"2026-11-19T14:44:25.121Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-19T14:44:25.121Z"}],"references":[{"url":"https://git.kernel.org/stable/c/63dc56500a91591ad9b42e09ca4646b0a4d03406","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/3c94478114384d97795029160ceb539ade38cc43","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/d19552611cb2eb6329826871565e5309bec2f288","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"pps: generators: fix use-after-free when closing a removed device","titleSource":"Linux","descriptionSource":"Linux","description":"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.","score":null,"severity":"unknown","published":"2026-11-19T14:44:25.121Z","modified":"2026-11-19T14:44:25.121Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"86b525bed2758878e788c9fb6b8fb281fd61bdb0","status":"affected","lessThan":"63dc56500a91591ad9b42e09ca4646b0a4d03406","versionType":"git"},{"version":"86b525bed2758878e788c9fb6b8fb281fd61bdb0","status":"affected","lessThan":"3c94478114384d97795029160ceb539ade38cc43","versionType":"git"},{"version":"86b525bed2758878e788c9fb6b8fb281fd61bdb0","status":"affected","lessThan":"d19552611cb2eb6329826871565e5309bec2f288","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99520"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99520"}],"remediation":[],"references":["https://git.kernel.org/stable/c/63dc56500a91591ad9b42e09ca4646b0a4d03406","https://git.kernel.org/stable/c/3c94478114384d97795029160ceb539ade38cc43","https://git.kernel.org/stable/c/d19552611cb2eb6329826871565e5309bec2f288"],"sources":[{"name":"CVE","id":"CVE-2026-99520","modified":"2026-11-19T14:44:25.121Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99520"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-19T14:59:28.224Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T12:45:32.449Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-22T03:30:34.268Z","attemptedAt":"2026-11-22T03:30:34.268Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-22T02:10:31.002Z","attemptedAt":"2026-11-22T02:10:31.002Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-22T01:40:35.637Z","attemptedAt":"2026-11-22T01:40:35.637Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-22T01:15:43.049Z","attemptedAt":"2026-11-22T01:15:43.049Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99520","url":"https://www.first.org/epss/","probability":0.00166,"percentile":0.05927,"date":"2026-11-21","checkedAt":"2026-11-22T01:15:43.049Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130241","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130241","modified":"Nov 19, 2026, 2:44:25 PM","checkedAt":"2026-11-22T01:40:35.637Z"},{"source":"GitHub Advisory Database","id":"GHSA-hmx4-328m-625c","url":"https://github.com/advisories/GHSA-hmx4-328m-625c","modified":"2026-11-19T15:31:40Z","checkedAt":"2026-11-22T02:10:31.002Z"},{"source":"NVD","id":"CVE-2026-99520","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99520","modified":"2026-11-19T15:18:07.573","checkedAt":"2026-11-22T03:30:34.268Z"}],"aiSummary":{"text":"A use-after-free vulnerability in the Linux kernel affects versions 6.14 and possibly others, where the cdev of a PPS generator is freed prematurely. An attacker with access to the system may exploit this weakness. The stated impact is a slab-use-after-free error.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-21T13:51:09.649Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-99520"}]}}