CVEvulnerability

CVE-2023-52633

5.0 MEDIUM Published 2024-04-02 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-04-02
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.0 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-787

Description

In the Linux kernel, the following vulnerability has been resolved: um: time-travel: fix time corruption In 'basic' time-travel mode (without =inf-cpu or =ext), we still get timer interrupts. These can happen at arbitrary points in time, i.e. while in timer_read(), which pushes time forward just a little bit. Then, if we happen to get the interrupt after calculating the new time to push to, but before actually finishing that, the interrupt will set the time to a value that's incompatible with the forward, and we'll crash because time goes backwards when we do the forwarding. Fix this by reading the time_travel_time, calculating the adjustment, and doing the adjustment all with interrupts disabled.

Affected configurations

• linux linux kernel (< 5.15.149) • linux linux kernel (>= 5.16 < 6.1.77) • linux linux kernel (>= 6.2 < 6.6.16) • linux linux kernel (>= 6.7 < 6.7.4)

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References