# CVE-2022-50093: iommu/vt-d: avoid invalid memory access via node\_online(NUMA\_NO\_NODE)

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **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
- **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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-06-18T11:02:31.966Z
- **Modified:** 2026-06-17T05:22:44.743Z

## Who should check

- Anyone running Linux \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< b12304984654d8e58a2b22ff94c4410906d6267f; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< 5659efdadf04b56707d58c1b758df16d2e0eff2c; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< 0b4c0003aeda32a600f95df53b2848da8a5aa3fa; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< 73ce2046e04ad488cecc66757c36cbe1bdf089d4; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< c2304c50f4d94f56c2e326f25c9dc8cf2ba6f5fa; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< b0b0b77ea611e3088e9523e60860f4f41b62b235
- Anyone running Linux 2.6.33

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

- Linux: \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< b12304984654d8e58a2b22ff94c4410906d6267f; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< 5659efdadf04b56707d58c1b758df16d2e0eff2c; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< 0b4c0003aeda32a600f95df53b2848da8a5aa3fa; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< 73ce2046e04ad488cecc66757c36cbe1bdf089d4; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< c2304c50f4d94f56c2e326f25c9dc8cf2ba6f5fa; \>= ee34b32d8c2950f66038c8975747ef9aec855289, \< b0b0b77ea611e3088e9523e60860f4f41b62b235 (cvelist)
- Linux: 2.6.33 (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-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.
```

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

## References

- patch: <https://git.kernel.org/stable/c/b12304984654d8e58a2b22ff94c4410906d6267f>
- patch: <https://git.kernel.org/stable/c/5659efdadf04b56707d58c1b758df16d2e0eff2c>
- patch: <https://git.kernel.org/stable/c/0b4c0003aeda32a600f95df53b2848da8a5aa3fa>
- patch: <https://git.kernel.org/stable/c/73ce2046e04ad488cecc66757c36cbe1bdf089d4>
- patch: <https://git.kernel.org/stable/c/c2304c50f4d94f56c2e326f25c9dc8cf2ba6f5fa>
- patch: <https://git.kernel.org/stable/c/b0b0b77ea611e3088e9523e60860f4f41b62b235>

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

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