CVE-2022-50206: arm64: fix oops in concurrently setting insn_emulation sysctls

Published Jun 18, 2025
·
Updated

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

arm64: fix oops in concurrently setting insnemulation sysctls

emulationprochandler() changes table->data for procdointvecminmax 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: | updateinsnemulationmode+0xc0/0x148 | emulationprochandler+0x64/0xb8 | procsyscallhandler+0x9c/0xf8 | procsyswrite+0x18/0x20 | vfswrite+0x20/0x48 | vfswrite+0xe4/0x1d0 | ksyswrite+0x70/0xf8 | arm64syswrite+0x20/0x28 | el0svccommon.constprop.0+0x7c/0x1c0 | el0svchandler+0x2c/0xa0 | el0svc+0x8/0x200

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

Affected Software

8 affected components
Linux Linux kernel
Linux Linux kernel<4.14.291
Linux Linux kernel>=4.15<4.19.256
Linux Linux kernel>=4.20<5.4.211
Linux Linux kernel>=5.5<5.10.137
Linux Linux kernel>=5.11<5.15.61
Linux Linux kernel>=5.16<5.18.18
Linux Linux kernel>=5.19<5.19.2

Event History

Jun 18, 2025
CVE Published
via MITRE·11:03 AM
Data Sourced
via MITRE·11:03 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50206?

CVE-2022-50206 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2022-50206?

To fix CVE-2022-50206, ensure that the Linux kernel is updated to the latest version where this issue is patched.

3

What systems are affected by CVE-2022-50206?

CVE-2022-50206 affects the Linux kernel, specifically on arm64 architectures.

4

What does CVE-2022-50206 vulnerability do?

CVE-2022-50206 can cause a kernel oops when the insn_emulation sysctls are set concurrently.

5

Is there a workaround for CVE-2022-50206?

Currently, there are no known workarounds for CVE-2022-50206 aside from updating the kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203