I'll give it a whirl. Thankswhen I asked did you patch the May 2022 boot.img with Magisk Canary 24306.
I meant did you download the Magisk Canary 240306 App, Install it and patch the stock bootimg from the May 2022 factory image.
If you did that it is not possible for magisk to be installing with modules.
My guess is you flashed the May 2022 OTA image without disabling/removing the Magisk modules and uninstalling Magisk.
After, you've remove the modules, backup your data, dirty flash the May 2022 factory image, and patch the stock boot.img with Magisk Canary 24306 and flash it to root.