diff options
author | Mathias Nyman <[email protected]> | 2024-03-08 13:34:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-03-19 13:07:35 +0100 |
commit | a788e53c05aee6e3d60792a59e10c0fac56b5086 (patch) | |
tree | c92c7ebca40232488963abf7e94cb9c14004714e /scripts/gdb/linux/device.py | |
parent | d99e42ce6b8341d3f09e22c6706461ec900fe172 (diff) |
usb: usb-acpi: Fix oops due to freeing uninitialized pld pointer
If reading the ACPI _PLD port location object fails, or the port
doesn't have a _PLD ACPI object then the *pld pointer will remain
uninitialized and oops when freed.
The patch that caused this is currently in next, on its way to v6.9.
So no need to add this to stable or current 6.8 kernel.
Reported-by: Klara Modin <[email protected]>
Closes: https://lore.kernel.org/linux-usb/[email protected]/
Tested-by: Klara Modin <[email protected]>
Fixes: f3ac348e6e04 ("usb: usb-acpi: Set port connect type of not connectable ports correctly")
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions