fbcon: Avoid OOB font access if console rotation fails
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6cc50e1c5b57180fd37a31282000f43859b0fe73 · < 7105d9f1387d63b15c9a860674fc92c959181f2f| No fix yet |
| Linux Linux |
|
|
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
From the CVE record · Linux
The Linux kernel’s fbcon component can access beyond a font buffer if reallocation fails during console rotation. Printing a sufficiently high character code to the rotated console can trigger the access. The input does not specify whether an attacker needs network access, authentication, or user interaction.
Anyone running a Linux kernel with the affected fbcon code should check their version; affected versions are not specified.