CVE-2026-99443 (GCVE-0-2026-99443)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:41 – Updated: 2026-11-19 14:41
VLAI
Title
pps: generators: don't use the driver's info after unregister
Summary
In the Linux kernel, the following vulnerability has been resolved: pps: generators: don't use the driver's info after unregister A file that was opened before pps_gen_unregister_source() keeps pps_gen, and with it the pointer to the driver's pps_gen_source_info. PPS_GEN_SETENABLE and PPS_GEN_USESYSTEMCLOCK keep using that pointer after the driver has gone: - pps_gen_tio allocates its info with devm_kzalloc(), so after an unbind both ioctls read freed memory, and SETENABLE calls the driver's enable() with its freed private data. - pps_gen-dummy does not set info->owner, so it can be unloaded while the file is open, and the ioctls then read the unloaded module's data and call its code. TIO can't probe in a VM, as it needs ART. A test driver that registers its info in devm memory like TIO does, unbound while /dev/pps-gen0 is open, gives: BUG: KASAN: slab-use-after-free in pps_gen_cdev_ioctl+0x4c1/0x580 Read of size 1 at addr ffff88800e647f38 by task ppsgen64/145 ... Freed by task 146: kfree+0x25a/0x6d0 release_nodes+0xd1/0x140 devres_release_all+0x10e/0x1a0 device_unbind_cleanup+0x71/0x250 device_release_driver_internal+0x41b/0x570 unbind_store+0xd9/0x100 and unloading pps_gen-dummy while its file is open oopses: BUG: unable to handle page fault for address: ffffffffa0203040 Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:pps_gen_cdev_ioctl+0x372/0x580 Protect info in the ioctl handler with a mutex, and clear it under the mutex on unregister, so that unregister waits for the ioctls using it and later ones fail with -ENODEV. PPS_KC_BIND does the same for a removed PPS device since commit 3649f9a6b897 ("pps: don't allow PPS_KC_BIND on removed devices"). The sysfs attributes need nothing new: they are removed, and their callbacks drained, before info is cleared.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 86b525bed2758878e788c9fb6b8fb281fd61bdb0 , < a7ba1a5a0c16d3aad161681b01933703419fd52d (git)
Affected: 86b525bed2758878e788c9fb6b8fb281fd61bdb0 , < ea2aaf6bda6ba90e92abe3aeaff426bba082c0eb (git)
Affected: 86b525bed2758878e788c9fb6b8fb281fd61bdb0 , < 4e8063cae337cb7328e6856235cf4de5d165516e (git)
Create a notification for this product.
Linux Linux Affected: 6.14
Unaffected: 0 , < 6.14 (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
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": "a7ba1a5a0c16d3aad161681b01933703419fd52d",
              "status": "affected",
              "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
              "versionType": "git"
            },
            {
              "lessThan": "ea2aaf6bda6ba90e92abe3aeaff426bba082c0eb",
              "status": "affected",
              "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
              "versionType": "git"
            },
            {
              "lessThan": "4e8063cae337cb7328e6856235cf4de5d165516e",
              "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.63",
              "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.63",
                  "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: don\u0027t use the driver\u0027s info after unregister\n\nA file that was opened before pps_gen_unregister_source() keeps\npps_gen, and with it the pointer to the driver\u0027s pps_gen_source_info.\nPPS_GEN_SETENABLE and PPS_GEN_USESYSTEMCLOCK keep using that pointer\nafter the driver has gone:\n\n - pps_gen_tio allocates its info with devm_kzalloc(), so after an\n   unbind both ioctls read freed memory, and SETENABLE calls the\n   driver\u0027s enable() with its freed private data.\n\n - pps_gen-dummy does not set info-\u003eowner, so it can be unloaded while\n   the file is open, and the ioctls then read the unloaded module\u0027s\n   data and call its code.\n\nTIO can\u0027t probe in a VM, as it needs ART. A test driver that registers\nits info in devm memory like TIO does, unbound while /dev/pps-gen0 is\nopen, gives:\n\n  BUG: KASAN: slab-use-after-free in pps_gen_cdev_ioctl+0x4c1/0x580\n  Read of size 1 at addr ffff88800e647f38 by task ppsgen64/145\n  ...\n  Freed by task 146:\n   kfree+0x25a/0x6d0\n   release_nodes+0xd1/0x140\n   devres_release_all+0x10e/0x1a0\n   device_unbind_cleanup+0x71/0x250\n   device_release_driver_internal+0x41b/0x570\n   unbind_store+0xd9/0x100\n\nand unloading pps_gen-dummy while its file is open oopses:\n\n  BUG: unable to handle page fault for address: ffffffffa0203040\n  Oops: Oops: 0000 [#1] SMP KASAN NOPTI\n  RIP: 0010:pps_gen_cdev_ioctl+0x372/0x580\n\nProtect info in the ioctl handler with a mutex, and clear it under the\nmutex on unregister, so that unregister waits for the ioctls using it\nand later ones fail with -ENODEV. PPS_KC_BIND does the same for a\nremoved PPS device since commit 3649f9a6b897 (\"pps: don\u0027t allow\nPPS_KC_BIND on removed devices\"). The sysfs attributes need nothing\nnew: they are removed, and their callbacks drained, before info is\ncleared."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T14:41:29.531Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a7ba1a5a0c16d3aad161681b01933703419fd52d"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea2aaf6bda6ba90e92abe3aeaff426bba082c0eb"
        },
        {
          "url": "https://git.kernel.org/stable/c/4e8063cae337cb7328e6856235cf4de5d165516e"
        }
      ],
      "title": "pps: generators: don\u0027t use the driver\u0027s info after unregister",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99443",
    "datePublished": "2026-11-19T14:41:29.531Z",
    "dateReserved": "2026-09-25T10:25:14.415Z",
    "dateUpdated": "2026-11-19T14:41:29.531Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99443",
      "date": "2026-11-22",
      "epss": "0.00174",
      "percentile": "0.06903"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-20T01:10:18.000Z",
      "cve": "CVE-2026-99443",
      "id": "msrc_CVE-2026-99443",
      "initial_release_date": "2026-11-20T01:10:18.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "pps: generators: don\u0027t use the driver\u0027s info after unregister",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99443.json",
      "version": "1"
    },
    "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": "a7ba1a5a0c16d3aad161681b01933703419fd52d",
                    "status": "affected",
                    "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ea2aaf6bda6ba90e92abe3aeaff426bba082c0eb",
                    "status": "affected",
                    "version": "86b525bed2758878e788c9fb6b8fb281fd61bdb0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4e8063cae337cb7328e6856235cf4de5d165516e",
                    "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.63",
                    "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: don\u0027t use the driver\u0027s info after unregister\n\nA file that was opened before pps_gen_unregister_source() keeps\npps_gen, and with it the pointer to the driver\u0027s pps_gen_source_info.\nPPS_GEN_SETENABLE and PPS_GEN_USESYSTEMCLOCK keep using that pointer\nafter the driver has gone:\n\n - pps_gen_tio allocates its info with devm_kzalloc(), so after an\n   unbind both ioctls read freed memory, and SETENABLE calls the\n   driver\u0027s enable() with its freed private data.\n\n - pps_gen-dummy does not set info-\u003eowner, so it can be unloaded while\n   the file is open, and the ioctls then read the unloaded module\u0027s\n   data and call its code.\n\nTIO can\u0027t probe in a VM, as it needs ART. A test driver that registers\nits info in devm memory like TIO does, unbound while /dev/pps-gen0 is\nopen, gives:\n\n  BUG: KASAN: slab-use-after-free in pps_gen_cdev_ioctl+0x4c1/0x580\n  Read of size 1 at addr ffff88800e647f38 by task ppsgen64/145\n  ...\n  Freed by task 146:\n   kfree+0x25a/0x6d0\n   release_nodes+0xd1/0x140\n   devres_release_all+0x10e/0x1a0\n   device_unbind_cleanup+0x71/0x250\n   device_release_driver_internal+0x41b/0x570\n   unbind_store+0xd9/0x100\n\nand unloading pps_gen-dummy while its file is open oopses:\n\n  BUG: unable to handle page fault for address: ffffffffa0203040\n  Oops: Oops: 0000 [#1] SMP KASAN NOPTI\n  RIP: 0010:pps_gen_cdev_ioctl+0x372/0x580\n\nProtect info in the ioctl handler with a mutex, and clear it under the\nmutex on unregister, so that unregister waits for the ioctls using it\nand later ones fail with -ENODEV. PPS_KC_BIND does the same for a\nremoved PPS device since commit 3649f9a6b897 (\"pps: don\u0027t allow\nPPS_KC_BIND on removed devices\"). The sysfs attributes need nothing\nnew: they are removed, and their callbacks drained, before info is\ncleared."
          }
        ],
        "id": "CVE-2026-99443",
        "lastModified": "2026-11-19T15:17:57.923",
        "metrics": {},
        "published": "2026-11-19T15:17:57.923",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4e8063cae337cb7328e6856235cf4de5d165516e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a7ba1a5a0c16d3aad161681b01933703419fd52d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ea2aaf6bda6ba90e92abe3aeaff426bba082c0eb"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T21:38:03+00:00",
      "cve": "CVE-2026-99443",
      "id": "CVE-2026-99443",
      "initial_release_date": "2026-11-19T14:41:29.531000+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 subsystem",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99443.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

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.


Loading…