What is the ruling on wiping over two holed socks worn one over the other, provided the foot is covered by both?

Chapter on Wiping over the Khuffayn (Leather Socks)

Al-Mughni

Book of Purification

Book 2 · Issue 3 · Bab 11

Open in Qurani

Primary text

There is a possibility that wiping is permissible in this case because the foot is covered by the socks, resembling the situation where the foot is covered by two sound socks, or a sound sock and a holed one. This is because the foot is covered by the external covering (khuffayn).

Supporting text

Alternatively, it is possible that wiping is not permitted because the foot was not covered by a sound sock underneath, distinguishing it from the previous case where the outer sock was sound.