Menu

Star on GitHub · 3.2k

CVE-2022-48796

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: iommu: Fix potential use-after-free during probe Kasan has reported the following use after free on dev->iommu.

Published Jul 16, 2024CWE-416EPSS 0.26%

Overview

CVE-2022-48796 is a high-severity vulnerability. It was published on July 16, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

iommu: Fix potential use-after-free during probe

Kasan has reported the following use after free on dev->iommu.

when a device probe fails and it is in process of freeing dev->iommu

in dev_iommu_free function, a deferred_probe_work_func runs in parallel

and tries to access dev->iommu->fwspec in of_iommu_configure path thus

causing use after free.

BUG: KASAN: use-after-free in of_iommu_configure+0xb4/0x4a4

Read of size 8 at addr ffffff87a2f1acb8 by task kworker/u16:2/153

Workqueue: events_unbound deferred_probe_work_func

Call trace:

dump_backtrace+0x0/0x33c

show_stack+0x18/0x24

dump_stack_lvl+0x16c/0x1e0

print_address_description+0x84/0x39c

__kasan_report+0x184/0x308

kasan_report+0x50/0x78

__asan_load8+0xc0/0xc4

of_iommu_configure+0xb4/0x4a4

of_dma_configure_id+0x2fc/0x4d4

platform_dma_configure+0x40/0x5c

really_probe+0x1b4/0xb74

driver_probe_device+0x11c/0x228

__device_attach_driver+0x14c/0x304

bus_for

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-48796?

CVE-2022-48796 is a high-severity vulnerability. It was published on July 16, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-48796?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-48796?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-48796?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-48796 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2022

View all