Re: [PATCH] net: usb: pegasus: fix improper read if get_registers() fail
From: David Miller <davem@davemloft.net>
Date: 2019-07-30 17:24:38
From: David Miller <davem@davemloft.net>
Date: 2019-07-30 17:24:38
From: Denis Kirjanov <redacted> Date: Tue, 30 Jul 2019 15:13:57 +0200
get_registers() may fail with -ENOMEM and in this case we can read a garbage from the status variable tmp. Reported-by: syzbot+3499a83b2d062ae409d4@syzkaller.appspotmail.com Signed-off-by: Denis Kirjanov <redacted>
Why did you post this patch twice? What is different between the two versions?