Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-50180

fbdev: sisfb: Fix strbuf array overflow

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 433c84c8495008922534c5cafdae6ff970fb3241affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 57c4f4db0a194416da237fd09dad9527e00cb587affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 252f147b1826cbb30ae0304cf86b66d3bb12b743affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 41cf6f26abe4f491b694c54bd1aa2530369b7510affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 889304120ecb2ca30674d89cd4ef15990b6a571caffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 688872c4ea4a528cd6a057d545c83506b533ee1faffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 11c0d49093b82f6c547fd419c41a982d26bdf5efaffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9cf14f5a2746c19455ce9cb44341b5527b5e19c3affected

Linux Linux

Default version status: affected

  • 2.6.12affected
  • 0 to < 2.6.12unaffected
  • 4.19.323 to ≤ 4.19.*unaffected
  • 5.4.285 to ≤ 5.4.*unaffected
  • 5.10.227 to ≤ 5.10.*unaffected
  • 5.15.168 to ≤ 5.15.*unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.6.57 to ≤ 6.6.*unaffected
  • 6.11.4 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References