aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorSven Schnelle <[email protected]>2023-03-07 14:35:23 +0100
committerVasily Gorbik <[email protected]>2023-03-13 09:15:11 +0100
commita52e5cdbe8016d4e3e6322fd93d71afddb9a5af9 (patch)
treea51aada8df42ba8d90dbe30c9948215cff1857c6 /drivers/usb/cdns3/cdns3-imx.c
parenteeac8ede17557680855031c6f305ece2378af326 (diff)
s390/ipl: add missing intersection check to ipl_report handling
The code which handles the ipl report is searching for a free location in memory where it could copy the component and certificate entries to. It checks for intersection between the sections required for the kernel and the component/certificate data area, but fails to check whether the data structures linking these data areas together intersect. This might cause the iplreport copy code to overwrite the iplreport itself. Fix this by adding two addtional intersection checks. Cc: <[email protected]> Fixes: 9641b8cc733f ("s390/ipl: read IPL report at early boot") Signed-off-by: Sven Schnelle <[email protected]> Reviewed-by: Vasily Gorbik <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions