U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.


Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2023-52630

Change History

New CVE Received by NIST 4/02/2024 3:15:40 AM

Action Type Old Value New Value
Added Description

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

blk-iocost: Fix an UBSAN shift-out-of-bounds warning

When iocg_kick_delay() is called from a CPU different than the one which set
the delay, @now may be in the past of @iocg->delay_at leading to the
following warning:

  UBSAN: shift-out-of-bounds in block/blk-iocost.c:1359:23
  shift exponent 18446744073709 is too large for 64-bit type 'u64' (aka 'unsigned long long')
  Call Trace:

The underflow itself doesn't really affect the behavior in any meaningful
way; however, the past timestamp may exaggerate the delay amount calculated
later in the code, which shouldn't be a material problem given the nature of
the delay mechanism.

If @now is in the past, this CPU is racing another CPU which recently set up
the delay and there's nothing this CPU can contribute w.r.t. the delay.
Let's bail early from iocg_kick_delay() in such cases.
Added Reference

kernel.org https://git.kernel.org/stable/c/1e4d3f8bd880e02932a9ea179f90bfa74fd2e899 [No types assigned]
Added Reference

kernel.org https://git.kernel.org/stable/c/27b216130e64651e76ed583742a1b4e4d08a67c3 [No types assigned]
Added Reference

kernel.org https://git.kernel.org/stable/c/2a427b49d02995ea4a6ff93a1432c40fa4d36821 [No types assigned]
Added Reference

kernel.org https://git.kernel.org/stable/c/9f56f38331171c9a19754004f0664686d67ee48d [No types assigned]
Added Reference

kernel.org https://git.kernel.org/stable/c/cd33b330cb21675189e747953845f5c3689e4912 [No types assigned]
Added Reference

kernel.org https://git.kernel.org/stable/c/e5dc63f01e027721c29f82069f7e97e2149fa131 [No types assigned]