# CVE-2022-48762: arm64: extable: fix load\_unaligned\_zeropad() reg indices

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-06-20T11:13:39.855Z
- **Modified:** 2026-08-05T08:52:11.000Z

## Who should check

- Anyone running Linux \>= 753b32368705c396000f95f33c3b7018474e33ad, \< 47fe7a1c5e3e011eeb4ab79f2d54a794fdd1c3eb; \>= 753b32368705c396000f95f33c3b7018474e33ad, \< 3758a6c74e08bdc15ccccd6872a6ad37d165239a
- Anyone running Linux 5.16

## 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/0x108
  \_\_do\_kernel\_fault+0x3c/0x268
  do\_tag\_check\_fault+0x3c/0x104
  do\_mem\_abort+0x44/0xf4
  el1\_abort+0x40/0x64
  el1h\_64\_sync\_handler+0x60/0xa0
  el1h\_64\_sync+0x7c/0x80
  link\_path\_walk+0x150/0x344
  path\_openat+0xa0/0x7dc
  do\_filp\_open+0xb8/0x168
  do\_sys\_openat2+0x88/0x17c
  \_\_arm64\_sys\_openat+0x74/0xa0
  invoke\_syscall+0x48/0x148
  el0\_svc\_common+0xb8/0xf8
  do\_el0\_svc+0x28/0x88
  el0\_svc+0x24/0x84
  el0t\_64\_sync\_handler+0x88/0xec
  el0t\_64\_sync+0x1b4/0x1b8
 Code: f8695a69 71007d1f 540000e0 927df12a (f940014a)

## Affected and fixed versions

- Linux: \>= 753b32368705c396000f95f33c3b7018474e33ad, \< 47fe7a1c5e3e011eeb4ab79f2d54a794fdd1c3eb; \>= 753b32368705c396000f95f33c3b7018474e33ad, \< 3758a6c74e08bdc15ccccd6872a6ad37d165239a (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 3758a6c74e08bdc15ccccd6872a6ad37d165239a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48762. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48762.md
Affected: Linux >= 753b32368705c396000f95f33c3b7018474e33ad, < 47fe7a1c5e3e011eeb4ab79f2d54a794fdd1c3eb; >= 753b32368705c396000f95f33c3b7018474e33ad, < 3758a6c74e08bdc15ccccd6872a6ad37d165239a; Linux 5.16
Fixed in: Linux 47fe7a1c5e3e011eeb4ab79f2d54a794fdd1c3eb, Linux 3758a6c74e08bdc15ccccd6872a6ad37d165239a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48762 being exploited?

There is no confirmed exploitation: CVE-2022-48762 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48762?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48762?

Linux \>= 753b32368705c396000f95f33c3b7018474e33ad, \< 47fe7a1c5e3e011eeb4ab79f2d54a794fdd1c3eb; \>= 753b32368705c396000f95f33c3b7018474e33ad, \< 3758a6c74e08bdc15ccccd6872a6ad37d165239a; Linux 5.16.

### Is there a fix for CVE-2022-48762?

Yes. Fixed in Linux 47fe7a1c5e3e011eeb4ab79f2d54a794fdd1c3eb, Linux 3758a6c74e08bdc15ccccd6872a6ad37d165239a. Upgrade Linux to 3758a6c74e08bdc15ccccd6872a6ad37d165239a or later.

### How do I check if I'm affected by CVE-2022-48762?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/47fe7a1c5e3e011eeb4ab79f2d54a794fdd1c3eb>
- patch: <https://git.kernel.org/stable/c/3758a6c74e08bdc15ccccd6872a6ad37d165239a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48762>

HTML: <https://flawdb.com/CVE-2022-48762> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48762>
