Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2022-48754
HistoryJun 20, 2024 - 11:13 a.m.

CVE-2022-48754 phylib: fix potential use-after-free

2024-06-2011:13:34
Linux
github.com
linux kernel
use-after-free
phylib
vulnerability
fix

7.2 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%

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

phylib: fix potential use-after-free

Commit bafbdd527d56 (“phylib: Add device reset GPIO support”) added call
to phy_device_reset(phydev) after the put_device() call in phy_detach().

The comment before the put_device() call says that the phydev might go
away with put_device().

Fix potential use-after-free by calling phy_device_reset() before
put_device().

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/phy_device.c"
    ],
    "versions": [
      {
        "version": "bafbdd527d56",
        "lessThan": "67d271760b03",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bafbdd527d56",
        "lessThan": "f39027cbada4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bafbdd527d56",
        "lessThan": "bd024e36f681",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bafbdd527d56",
        "lessThan": "aefaccd19379",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bafbdd527d56",
        "lessThan": "cb2fab10fc5e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bafbdd527d56",
        "lessThan": "cbda1b166875",
        "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/phy_device.c"
    ],
    "versions": [
      {
        "version": "4.16",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.16",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.228",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.176",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.96",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.19",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.5",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.2 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%

Related for VULNRICHMENT:CVE-2022-48754