What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 4.19.323, 5.10.227, 5.15.168, 5.4.285. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50180 or the next vulnerability affects your stack