CVE-2026-99520 (GCVE-0-2026-99520)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:44 – Updated: 2026-11-19 14:44
VLAI
Title
pps: generators: fix use-after-free when closing a removed device
Summary
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 generator is embedded in struct pps_gen_device, but nothing ties the lifetime of that structure to the cdev: pps_gen is freed by the release function of its device, and an open file holds a device reference only until pps_gen_cdev_release() drops it. When the generator is unregistered while /dev/pps-genN is open, that put_device() drops the last reference and frees pps_gen, and __fput() then calls cdev_put() on the freed cdev: BUG: KASAN: slab-use-after-free in cdev_put+0x53/0x60 Read of size 8 at addr ffff88801383e138 by task ppsgen64/149 Call Trace: cdev_put+0x53/0x60 __fput+0x745/0xad0 fput_close_sync+0xd9/0x1b0 __x64_sys_close+0x86/0xf0 ... Freed by task 149: kfree+0x25a/0x6d0 device_release+0xca/0x3c0 kobject_put+0x169/0x320 pps_gen_cdev_release+0x51/0x80 __fput+0x36a/0xad0 pps.c had the same bug, fixed in commit c79a39dc8d06 ("pps: Fix a use-after-free"). Fix it the usual way: embed the struct device in pps_gen_device and register both with cdev_device_add(). This makes the device the parent of the cdev, so the cdev holds a device reference until the last file is closed.
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6904 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 86b525bed2758878e788c9fb6b8fb281fd61bdb0 , < 63dc56500a91591ad9b42e09ca4646b0a4d03406 (git)
Affected: 86b525bed2758878e788c9fb6b8fb281fd61bdb0 , < 3c94478114384d97795029160ceb539ade38cc43 (git)
Affected: 86b525bed2758878e788c9fb6b8fb281fd61bdb0 , < d19552611cb2eb6329826871565e5309bec2f288 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.14
Unaffected: 0 , < 6.14 (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pps/generators/pps_gen.c",
            "include/linux/pps_gen_kernel.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "63dc56500a91591ad9b42e09ca4646b0a4d03406",
              "status": "affected",
              "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
              "versionType": "git"
            },
            {
              "lessThan": "3c94478114384d97795029160ceb539ade38cc43",
              "status": "affected",
              "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
              "versionType": "git"
            },
            {
              "lessThan": "d19552611cb2eb6329826871565e5309bec2f288",
              "status": "affected",
              "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pps/generators/pps_gen.c",
            "include/linux/pps_gen_kernel.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.14"
            },
            {
              "lessThan": "6.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T14:44:25.121Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/63dc56500a91591ad9b42e09ca4646b0a4d03406"
        },
        {
          "url": "https://git.kernel.org/stable/c/3c94478114384d97795029160ceb539ade38cc43"
        },
        {
          "url": "https://git.kernel.org/stable/c/d19552611cb2eb6329826871565e5309bec2f288"
        }
      ],
      "title": "pps: generators: fix use-after-free when closing a removed device",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99520",
    "datePublished": "2026-11-19T14:44:25.121Z",
    "dateReserved": "2026-09-25T10:25:14.419Z",
    "dateUpdated": "2026-11-19T14:44:25.121Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/pps/generators/pps_gen.c",
                  "include/linux/pps_gen_kernel.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "63dc56500a91591ad9b42e09ca4646b0a4d03406",
                    "status": "affected",
                    "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3c94478114384d97795029160ceb539ade38cc43",
                    "status": "affected",
                    "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d19552611cb2eb6329826871565e5309bec2f288",
                    "status": "affected",
                    "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/pps/generators/pps_gen.c",
                  "include/linux/pps_gen_kernel.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.14"
                  },
                  {
                    "lessThan": "6.14",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          }
        ],
        "id": "CVE-2026-99520",
        "lastModified": "2026-11-19T15:18:07.573",
        "metrics": {},
        "published": "2026-11-19T15:18:07.573",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3c94478114384d97795029160ceb539ade38cc43"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/63dc56500a91591ad9b42e09ca4646b0a4d03406"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d19552611cb2eb6329826871565e5309bec2f288"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T21:30:17+00:00",
      "cve": "CVE-2026-99520",
      "id": "CVE-2026-99520",
      "initial_release_date": "2026-11-19T14:44:25.121000+00:00",
      "product_status:known_not_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via use-after-free in PPS generator driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99520.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.