Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47311
HistoryMay 21, 2024 - 2:35 p.m.

CVE-2021-47311 net: qcom/emac: fix UAF in emac_remove

2024-05-2114:35:29
Linux
github.com
2
linux kernel
vulnerability
qcom/emac
uaf
bug

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

net: qcom/emac: fix UAF in emac_remove

adpt is netdev private data and it cannot be
used after free_netdev() call. Using adpt after free_netdev()
can cause UAF bug. Fix it by moving free_netdev() at the end of the
function.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "54e19bc74f33",
        "lessThan": "4d04a42b926e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "54e19bc74f33",
        "lessThan": "b1e091331920",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "54e19bc74f33",
        "lessThan": "11e9d163d631",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "54e19bc74f33",
        "lessThan": "2b70ca92847c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "54e19bc74f33",
        "lessThan": "b560521eca03",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "54e19bc74f33",
        "lessThan": "8a225a6e07a5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "54e19bc74f33",
        "lessThan": "ad297cd2db89",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/qualcomm/emac/emac.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.9"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.9",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "4.9.277",
        "versionType": "custom",
        "lessThanOrEqual": "4.9.*"
      },
      {
        "status": "unaffected",
        "version": "4.14.241",
        "versionType": "custom",
        "lessThanOrEqual": "4.14.*"
      },
      {
        "status": "unaffected",
        "version": "4.19.199",
        "versionType": "custom",
        "lessThanOrEqual": "4.19.*"
      },
      {
        "status": "unaffected",
        "version": "5.4.135",
        "versionType": "custom",
        "lessThanOrEqual": "5.4.*"
      },
      {
        "status": "unaffected",
        "version": "5.10.53",
        "versionType": "custom",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.13.5",
        "versionType": "custom",
        "lessThanOrEqual": "5.13.*"
      },
      {
        "status": "unaffected",
        "version": "5.14",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/qualcomm/emac/emac.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial