Re: [PATCH net-next] ibmvnic: Fix use-after-free of VNIC login response buffer

2020-08-24 Thread David Miller
From: Thomas Falcon Date: Fri, 21 Aug 2020 13:39:01 -0500 > The login response buffer is freed after it is received > and parsed, but other functions in the driver still attempt > to read it, such as when the device is opened, causing the > Oops below. Store relevant information in the driver's >

[PATCH net-next] ibmvnic: Fix use-after-free of VNIC login response buffer

2020-08-21 Thread Thomas Falcon
The login response buffer is freed after it is received and parsed, but other functions in the driver still attempt to read it, such as when the device is opened, causing the Oops below. Store relevant information in the driver's private data structures and use those instead. BUG: Kernel NULL poin