Commit 4a09b7e
committed
vc_screen: modify vcs_size() handling in vcs_read()
jira VULN-8820
cve-bf CVE-2023-3567
commit-author George Kennedy <[email protected]>
commit 46d733d
Restore the vcs_size() handling in vcs_read() to what
it had been in previous version.
Fixes: 226fae1 ("vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF")
Suggested-by: Jiri Slaby <[email protected]>
Signed-off-by: George Kennedy <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
(cherry picked from commit 46d733d)
Signed-off-by: Shreeya Patel <[email protected]>1 parent 8886655 commit 4a09b7e
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
420 | 418 | | |
421 | | - | |
| 419 | + | |
422 | 420 | | |
423 | 421 | | |
424 | 422 | | |
| |||
0 commit comments