CVE-2025-38702

Updated on 04 Sep 2025

Severity

7.8 High severity

Details

CVSS score
7.8
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Overview

About vulnerability

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

fbdev: fix potential buffer overflow in do_register_framebuffer()

The current implementation may lead to buffer overflow when:

  1. Unregistration creates NULL gaps in registered_fb[]
  2. All array slots become occupied despite num_registered_fb < FB_MAX
  3. The registration loop exceeds array bounds

Add boundary check to prevent registered_fb[FB_MAX] access.

Details

Affected packages:
linux @ 5.4.0 (+15 more)

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

fbdev: fix potential buffer overflow in do_register_framebuffer()

The current implementation may lead to buffer overflow when:

  1. Unregistration creates NULL gaps in registered_fb[]
  2. All array slots become occupied despite num_registered_fb < FB_MAX
  3. The registration loop exceeds array bounds

Add boundary check to prevent registered_fb[FB_MAX] access.

Fixes