# CVE-2022-49124: x86/mce: Work around an erratum on fast string copy instructions

> 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, NVD) `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.26% (percentile 11, 2026-11-26)
- **Published:** 2025-02-26T01:55:03.188Z
- **Modified:** 2026-06-17T05:17:09.063Z

## Who should check

- Anyone running Linux \>= 27fbe5b28a2ffef171c6005f304ea4f80fcdcc01, \< ba37c73be3d5632f6fb9fa20b250ce45560ca85d; \>= 27fbe5b28a2ffef171c6005f304ea4f80fcdcc01, \< 8ca97812c3c830573f965a07bbd84223e8c5f5bd
- Anyone running Linux 2.6.19

## Description

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

x86/mce: Work around an erratum on fast string copy instructions

A rare kernel panic scenario can happen when the following conditions
are met due to an erratum on fast string copy instructions:

1) An uncorrected error.
2) That error must be in first cache line of a page.
3) Kernel must execute page\_copy from the page immediately before that
page.

The fast string copy instructions ("REP; MOVS\*") could consume an
uncorrectable memory error in the cache line \_right after\_ the desired
region to copy and raise an MCE.

Bit 0 of MSR\_IA32\_MISC\_ENABLE can be cleared to disable fast string
copy and will avoid such spurious machine checks. However, that is less
preferable due to the permanent performance impact. Considering memory
poison is rare, it's desirable to keep fast string copy enabled until an
MCE is seen.

Intel has confirmed the following:
1. The CPU erratum of fast string copy only applies to Skylake,
Cascade Lake and Cooper Lake generations.

Directly return from the MCE handler:
2. Will result in complete execution of the "REP; MOVS\*" with no data
loss or corruption.
3. Will not result in another MCE firing on the next poisoned cache line
due to "REP; MOVS\*".
4. Will resume execution from a correct point in code.
5. Will result in the same instruction that triggered the MCE firing a
second MCE immediately for any other software recoverable data fetch
errors.
6. Is not safe without disabling the fast string copy, as the next fast
string copy of the same buffer on the same CPU would result in a PANIC
MCE.

This should mitigate the erratum completely with the only caveat that
the fast string copy is disabled on the affected hyper thread thus
performance degradation.

This is still better than the OS crashing on MCEs raised on an
irrelevant process due to "REP; MOVS\*' accesses in a kernel context,
e.g., copy\_page.


Injected errors on 1st cache line of 8 anonymous pages of process
'proc1' and observed MCE consumption from 'proc2' with no panic
(directly returned).

Without the fix, the host panicked within a few minutes on a
random 'proc2' process due to kernel access from copy\_page.

  \[ bp: Fix comment style + touch ups, zap an unlikely(), improve the
    quirk function's readability. \]

## Affected and fixed versions

- Linux: \>= 27fbe5b28a2ffef171c6005f304ea4f80fcdcc01, \< ba37c73be3d5632f6fb9fa20b250ce45560ca85d; \>= 27fbe5b28a2ffef171c6005f304ea4f80fcdcc01, \< 8ca97812c3c830573f965a07bbd84223e8c5f5bd (cvelist)
- Linux: 2.6.19 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-49124.md
Affected: Linux >= 27fbe5b28a2ffef171c6005f304ea4f80fcdcc01, < ba37c73be3d5632f6fb9fa20b250ce45560ca85d; >= 27fbe5b28a2ffef171c6005f304ea4f80fcdcc01, < 8ca97812c3c830573f965a07bbd84223e8c5f5bd; Linux 2.6.19
Fixed in: Linux 8ca97812c3c830573f965a07bbd84223e8c5f5bd

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

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

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

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

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

Linux \>= 27fbe5b28a2ffef171c6005f304ea4f80fcdcc01, \< ba37c73be3d5632f6fb9fa20b250ce45560ca85d; \>= 27fbe5b28a2ffef171c6005f304ea4f80fcdcc01, \< 8ca97812c3c830573f965a07bbd84223e8c5f5bd; Linux 2.6.19.

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

Yes. Fixed in Linux 8ca97812c3c830573f965a07bbd84223e8c5f5bd. Upgrade Linux to 8ca97812c3c830573f965a07bbd84223e8c5f5bd or later.

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

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/ba37c73be3d5632f6fb9fa20b250ce45560ca85d>
- patch: <https://git.kernel.org/stable/c/8ca97812c3c830573f965a07bbd84223e8c5f5bd>

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

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