CVE-2022-50093
iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ee34b32d8c2950f66038c8975747ef9aec855289, < b12304984654d8e58a2b22ff94c4410906d6267f; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 5659efdadf04b56707d58c1b758df16d2e0eff2c; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 0b4c0003aeda32a600f95df53b2848da8a5aa3fa; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 73ce2046e04ad488cecc66757c36cbe1bdf089d4; >= ee34b32d8c2950f66038c8975747ef9aec855289, < c2304c50f4d94f56c2e326f25c9dc8cf2ba6f5fa; >= ee34b32d8c2950f66038c8975747ef9aec855289, < b0b0b77ea611e3088e9523e60860f4f41b62b235
- Anyone running Linux 2.6.33
Vulnerability facts
- Affected
- Linux >= ee34b32d8c2950f66038c8975747ef9aec855289, < b12304984654d8e58a2b22ff94c4410906d6267f; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 5659efdadf04b56707d58c1b758df16d2e0eff2c; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 0b4c0003aeda32a600f95df53b2848da8a5aa3fa; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 73ce2046e04ad488cecc66757c36cbe1bdf089d4; >= ee34b32d8c2950f66038c8975747ef9aec855289, < c2304c50f4d94f56c2e326f25c9dc8cf2ba6f5fa; >= ee34b32d8c2950f66038c8975747ef9aec855289, < b0b0b77ea611e3088e9523e60860f4f41b62b235; Linux 2.6.33
- Fixed in
- Linux 5659efdadf04b56707d58c1b758df16d2e0eff2c, Linux 0b4c0003aeda32a600f95df53b2848da8a5aa3fa, Linux 73ce2046e04ad488cecc66757c36cbe1bdf089d4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE) KASAN reports: [ 4.668325][ T0] BUG: KASAN: wild-memory-access in dmar_parse_one_rhsa (arch/x86/include/asm/bitops.h:214 arch/x86/include/asm/bitops.h:226 include/asm-generic/bitops/instrumented-non-atomic.h:142 include/linux/nodemask.h:415 drivers/iommu/intel/dmar.c:497) [ 4.676149][ T0] Read of size 8 at addr 1fffffff85115558 by task swapper/0/0 [ 4.683454][ T0] [ 4.685638][ T0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.19.0-rc3-00004-g0e862838f290 #1 [ 4.694331][ T0] Hardware name: Supermicro SYS-5018D-FN4T/X10SDV-8C-TLN4F, BIOS 1.1 03/02/2016 [ 4.703196][ T0] Call Trace: [ 4.706334][ T0] <TASK> [ 4.709133][ T0] ? dmar_parse_one_rhsa (arch/x86/include/asm/bitops.h:214 arch/x86/include/asm/bitops.h:226 include/asm-generic/bitops/instrumented-non-atomic.h:142 include/linux/nodemask.h:415 drivers/iommu/intel/dmar.c:497) after converting the type of the first argument (@nr, bit number) of arch_test_bit() from `long` to `unsigned long`[0]. Under certain conditions (for example, when ACPI NUMA is disabled via command line), pxm_to_node() can return %NUMA_NO_NODE (-1). It is valid 'magic' number of NUMA node, but not valid bit number to use in bitops. node_online() eventually descends to test_bit() without checking for the input, assuming it's on caller side (which might be good for perf-critical tasks). There, -1 becomes %ULONG_MAX which leads to an insane array index when calculating bit position in memory. For now, add an explicit check for @node being not %NUMA_NO_NODE before calling test_bit(). The actual logics didn't change here at all. [0] https://github.com/norov/linux/commit/0e862838f290147ea9c16db852d8d494b552d38d
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ee34b32d8c2950f66038c8975747ef9aec855289, < b12304984654d8e58a2b22ff94c4410906d6267f; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 5659efdadf04b56707d58c1b758df16d2e0eff2c; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 0b4c0003aeda32a600f95df53b2848da8a5aa3fa; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 73ce2046e04ad488cecc66757c36cbe1bdf089d4; >= ee34b32d8c2950f66038c8975747ef9aec855289, < c2304c50f4d94f56c2e326f25c9dc8cf2ba6f5fa; >= ee34b32d8c2950f66038c8975747ef9aec855289, < b0b0b77ea611e3088e9523e60860f4f41b62b235 | — | cvelist |
| Linux | 2.6.33 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50093. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50093.md Affected: Linux >= ee34b32d8c2950f66038c8975747ef9aec855289, < b12304984654d8e58a2b22ff94c4410906d6267f; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 5659efdadf04b56707d58c1b758df16d2e0eff2c; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 0b4c0003aeda32a600f95df53b2848da8a5aa3fa; >= ee34b32d8c2950f66038c89… Fixed in: Linux 5659efdadf04b56707d58c1b758df16d2e0eff2c, Linux 0b4c0003aeda32a600f95df53b2848da8a5aa3fa, Linux 73ce2046e04ad488cecc66757c36cbe1bdf089d4 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.
References
Patches
- https://git.kernel.org/stable/c/b12304984654d8e58a2b22ff94c4410906d6267f
- https://git.kernel.org/stable/c/5659efdadf04b56707d58c1b758df16d2e0eff2c
- https://git.kernel.org/stable/c/0b4c0003aeda32a600f95df53b2848da8a5aa3fa
- https://git.kernel.org/stable/c/73ce2046e04ad488cecc66757c36cbe1bdf089d4
- https://git.kernel.org/stable/c/c2304c50f4d94f56c2e326f25c9dc8cf2ba6f5fa
- https://git.kernel.org/stable/c/b0b0b77ea611e3088e9523e60860f4f41b62b235
FAQ
Is CVE-2022-50093 being exploited?
There is no confirmed exploitation: CVE-2022-50093 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-50093?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50093?
Linux >= ee34b32d8c2950f66038c8975747ef9aec855289, < b12304984654d8e58a2b22ff94c4410906d6267f; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 5659efdadf04b56707d58c1b758df16d2e0eff2c; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 0b4c0003aeda32a600f95df53b2848da8a5aa3fa; >= ee34b32d8c2950f66038c8975747ef9aec855289, < 73ce2046e04ad488cecc66757c36cbe1bdf089d4; >= ee34b32d8c2950f66038c8975747ef9aec855289, < c2304c50f4d94f56c2e326f25c9dc8cf2ba6f5fa; >= ee34b32d8c2950f66038c8975747ef9aec855289, < b0b0b77ea611e3088e9523e60860f4f41b62b235; Linux 2.6.33.
Is there a fix for CVE-2022-50093?
Yes. Fixed in Linux 5659efdadf04b56707d58c1b758df16d2e0eff2c, Linux 0b4c0003aeda32a600f95df53b2848da8a5aa3fa, Linux 73ce2046e04ad488cecc66757c36cbe1bdf089d4. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50093?
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.