CVE-2024-50180

fbdev: sisfb: Fix strbuf array overflow

State
Published
Severity
7.8 High
Published
Nov 8, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

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

fbdev: sisfb: Fix strbuf array overflow

The values of the variables xres and yres are placed in strbuf. These variables are obtained from strbuf1. The strbuf1 array contains digit characters and a space if the array contains non-digit characters. Then, when executing sprintf(strbuf, "%ux%ux8", xres, yres); more than 16 bytes will be written to strbuf. It is suggested to increase the size of the strbuf array to 24.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 433c84c8495008922534c5cafdae6ff970fb3241Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 57c4f4db0a194416da237fd09dad9527e00cb587Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 252f147b1826cbb30ae0304cf86b66d3bb12b743Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 41cf6f26abe4f491b694c54bd1aa2530369b7510Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 889304120ecb2ca30674d89cd4ef15990b6a571cAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 688872c4ea4a528cd6a057d545c83506b533ee1fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 11c0d49093b82f6c547fd419c41a982d26bdf5efAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9cf14f5a2746c19455ce9cb44341b5527b5e19c3Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.19.323 through 4.19.*Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.57 through 6.6.*Not affected
  • 6.11.4 through 6.11.*Not affected
  • 6.12 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.