@FiloSottile requested issue #58501 to be considered for backport to the next 1.20 minor release.
@gopherbot please open a Go 1.20 backport. This is arguably partially mitigating a performance regression in Go 1.20, it's a "bug" in new code introduced in Go 1.20, and the patch is as safe as it gets.