[Midnightbsd-cvs] [MidnightBSD/src] 9db98b: Due to the uninitialized stack variable, the ena(4...

Lucas Holt noreply at github.com
Thu Jul 3 16:16:01 EDT 2025


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 9db98b209f7177b78c48a951b50668e079bd2fa4
      https://github.com/MidnightBSD/src/commit/9db98b209f7177b78c48a951b50668e079bd2fa4
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M sys/dev/ena/ena.c
    M sys/dev/ena/ena.h

  Log Message:
  -----------
  Due to the uninitialized stack variable, the ena(4) driver will exceed the
maximum tx burst size, leading to device resets, making the device unusable.

Additionally, the calculation of the tx burst size includes division by the
uninitialized stack variable. If the stack variable is 0, this will cause
division by 0 in the kernel, leading to a kernel panic.



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list