Lucene search

K
cveLinuxCVE-2022-48742
HistoryJun 20, 2024 - 12:15 p.m.

CVE-2022-48742

2024-06-2012:15:12
CWE-416
Linux
web.nvd.nist.gov
34
linux kernel vulnerability
rtnetlink
use-after-free

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

5.0%

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

rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()

While looking at one unrelated syzbot bug, I found the replay logic
in __rtnl_newlink() to potentially trigger use-after-free.

It is better to clear master_dev and m_ops inside the loop,
in case we have to replay it.

Affected configurations

Nvd
Vulners
Node
linuxlinux_kernelRange3.144.9.300
OR
linuxlinux_kernelRange4.104.14.265
OR
linuxlinux_kernelRange4.154.19.228
OR
linuxlinux_kernelRange4.205.4.177
OR
linuxlinux_kernelRange5.55.10.97
OR
linuxlinux_kernelRange5.115.15.20
OR
linuxlinux_kernelRange5.165.16.6
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/core/rtnetlink.c"
    ],
    "versions": [
      {
        "version": "ba7d49b1f0f8",
        "lessThan": "2cf180360d66",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba7d49b1f0f8",
        "lessThan": "7d9211678c0f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba7d49b1f0f8",
        "lessThan": "a01e60a1ec6b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba7d49b1f0f8",
        "lessThan": "bd43771ee975",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba7d49b1f0f8",
        "lessThan": "3bbe2019dd12",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba7d49b1f0f8",
        "lessThan": "def5e7070079",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba7d49b1f0f8",
        "lessThan": "36a9a0aee881",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba7d49b1f0f8",
        "lessThan": "c6f6f2444bdb",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/core/rtnetlink.c"
    ],
    "versions": [
      {
        "version": "3.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.9.300",
        "lessThanOrEqual": "4.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.14.265",
        "lessThanOrEqual": "4.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.228",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.177",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.97",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.20",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.6",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

5.0%