# CVE-2022-50206: arm64: fix oops in concurrently setting insn\_emulation sysctls

> 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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-06-18T11:03:46.505Z
- **Modified:** 2026-08-15T13:17:30.803Z

## Who should check

- Anyone running Linux \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 9d5fec6ba2e4117d196a8259ab54615ffe562460; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< b51881b1da57fe9877125dfdd0aac5172958fcfd; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 04549063d5701976034d8c2bfda3d3a8cbf0409f; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 353b4673d01c512303c45cf2346f630cda73b5c9; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< cc69ef95988b9ef2fc730ec452a7441efb90ef5e; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 6a2fd114678d7fc1b5a0f8865ae98f1c17787455; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 07022e07017ee5540f5559b0aeb916e8383c1e1a; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< af483947d472eccb79e42059276c4deed76f99a6
- Anyone running Linux 3.19

## Description

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

arm64: fix oops in concurrently setting insn\_emulation sysctls

emulation\_proc\_handler() changes table-\>data for proc\_dointvec\_minmax
and can generate the following Oops if called concurrently with itself:

 \| Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010
 \| Internal error: Oops: 96000006 \[\#1\] SMP
 \| Call trace:
 \| update\_insn\_emulation\_mode+0xc0/0x148
 \| emulation\_proc\_handler+0x64/0xb8
 \| proc\_sys\_call\_handler+0x9c/0xf8
 \| proc\_sys\_write+0x18/0x20
 \| \_\_vfs\_write+0x20/0x48
 \| vfs\_write+0xe4/0x1d0
 \| ksys\_write+0x70/0xf8
 \| \_\_arm64\_sys\_write+0x20/0x28
 \| el0\_svc\_common.constprop.0+0x7c/0x1c0
 \| el0\_svc\_handler+0x2c/0xa0
 \| el0\_svc+0x8/0x200

To fix this issue, keep the table-\>data as &insn-\>current\_mode and
use container\_of() to retrieve the insn pointer. Another mutex is
used to protect against the current\_mode update but not for retrieving
insn\_emulation as table-\>data is no longer changing.

## Affected and fixed versions

- Linux: \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 9d5fec6ba2e4117d196a8259ab54615ffe562460; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< b51881b1da57fe9877125dfdd0aac5172958fcfd; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 04549063d5701976034d8c2bfda3d3a8cbf0409f; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 353b4673d01c512303c45cf2346f630cda73b5c9; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< cc69ef95988b9ef2fc730ec452a7441efb90ef5e; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 6a2fd114678d7fc1b5a0f8865ae98f1c17787455; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 07022e07017ee5540f5559b0aeb916e8383c1e1a; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< af483947d472eccb79e42059276c4deed76f99a6 (cvelist)
- Linux: 3.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50206.md
Affected: Linux >= 587064b610c703f259317d00dc37bf6d40f4fc74, < 9d5fec6ba2e4117d196a8259ab54615ffe562460; >= 587064b610c703f259317d00dc37bf6d40f4fc74, < b51881b1da57fe9877125dfdd0aac5172958fcfd; >= 587064b610c703f259317d00dc37bf6d40f4fc74, < 04549063d5701976034d8c2bfda3d3a8cbf0409f; >= 587064b610c703f259317d0…
Fixed in: Linux 9d5fec6ba2e4117d196a8259ab54615ffe562460, Linux 04549063d5701976034d8c2bfda3d3a8cbf0409f, Linux 353b4673d01c512303c45cf2346f630cda73b5c9, Linux 6a2fd114678d7fc1b5a0f8865ae98f1c17787455, Linux 07022e07017ee5540f5559b0aeb916e8383c1e1a

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

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

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

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

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

Linux \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 9d5fec6ba2e4117d196a8259ab54615ffe562460; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< b51881b1da57fe9877125dfdd0aac5172958fcfd; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 04549063d5701976034d8c2bfda3d3a8cbf0409f; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 353b4673d01c512303c45cf2346f630cda73b5c9; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< cc69ef95988b9ef2fc730ec452a7441efb90ef5e; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 6a2fd114678d7fc1b5a0f8865ae98f1c17787455; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< 07022e07017ee5540f5559b0aeb916e8383c1e1a; \>= 587064b610c703f259317d00dc37bf6d40f4fc74, \< af483947d472eccb79e42059276c4deed76f99a6; Linux 3.19.

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

Yes. Fixed in Linux 9d5fec6ba2e4117d196a8259ab54615ffe562460, Linux 04549063d5701976034d8c2bfda3d3a8cbf0409f, Linux 353b4673d01c512303c45cf2346f630cda73b5c9, Linux 6a2fd114678d7fc1b5a0f8865ae98f1c17787455, Linux 07022e07017ee5540f5559b0aeb916e8383c1e1a. No fix listed yet: follow the vendor advisory.

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

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/9d5fec6ba2e4117d196a8259ab54615ffe562460>
- patch: <https://git.kernel.org/stable/c/b51881b1da57fe9877125dfdd0aac5172958fcfd>
- patch: <https://git.kernel.org/stable/c/04549063d5701976034d8c2bfda3d3a8cbf0409f>
- patch: <https://git.kernel.org/stable/c/353b4673d01c512303c45cf2346f630cda73b5c9>
- patch: <https://git.kernel.org/stable/c/cc69ef95988b9ef2fc730ec452a7441efb90ef5e>
- patch: <https://git.kernel.org/stable/c/6a2fd114678d7fc1b5a0f8865ae98f1c17787455>
- patch: <https://git.kernel.org/stable/c/07022e07017ee5540f5559b0aeb916e8383c1e1a>
- patch: <https://git.kernel.org/stable/c/af483947d472eccb79e42059276c4deed76f99a6>

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

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