The same image after correction (S2A_MSIL2A_20220412T095031_N0300_R079_T34UCF_20220805T124252.SAFE) has lines of zeroes in the shape of land on the water some distance from the shore (and many more):
If you check the same pixel in B12 of the L1C you will see they are zero.
Due to this it is possible the AC cannot be performed.
The scl band indicates those pixels as no-data.
In the upper row B12 and B8 of the L2A are shown. The bluish pixels mark the pixels which are zero. They are also defined by the scene classification data. In the lower part the B12 band of the L1C is shown and the zero pixels are highlighted in red.
On the left the L1C and on the right the L2A. For the L2A If colored the land in green. The no-data pixels are red. You can notice that most of the no-data pixels are located at the ghost-land.