CVE-2025-38702

fbdev: fix potential buffer overflow in do_register_framebuffer()

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5c3f5a25c62230b7965804ce7a2e9305c3ca3961 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cbe740de32bb0fb7a5213731ff5f26ea6718fca3 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 806f85bdd3a60187c21437fc51baace11f659f35 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2828a433c7d7a05b6f27c8148502095101dd0b09 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 248b2aab9b2af5ecf89d9d7955a2ff20c4b4a399 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 523b84dc7ccea9c4d79126d6ed1cf9033cf83b05
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 6.1.149 ≤ 6.1.* ; unaffected 6.6.103 ≤ 6.6.* ; unaffected 6.12.43 ≤ 6.12.* ; unaffected 6.15.11 ≤ 6.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD