Re: [PATCH net] ptp: ocp: prevent watchdog rearming during detach
From: Runyu Xiao
Date: Mon Sep 21 2026 - 06:15:02 EST
Thanks for the review.
After checking the timer implementation, I agree that the original bug
premise was incorrect. The watchdog is only armed during clock
initialization and rearmed by its own callback. timer_delete_sync() waits
for the callback to finish and removes a timer rearmed by that callback
before returning.
There is no independent rearm path during ptp_ocp_detach(), so the claimed
use-after-free is not reachable.
I will withdraw this patch and will not send a v2. The Fixes and Cc: stable
tags are therefore not appropriate.
Regards,
Runyu