# CVE-2022-49885: ACPI: APEI: Fix integer overflow in ghes\_estatus\_pool\_init()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 17, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2025-05-01T14:10:31.286Z
- **Modified:** 2026-06-17T05:19:25.183Z

## Who should check

- Anyone running Linux \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 9edf20e5a1d805855e78f241cf221d741b50d482; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< c50ec15725e005e9fb20bce69b6c23b135a4a9b7; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 4c10c854113720cbfe75d4f51db79b700a629e73; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 43d2748394c3feb86c0c771466f5847e274fc043
- Anyone running Linux 5.1

## Description

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

ACPI: APEI: Fix integer overflow in ghes\_estatus\_pool\_init()

Change num\_ghes from int to unsigned int, preventing an overflow
and causing subsequent vmalloc() to fail.

The overflow happens in ghes\_estatus\_pool\_init() when calculating
len during execution of the statement below as both multiplication
operands here are signed int:

len += (num\_ghes \* GHES\_ESOURCE\_PREALLOC\_MAX\_SIZE);

The following call trace is observed because of this bug:

\[    9.317108\] swapper/0: vmalloc error: size 18446744071562596352, exceeds total pages, mode:0xcc0(GFP\_KERNEL), nodemask=(null),cpuset=/,mems\_allowed=0-1
\[    9.317131\] Call Trace:
\[    9.317134\]  \<TASK\>
\[    9.317137\]  dump\_stack\_lvl+0x49/0x5f
\[    9.317145\]  dump\_stack+0x10/0x12
\[    9.317146\]  warn\_alloc.cold+0x7b/0xdf
\[    9.317150\]  ? \_\_device\_attach+0x16a/0x1b0
\[    9.317155\]  \_\_vmalloc\_node\_range+0x702/0x740
\[    9.317160\]  ? device\_add+0x17f/0x920
\[    9.317164\]  ? dev\_set\_name+0x53/0x70
\[    9.317166\]  ? platform\_device\_add+0xf9/0x240
\[    9.317168\]  \_\_vmalloc\_node+0x49/0x50
\[    9.317170\]  ? ghes\_estatus\_pool\_init+0x43/0xa0
\[    9.317176\]  vmalloc+0x21/0x30
\[    9.317177\]  ghes\_estatus\_pool\_init+0x43/0xa0
\[    9.317179\]  acpi\_hest\_init+0x129/0x19c
\[    9.317185\]  acpi\_init+0x434/0x4a4
\[    9.317188\]  ? acpi\_sleep\_proc\_init+0x2a/0x2a
\[    9.317190\]  do\_one\_initcall+0x48/0x200
\[    9.317195\]  kernel\_init\_freeable+0x221/0x284
\[    9.317200\]  ? rest\_init+0xe0/0xe0
\[    9.317204\]  kernel\_init+0x1a/0x130
\[    9.317205\]  ret\_from\_fork+0x22/0x30
\[    9.317208\]  \</TASK\>

\[ rjw: Subject and changelog edits \]

## Affected and fixed versions

- Linux: \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 9edf20e5a1d805855e78f241cf221d741b50d482; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< c50ec15725e005e9fb20bce69b6c23b135a4a9b7; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 4c10c854113720cbfe75d4f51db79b700a629e73; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 43d2748394c3feb86c0c771466f5847e274fc043 (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 43d2748394c3feb86c0c771466f5847e274fc043 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-49885. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49885.md
Affected: Linux >= fb7be08f1a091ec243780bfdad4bf0c492057808, < 9edf20e5a1d805855e78f241cf221d741b50d482; >= fb7be08f1a091ec243780bfdad4bf0c492057808, < c50ec15725e005e9fb20bce69b6c23b135a4a9b7; >= fb7be08f1a091ec243780bfdad4bf0c492057808, < 4c10c854113720cbfe75d4f51db79b700a629e73; >= fb7be08f1a091ec243780bf…
Fixed in: Linux 9edf20e5a1d805855e78f241cf221d741b50d482, Linux 4c10c854113720cbfe75d4f51db79b700a629e73, Linux 43d2748394c3feb86c0c771466f5847e274fc043

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-49885 being exploited?

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

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

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

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

Linux \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 9edf20e5a1d805855e78f241cf221d741b50d482; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< c50ec15725e005e9fb20bce69b6c23b135a4a9b7; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 4c10c854113720cbfe75d4f51db79b700a629e73; \>= fb7be08f1a091ec243780bfdad4bf0c492057808, \< 43d2748394c3feb86c0c771466f5847e274fc043; Linux 5.1.

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

Yes. Fixed in Linux 9edf20e5a1d805855e78f241cf221d741b50d482, Linux 4c10c854113720cbfe75d4f51db79b700a629e73, Linux 43d2748394c3feb86c0c771466f5847e274fc043. Upgrade Linux to 43d2748394c3feb86c0c771466f5847e274fc043 or later.

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

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/9edf20e5a1d805855e78f241cf221d741b50d482>
- patch: <https://git.kernel.org/stable/c/c50ec15725e005e9fb20bce69b6c23b135a4a9b7>
- patch: <https://git.kernel.org/stable/c/4c10c854113720cbfe75d4f51db79b700a629e73>
- patch: <https://git.kernel.org/stable/c/43d2748394c3feb86c0c771466f5847e274fc043>

## 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-49885>

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