Lucene search

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

CVE-2022-48724

2024-06-2012:15:10
CWE-401
Linux
web.nvd.nist.gov
31
linux kernel
vulnerability
iommu/vt-d
memory leak
intel_setup_irq_remapping

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

6.6

Confidence

High

EPSS

0

Percentile

5.1%

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

iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()

After commit e3beca48a45b (“irqdomain/treewide: Keep firmware node
unconditionally allocated”). For tear down scenario, fn is only freed
after fail to allocate ir_domain, though it also should be freed in case
dmar_enable_qi returns error.

Besides free fn, irq_domain and ir_msi_domain need to be removed as well
if intel_setup_irq_remapping fails to enable queued invalidation.

Improve the rewinding path by add out_free_ir_domain and out_free_fwnode
lables per Baolu’s suggestion.

Affected configurations

Nvd
Vulners
Node
linuxlinux_kernelRange4.14.1904.14.265
OR
linuxlinux_kernelRange4.19.1354.19.228
OR
linuxlinux_kernelRange5.4.545.4.178
OR
linuxlinux_kernelRange5.7.115.8
OR
linuxlinux_kernelRange5.85.10.99
OR
linuxlinux_kernelRange5.115.15.22
OR
linuxlinux_kernelRange5.165.16.8
OR
linuxlinux_kernelMatch5.17rc1
OR
linuxlinux_kernelMatch5.17rc2
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel5.17cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
linuxlinux_kernel5.17cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iommu/intel/irq_remapping.c"
    ],
    "versions": [
      {
        "version": "03992c88d71b",
        "lessThan": "a0c685ba9996",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c0c489e54305",
        "lessThan": "a31cb1f0fb6c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "36f735554572",
        "lessThan": "5c43d46daa0d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3beca48a45b",
        "lessThan": "9d9995b0371e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3beca48a45b",
        "lessThan": "336d096b62bd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3beca48a45b",
        "lessThan": "b62eceb5f8f0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e3beca48a45b",
        "lessThan": "99e675d473eb",
        "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/iommu/intel/irq_remapping.c"
    ],
    "versions": [
      {
        "version": "5.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.8",
        "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.178",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.99",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.22",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.8",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

6.6

Confidence

High

EPSS

0

Percentile

5.1%