When I read the Intel manual about the execution process of the ret instruction, I saw that even when the CPU is running in 64-bit mode, it still checks whether the pop operation violates the limit of the stack segment and generates a #SS(0), but the section about limit checking clearly indicates that limit checking for a segment is disabled in 64-bit mode.