Fix stack overflow in do_proc_dointvec and proc_skip_spaces
Bugzilla: https://bugzilla.redhat.com/2152581
CVE: CVE-2022-4378
Signed-off-by: Wander Lairson Costa wander@redhat.com
a664fa0e (Wander Lairson Costa) proc: proc_skip_spaces() shouldn't think it is working on C strings
ab93541c (Wander Lairson Costa) proc: avoid integer type confusion in get_proc_long
kernel/sysctl.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)