{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40239","id":"CVE-2025-40239","title":"net: phy: micrel: always set shared->phydev for LAN8814","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: micrel: always set shared->phydev for LAN8814\n\nCurrently, during the LAN8814 PTP probe shared->phydev is only set if PTP\nclock gets actually set, otherwise the function will return before setting\nit.\n\nThis is an issue as shared->phydev is unconditionally being used when IRQ\nis being handled, especially in lan8814_gpio_p","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: micrel: always set shared->phydev for LAN8814\n\nCurrently, during the LAN8814 PTP probe shared->phydev is only set if PTP\nclock gets actually set, otherwise the function will return before setting\nit.\n\nThis is an issue as shared->phydev is unconditionally being used when IRQ\nis being handled, especially in lan8814_gpio_process_cap and since it was\nnot set it will cause a NULL pointer exception and crash the kernel.\n\nSo, simply always set shared->phydev to avoid the NULL pointer exception.","published":"2025-12-04T15:31:28.941Z","updated":"2026-10-28T02:30:50.527933732Z","reserved":"2025-04-16T07:20:57.181Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b3f1a08fcf0dd58d99b14b9f8fbd1929f188b746","lessThan":"da1ef8e9eb5d4a12bec32d11636e521e7d529b9e","status":"affected","versionType":"git"},{"version":"b3f1a08fcf0dd58d99b14b9f8fbd1929f188b746","lessThan":"b093b06826b836c2824858669db080c190c04715","status":"affected","versionType":"git"},{"version":"b3f1a08fcf0dd58d99b14b9f8fbd1929f188b746","lessThan":"399d10934740ae8cdaa4e3245f7c5f6c332da844","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.12.56","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.6","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/da1ef8e9eb5d4a12bec32d11636e521e7d529b9e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b093b06826b836c2824858669db080c190c04715","tags":["web"]},{"url":"https://git.kernel.org/stable/c/399d10934740ae8cdaa4e3245f7c5f6c332da844","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40239.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40239","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00213,"epssPercentile":0.11692,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40239","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40239","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40239","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40239","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}