Linux
fbcon: Avoid OOB font access if console rotation fails
In the Linux kernel, the following vulnerability has been resolved: fbcon: Avoid OOB font access if console rotation fails Clear the font buffer if the reallocation during console rotation fails in fbcon_rotate_font(). The putcs implementations for the rotated buffer will return early in this case. See [1] for an example. Currently, fbcon_rotate_font() keeps the old buffer, which is too small for the rotated font. Printing to the rotated console with a high-enough character code will overflow the font buffer. v2: - fix typos in commit message
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < b51c343a81e6e806525a4435e22532c107dd7e9d
- >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < 46cf3646dea54baeaa2eafe3fb1ba769947f31b0
- >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < 524a6079395916fb3d790ef2bb46a1d2939b27dd
- >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < 594973a2e54924d8ba31c9faac669fc1ba6fcb80
- >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < ab6c34b9829d5de03f1d08a47a2253729a6e7e27
- >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < 7105d9f1387d63b15c9a860674fc92c959181f2f
- >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < b44cc78ff46b96e72d333a3be6aaaa0a14797263
- >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < e4ef723d8975a2694cc90733a6b888a5e2841842
Fixed in b51c343a81e6e806525a4435e22532c107dd7e9d, 46cf3646dea54baeaa2eafe3fb1ba769947f31b0, 524a6079395916fb3d790ef2bb46a1d2939b27dd, 594973a2e54924d8ba31c9faac669fc1ba6fcb80, ab6c34b9829d5de03f1d08a47a2253729a6e7e27, 7105d9f1387d63b15c9a860674fc92c959181f2f, b44cc78ff46b96e72d333a3be6aaaa0a14797263, e4ef723d8975a2694cc90733a6b888a5e2841842
- 2.6.15
Fixed in 0, 5.10.259, 5.15.210, 6.1.176, 6.6.140, 6.12.90, 6.18.32, 7.0.7, 7.1
Mitigation
Upgrade Linux to b51c343a81e6e806525a4435e22532c107dd7e9d or 46cf3646dea54baeaa2eafe3fb1ba769947f31b0 or 524a6079395916fb3d790ef2bb46a1d2939b27dd or 594973a2e54924d8ba31c9faac669fc1ba6fcb80 or ab6c34b9829d5de03f1d08a47a2253729a6e7e27 or 7105d9f1387d63b15c9a860674fc92c959181f2f or b44cc78ff46b96e72d333a3be6aaaa0a14797263 or e4ef723d8975a2694cc90733a6b888a5e2841842 or later.
Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.140 or 6.12.90 or 6.18.32 or 7.0.7 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.