Input: ims-pcu - sanity check against missing interfaces
Orabug:
23331123
[ Upstream commit
a0ad220c96692eda76b2e3fd7279f3dcd1d8a8ff ]
A malicious device missing interface can make the driver oops.
Add sanity checking.
Signed-off-by: Oliver Neukum <ONeukum@suse.com>
CC: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit
3ec245e8591a183e276df89cd7f9e7a15645b9da)
Signed-off-by: Dan Duval <dan.duval@oracle.com>