Files
linux/arch/um/drivers
Miaoqian Lin 7ebf70cf18 um: virtio_uml: Fix use-after-free after put_device in probe
When register_virtio_device() fails in virtio_uml_probe(),
the code sets vu_dev->registered = 1 even though
the device was not successfully registered.
This can lead to use-after-free or other issues.

Fixes: 04e5b1fb01 ("um: virtio: Remove device on disconnect")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-09-10 14:24:16 +02:00
..
2023-05-10 00:21:30 +02:00
2023-05-10 00:21:30 +02:00
2023-12-08 12:02:38 +01:00
2023-12-08 12:02:38 +01:00
2024-07-03 12:24:25 +02:00
2021-02-12 21:38:52 +01:00
2022-09-19 23:10:07 +02:00
2024-09-12 20:16:42 +02:00
2024-07-03 12:24:25 +02:00