# CVE-2024-50072: x86/bugs: Use code segment selector for VERW operand

> 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.30% (percentile 15, 2026-11-26)
- **Published:** 2024-10-29T00:50:14.170Z
- **Modified:** 2026-06-17T08:03:30.740Z

## Who should check

- Anyone running Linux \>= 50f021f0b985629accf10481a6e89af8b9700583, \< bfd1d223d80cb29a210caa1bd5e21f0816d58f02; \>= d54de9f2a127090f2017184e8257795b487d5312, \< ada431c6c31a2c8c37991c46089af5caa23a9c6e; \>= 2e3087505ddb8ba2d3d4c81306cca11e868fcdb9, \< 38c5fe74f3bef98f75d16effa49836d50c9b6097; \>= ca13d8cd8dac25558da4ee8df4dc70e8e7f9d762, \< 481b477ab63c7245715a3e57ba79eb87c2dc0d02; \>= a0e2dab44d22b913b4c228c8b52b2a104434b0b3, \< bc576fbaf82deded606e69a00efe9752136bf91d; \>= a0e2dab44d22b913b4c228c8b52b2a104434b0b3, \< e4d2102018542e3ae5e297bc6e229303abff8a0f; 51eca9f1fd047b500137d021f882d93f03280118; \>= 5.10.215, \< 5.10.229; \>= 5.15.154, \< 5.15.171; \>= 6.1.81, \< 6.1.116; …
- Anyone running Linux 6.8

## Description

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

x86/bugs: Use code segment selector for VERW operand

Robert Gill reported below \#GP in 32-bit mode when dosemu software was
executing vm86() system call:

  general protection fault: 0000 \[\#1\] PREEMPT SMP
  CPU: 4 PID: 4610 Comm: dosemu.bin Not tainted 6.6.21-gentoo-x86 \#1
  Hardware name: Dell Inc. PowerEdge 1950/0H723K, BIOS 2.7.0 10/30/2010
  EIP: restore\_all\_switch\_stack+0xbe/0xcf
  EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
  ESI: 00000000 EDI: 00000000 EBP: 00000000 ESP: ff8affdc
  DS: 0000 ES: 0000 FS: 0000 GS: 0033 SS: 0068 EFLAGS: 00010046
  CR0: 80050033 CR2: 00c2101c CR3: 04b6d000 CR4: 000406d0
  Call Trace:
   show\_regs+0x70/0x78
   die\_addr+0x29/0x70
   exc\_general\_protection+0x13c/0x348
   exc\_bounds+0x98/0x98
   handle\_exception+0x14d/0x14d
   exc\_bounds+0x98/0x98
   restore\_all\_switch\_stack+0xbe/0xcf
   exc\_bounds+0x98/0x98
   restore\_all\_switch\_stack+0xbe/0xcf

This only happens in 32-bit mode when VERW based mitigations like MDS/RFDS
are enabled. This is because segment registers with an arbitrary user value
can result in \#GP when executing VERW. Intel SDM vol. 2C documents the
following behavior for VERW instruction:

  \#GP(0) - If a memory operand effective address is outside the CS, DS, ES,
	   FS, or GS segment limit.

CLEAR\_CPU\_BUFFERS macro executes VERW instruction before returning to user
space. Use %cs selector to reference VERW operand. This ensures VERW will
not \#GP for an arbitrary user %ds.

\[ mingo: Fixed the SOB chain. \]

## Affected and fixed versions

- Linux: \>= 50f021f0b985629accf10481a6e89af8b9700583, \< bfd1d223d80cb29a210caa1bd5e21f0816d58f02; \>= d54de9f2a127090f2017184e8257795b487d5312, \< ada431c6c31a2c8c37991c46089af5caa23a9c6e; \>= 2e3087505ddb8ba2d3d4c81306cca11e868fcdb9, \< 38c5fe74f3bef98f75d16effa49836d50c9b6097; \>= ca13d8cd8dac25558da4ee8df4dc70e8e7f9d762, \< 481b477ab63c7245715a3e57ba79eb87c2dc0d02; \>= a0e2dab44d22b913b4c228c8b52b2a104434b0b3, \< bc576fbaf82deded606e69a00efe9752136bf91d; \>= a0e2dab44d22b913b4c228c8b52b2a104434b0b3, \< e4d2102018542e3ae5e297bc6e229303abff8a0f; 51eca9f1fd047b500137d021f882d93f03280118; \>= 5.10.215, \< 5.10.229; \>= 5.15.154, \< 5.15.171; \>= 6.1.81, \< 6.1.116; … (cvelist)
- Linux: 6.8 (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-2024-50072. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50072.md
Affected: Linux >= 50f021f0b985629accf10481a6e89af8b9700583, < bfd1d223d80cb29a210caa1bd5e21f0816d58f02; >= d54de9f2a127090f2017184e8257795b487d5312, < ada431c6c31a2c8c37991c46089af5caa23a9c6e; >= 2e3087505ddb8ba2d3d4c81306cca11e868fcdb9, < 38c5fe74f3bef98f75d16effa49836d50c9b6097; >= ca13d8cd8dac25558da4ee8…
Fixed in: Linux 38c5fe74f3bef98f75d16effa49836d50c9b6097, Linux 481b477ab63c7245715a3e57ba79eb87c2dc0d02, Linux 5.10.229, Linux 5.15.171, Linux 6.1.116

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-2024-50072 being exploited?

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

### How serious is CVE-2024-50072?

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

### Which versions are affected by CVE-2024-50072?

Linux \>= 50f021f0b985629accf10481a6e89af8b9700583, \< bfd1d223d80cb29a210caa1bd5e21f0816d58f02; \>= d54de9f2a127090f2017184e8257795b487d5312, \< ada431c6c31a2c8c37991c46089af5caa23a9c6e; \>= 2e3087505ddb8ba2d3d4c81306cca11e868fcdb9, \< 38c5fe74f3bef98f75d16effa49836d50c9b6097; \>= ca13d8cd8dac25558da4ee8df4dc70e8e7f9d762, \< 481b477ab63c7245715a3e57ba79eb87c2dc0d02; \>= a0e2dab44d22b913b4c228c8b52b2a104434b0b3, \< bc576fbaf82deded606e69a00efe9752136bf91d; \>= a0e2dab44d22b913b4c228c8b52b2a104434b0b3, \< e4d2102018542e3ae5e297bc6e229303abff8a0f; 51eca9f1fd047b500137d021f882d93f03280118; \>= 5.10.215, \< 5.10.229; \>= 5.15.154, \< 5.15.171; \>= 6.1.81, \< 6.1.116; …; Linux 6.8.

### Is there a fix for CVE-2024-50072?

Yes. Fixed in Linux 38c5fe74f3bef98f75d16effa49836d50c9b6097, Linux 481b477ab63c7245715a3e57ba79eb87c2dc0d02, Linux 5.10.229, Linux 5.15.171, Linux 6.1.116. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50072?

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/481b477ab63c7245715a3e57ba79eb87c2dc0d02>
- patch: <https://git.kernel.org/stable/c/bc576fbaf82deded606e69a00efe9752136bf91d>
- patch: <https://git.kernel.org/stable/c/e4d2102018542e3ae5e297bc6e229303abff8a0f>
- other: <https://git.kernel.org/stable/c/bfd1d223d80cb29a210caa1bd5e21f0816d58f02>
- other: <https://git.kernel.org/stable/c/ada431c6c31a2c8c37991c46089af5caa23a9c6e>
- other: <https://git.kernel.org/stable/c/38c5fe74f3bef98f75d16effa49836d50c9b6097>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

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

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