Re: [PATCH] fbcon: fix buffer overflow in fbcon_set_font

2025-10-18 Thread Thomas Zimmermann
Hi, thanks for the patch. The fix at [1] has meanwhile been merged into the DRM tree. [1] https://patchwork.freedesktop.org/series/154848/ Best regards Thomas Am 23.09.25 um 17:06 schrieb Simon Richter: Commit 1a194e6c8e1ee745e914b0b7f50fa86c89ed13fe introduced overflow checking for the fon

[PATCH] fbcon: fix buffer overflow in fbcon_set_font

2025-10-18 Thread Simon Richter
Commit 1a194e6c8e1ee745e914b0b7f50fa86c89ed13fe introduced overflow checking for the font allocation size calculation, but in doing so moved the addition of the size for font housekeeping data out of the kmalloc call. As a result, the calculated size now includes those extra bytes, which marks the