[PATCH 0/4] firmware: qemu_fw_cfg: misc bug fixes

From: Johan Hovold
Date: Wed Dec 01 2021 - 08:32:33 EST


When searching for the latest umn.edu patches I stumbled upon a recently
submitted fix for a bug purportedly introduced by umn.edu:

https://lore.kernel.org/r/YaZc4LbX5hrJDnec@xxxxxxxxxxxxxxxxxxxx

The patch in question is obviously bogus, but a closer look at the
function in question revealed a number of other bugs, including one that
was indeed introduced by umn.edu but that was missed during the
(re-)review.

Included is also a related clean up.

Johan


Johan Hovold (4):
firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
firmware: qemu_fw_cfg: fix kobject leak in probe error path
firmware: qemu_fw_cfg: fix sysfs information leak
firmware: qemu_fw_cfg: remove sysfs entries explicitly

drivers/firmware/qemu_fw_cfg.c | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)

--
2.32.0