Menu

Star on GitHub · 3.2k

CVE-2022-48762

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: arm64: extable: fix load_unaligned_zeropad() reg indices In ex_handler_load_unaligned_zeropad() we erroneously extract the data…

Published Jun 20, 2024CWE-476EPSS 0.19%

Overview

CVE-2022-48762 is a high-severity vulnerability. It was published on June 20, 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:

arm64: extable: fix load_unaligned_zeropad() reg indices

In ex_handler_load_unaligned_zeropad() we erroneously extract the data and

addr register indices from ex->type rather than ex->data. As ex->type will

contain EX_TYPE_LOAD_UNALIGNED_ZEROPAD (i.e. 4):

* We'll always treat X0 as the address register, since EX_DATA_REG_ADDR is

extracted from bits [9:5]. Thus, we may attempt to dereference an

arbitrary address as X0 may hold an arbitrary value.

* We'll always treat X4 as the data register, since EX_DATA_REG_DATA is

extracted from bits [4:0]. Thus we will corrupt X4 and cause arbitrary

behaviour within load_unaligned_zeropad() and its caller.

Fix this by extracting both values from ex->data as originally intended.

On an MTE-enabled QEMU image we are hitting the following crash:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

Call trace:

fixup_exception+0xc4/0x1

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-48762?

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

How severe is CVE-2022-48762?

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-48762?

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-48762?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-48762 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