On Mon, 22 Jan 2024 10:45:29 +0200 Danielle Ratson wrote: > + netdev_put(module_fw->dev, &module_fw->dev_tracker); > + module_fw->dev->module_fw_flash_in_progress = false; The other way around :) Once you release the reference you can't touch dev at all.