{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-40347",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40347",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-16T13:30:21.539Z",
    "updatedAt": "2026-08-05T12:09:48.141Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "net: enetc: fix the deadlock of enetc_mdio_lock",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: enetc: fix the deadlock of enetc_mdio_lock\n\nAfter applying the workaround for err050089, the LS1028A platform\nexperiences RCU stalls on RT kernel. This issue is caused by the\nrecursive acquisition of the read lock enetc_mdio_lock. Here list some\nof the call stacks identified under the enetc_poll path that may lead to\na deadlock:\n\nenetc_poll\n  -> enetc_lock_mdio\n  -> enetc_clean_rx_ring OR napi_complete_done\n     -> napi_gro_receive\n        -> enetc_start_xmit\n           -> enetc_lock_mdio\n           -> enetc_map_tx_buffs\n           -> enetc_unlock_mdio\n  -> enetc_unlock_mdio\n\nAfter enetc_poll acquires the read lock, a higher-priority writer attempts\nto acquire the lock, causing preemption. The writer detects that a\nread lock is already held and is scheduled out. However, readers under\nenetc_poll cannot acquire the read lock again because a writer is already\nwaiting, leading to a thread hang.\n\nCurrently, the deadlock is avoided by adjusting enetc_lock_mdio to prevent\nrecursive lock acquisition.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a649161526736f48bcc592e3a412e5bcd7dd9e24"
            },
            {
              "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2781ca82ce8cad263d80b617addb727e6a84c9e5"
            },
            {
              "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1f92f5bd057a4fad9dab6af17963cdd21e5da6ed"
            },
            {
              "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa"
            },
            {
              "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "50bd33f6b3922a6b760aa30d409cae891cec8fb5"
            },
            {
              "version": "bf9c564716a13dde6a990d3b02c27cd6e39608bf",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "ff966263f5f9fdf9740f03fed0762ce73c230a6a",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "5.10.24",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.11"
            },
            {
              "version": "5.11.7",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.12"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.12",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.12"
            },
            {
              "version": "6.1.175",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.115",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.56",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}