While it's not Photoshop, Photopea is free and has such features. It runs in the browser and doesn't require an account or lock features behind a paywall or subscription.
Reddit’s GenP page has a guide in the toolbar (only visible on new.Reddit) that includes links and a step by step instruction for setting everything up.
A couple tips, 1) use the ccstoper version from a couple weeks back or earlier, as it has the required option to block the firewall (I’ve never needed to modify the host files), and 2) you need to have the age set to 18+ in the Adobe account account you use to use generative fill. I’ve used my legit Adobe account and haven’t had issues yet.
The patches involved in the crack prevent the Adobe software from “calling home”.
And just because alternatives exist doesn’t mean Adobe doesn’t have amazing proprietary software; outpainting has never been easier than in Photoshop Beta, plus they’ve developed a lot of really neat neural filters.
I’m sure it’s possible to recreate all of these features by installing umpteen extensions into Automatic1111, but hot damn Photoshop just works.
One problem with Linux preachers is that they all claim you can easily replace Adobe products with FOSS, based solely on that time 6 years ago where they needed to crop an image and used GIMP to do so, completely ignoring the real use cases and needs of designers and what not.