Back

MEDIUM

kernel: Reset %fs early in iret_exc

Published Nov 7, 2019

Description

In Linux 2.6 before 2.6.23, the TRACE_IRQS_ON function in iret_exc calls a C function without ensuring that the segments are set properly. The kernel's %fs needs to be restored before the call in TRACE_IRQS_ON and before enabling interrupts, so that "current" references work. Without this, "current" used in the window between iret_exc and the middle of error_code where %fs is reset, would crash.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (0)

No CWE recorded.

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Nov 7, 2019
Updated Aug 7, 2024
Reserved Jul 12, 2007
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Important
Public date n/a