CVE-2026-80578

fbdev: core: Fix pointer desynchronization in fb_io_read()

State
Published
Severity
7.3 High
Published
Aug 26, 2026
Updated
Oct 16, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

Description

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

fbdev: core: Fix pointer desynchronization in fb_io_read()

In fb_io_read(), if copy_to_user() performs a partial copy (e.g., due to a faulty user buffer), the loop adjusts the chunk size 'c' and updates the remaining 'count'. However, the hardware 'src' pointer has already been eagerly advanced by the original chunk size.

If the loop is allowed to continue, the read will resume from an incorrect, over-advanced offset. Since the remaining 'count' was only decremented by the successful bytes, this desynchronization causes the next iterations to execute more hardware reads than originally bounded, eventually leading to out-of-bounds I/O reads.

Fix this by breaking out of the loop immediately upon a partial copy_to_user(). A partial copy indicates a faulty user buffer, making subsequent read attempts futile. Breaking out ensures we return the number of successfully read bytes without risking out-of-bounds hardware accesses in subsequent mismatched iterations.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6121cd9ef911432b14c2a17aefaf8cd2f3cfcdff to before 42bc07b4e5a3c8a02a433388f562a8f46d093e11Affected
  • 6121cd9ef911432b14c2a17aefaf8cd2f3cfcdff to before 42a6d8126c194133eafab2b0fd5c8668ebfcba5bAffected
  • 6121cd9ef911432b14c2a17aefaf8cd2f3cfcdff to before 7ff87a01ae3a8cd0208f7499386998223a8b5dbaAffected
  • 6121cd9ef911432b14c2a17aefaf8cd2f3cfcdff to before 7110b7b794a2aac2c5cf8eb06ebf2af724c74d50Affected
  • 6121cd9ef911432b14c2a17aefaf8cd2f3cfcdff to before 81cc73be40c6f028f1ee3f438ace46afe666dbaeAffected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.153 through 6.6.*Not affected
  • 6.12.105 through 6.12.*Not affected
  • 6.18.46 through 6.18.*Not affected
  • 7.1.10 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.