A logic issue was addressed with improved state management. This issue is fixed in macOS Monterey 12.4, iOS 15.5 and iPadOS 15.5. A malicious website may be able to track users in Safari private browsing mode.
https://support.apple.com/en-us/HT213256
https://support.apple.com/kb/HT213256