Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-46973
HistoryFeb 27, 2024 - 6:47 p.m.

CVE-2021-46973 net: qrtr: Avoid potential use after free in MHI send

2024-02-2718:47:07
Linux
github.com
3
linux kernel
vulnerability
net
qrtr
mhi send
use after free

AI Score

6.6

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

total

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

net: qrtr: Avoid potential use after free in MHI send

It is possible that the MHI ul_callback will be invoked immediately
following the queueing of the skb for transmission, leading to the
callback decrementing the refcount of the associated sk and freeing the
skb.

As such the dereference of skb and the increment of the sk refcount must
happen before the skb is queued, to avoid the skb to be used after free
and potentially the sk to drop its last refcount…

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"
    ],
    "vendor": "linux",
    "product": "linux_kernel",
    "versions": [
      {
        "status": "affected",
        "version": "6e728f321393",
        "lessThan": "48ec949ac979",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6e728f321393",
        "lessThan": "ea474054c2cc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6e728f321393",
        "versionType": "git",
        "lessThanOrEqual": "03c649dee8b1"
      },
      {
        "status": "affected",
        "version": "6e728f321393",
        "lessThan": "47a017f33943",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.8",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "5.10.35",
        "versionType": "custom",
        "lessThanOrEqual": "5.11"
      },
      {
        "status": "unaffected",
        "version": "5.11.19",
        "versionType": "custom",
        "lessThanOrEqual": "5.12"
      },
      {
        "status": "unaffected",
        "version": "5.12.2",
        "versionType": "custom",
        "lessThanOrEqual": "5.13"
      },
      {
        "status": "unaffected",
        "version": "5.13",
        "versionType": "custom",
        "lessThanOrEqual": "*"
      }
    ],
    "defaultStatus": "unknown"
  }
]

AI Score

6.6

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

total