CVE-2026-63837 (GCVE-0-2026-63837)

Vulnerability from cvelistv5 – Published: 2026-07-19 14:04 – Updated: 2026-07-19 14:04
VLAI
Title
net: ena: PHC: Check return code before setting timestamp output
Summary
In the Linux kernel, the following vulnerability has been resolved: net: ena: PHC: Check return code before setting timestamp output ena_phc_gettimex64() is setting the output parameter regardless of whether ena_com_phc_get_timestamp() succeeded or failed. When ena_com_phc_get_timestamp() returns an error, the timestamp parameter may contain uninitialized stack memory (e.g., when PHC is disabled or in blocked state) or invalid hardware values. Passing these to userspace via the PTP ioctl is both a security issue (information leak) and a correctness bug. Fix by checking the return code after releasing the lock and only setting the output timestamp on success.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: e0ea34158ee8c4f7536cd781010339ff28c0d24c , < bddf59818ae5102e6d82a4dae5add6df8da38fb0 (git)
Affected: e0ea34158ee8c4f7536cd781010339ff28c0d24c , < edcb049d836e175e7b3d5e0d05657104545b5e65 (git)
Affected: e0ea34158ee8c4f7536cd781010339ff28c0d24c , < 24a08d7d6218d60c033015cf4870b6096446e734 (git)
Create a notification for this product.
Linux Linux Affected: 6.17
Unaffected: 0 , < 6.17 (semver)
Unaffected: 6.18.33 , ≤ 6.18.* (semver)
Unaffected: 7.0.10 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/amazon/ena/ena_phc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "bddf59818ae5102e6d82a4dae5add6df8da38fb0",
              "status": "affected",
              "version": "e0ea34158ee8c4f7536cd781010339ff28c0d24c",
              "versionType": "git"
            },
            {
              "lessThan": "edcb049d836e175e7b3d5e0d05657104545b5e65",
              "status": "affected",
              "version": "e0ea34158ee8c4f7536cd781010339ff28c0d24c",
              "versionType": "git"
            },
            {
              "lessThan": "24a08d7d6218d60c033015cf4870b6096446e734",
              "status": "affected",
              "version": "e0ea34158ee8c4f7536cd781010339ff28c0d24c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/amazon/ena/ena_phc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.17"
            },
            {
              "lessThan": "6.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.33",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.10",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ena: PHC: Check return code before setting timestamp output\n\nena_phc_gettimex64() is setting the output parameter regardless\nof whether ena_com_phc_get_timestamp() succeeded or failed.\n\nWhen ena_com_phc_get_timestamp() returns an error, the timestamp\nparameter may contain uninitialized stack memory (e.g., when PHC is\ndisabled or in blocked state) or invalid hardware values. Passing\nthese to userspace via the PTP ioctl is both a security issue\n(information leak) and a correctness bug.\n\nFix by checking the return code after releasing the lock and only\nsetting the output timestamp on success."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-19T14:04:33.781Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/bddf59818ae5102e6d82a4dae5add6df8da38fb0"
        },
        {
          "url": "https://git.kernel.org/stable/c/edcb049d836e175e7b3d5e0d05657104545b5e65"
        },
        {
          "url": "https://git.kernel.org/stable/c/24a08d7d6218d60c033015cf4870b6096446e734"
        }
      ],
      "title": "net: ena: PHC: Check return code before setting timestamp output",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-63837",
    "datePublished": "2026-07-19T14:04:33.781Z",
    "dateReserved": "2026-07-19T07:54:57.015Z",
    "dateUpdated": "2026-07-19T14:04:33.781Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-63837",
      "date": "2026-07-21",
      "epss": "0.00166",
      "percentile": "0.06267"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-63837\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T15:16:50.480\",\"lastModified\":\"2026-07-19T15:16:50.480\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: ena: PHC: Check return code before setting timestamp output\\n\\nena_phc_gettimex64() is setting the output parameter regardless\\nof whether ena_com_phc_get_timestamp() succeeded or failed.\\n\\nWhen ena_com_phc_get_timestamp() returns an error, the timestamp\\nparameter may contain uninitialized stack memory (e.g., when PHC is\\ndisabled or in blocked state) or invalid hardware values. Passing\\nthese to userspace via the PTP ioctl is both a security issue\\n(information leak) and a correctness bug.\\n\\nFix by checking the return code after releasing the lock and only\\nsetting the output timestamp on success.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/ethernet/amazon/ena/ena_phc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"e0ea34158ee8c4f7536cd781010339ff28c0d24c\",\"lessThan\":\"bddf59818ae5102e6d82a4dae5add6df8da38fb0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e0ea34158ee8c4f7536cd781010339ff28c0d24c\",\"lessThan\":\"edcb049d836e175e7b3d5e0d05657104545b5e65\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e0ea34158ee8c4f7536cd781010339ff28c0d24c\",\"lessThan\":\"24a08d7d6218d60c033015cf4870b6096446e734\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/net/ethernet/amazon/ena/ena_phc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.17\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.17\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.33\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.10\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/24a08d7d6218d60c033015cf4870b6096446e734\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bddf59818ae5102e6d82a4dae5add6df8da38fb0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/edcb049d836e175e7b3d5e0d05657104545b5e65\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "current_release_date": "2026-07-20T17:32:06+00:00",
      "cve": "CVE-2026-63837",
      "id": "CVE-2026-63837",
      "initial_release_date": "2026-07-19T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net: ena: PHC: Check return code before setting timestamp output",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-63837.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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…