Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35891
HistoryMay 19, 2024 - 8:34 a.m.

CVE-2024-35891 net: phy: micrel: Fix potential null pointer dereference

2024-05-1908:34:46
Linux
www.cve.org
7
linux kernel
vulnerability
net: phy: micrel fix
null pointer
svace
cve-2024-35891

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%

In the Linux kernel, the following vulnerability has been resolved:

net: phy: micrel: Fix potential null pointer dereference

In lan8814_get_sig_rx() and lan8814_get_sig_tx() ptp_parse_header() may
return NULL as ptp_header due to abnormal packet type or corrupted packet.
Fix this bug by adding ptp_header check.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/phy/micrel.c"
    ],
    "versions": [
      {
        "version": "ece19502834d",
        "lessThan": "10608161696c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ece19502834d",
        "lessThan": "95c1016a2d92",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ece19502834d",
        "lessThan": "49767b0df276",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ece19502834d",
        "lessThan": "96c155943a70",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/phy/micrel.c"
    ],
    "versions": [
      {
        "version": "5.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.18",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.85",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.26",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.5",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%