Commit 2e9c949
committed
vt: fix unicode buffer corruption when deleting characters
jira LE-1907
cve CVE-2024-35823
Rebuild_History Non-Buildable kernel-5.14.0-427.31.1.el9_4
commit-author Nicolas Pitre <[email protected]>
commit 1581daf
This is the same issue that was fixed for the VGA text buffer in commit
39cdb68 ("vt: fix memory overlapping when deleting chars in the
buffer"). The cure is also the same i.e. replace memcpy() with memmove()
due to the overlaping buffers.
Signed-off-by: Nicolas Pitre <[email protected]>
Fixes: 81732c3 ("tty vt: Fix line garbage in virtual console on command line edition")
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
(cherry picked from commit 1581daf)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 9b3b653 commit 2e9c949
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| |||
0 commit comments