@mknyszek requested issue #60934 to be considered for backport to the next 1.19 minor release.
Thanks for the investigation and for sending a fix! That does look like a real problem to me.
I think this should probably be backported too, because although I imagine runtime.RaceDisable to be rare, this does cause some pretty serious false positives without any workaround.
@gopherbot please open backport issues for Go 1.20 and Go 1.19.