Intel SGX's generic elliptic-curve scalar multiplication for ECDSA and SM2 signature operations on certain curves leaks timing information about the secret nonce. This timing side-channel can allow an attacker, after many measurements, to recover the private key using lattice or Hidden Number Problem attacks. The issue affects curves without dedicated constant-time implementations, such as brainpoolP384r1, but not the NIST curves P-256, P-384, and P-521. SM2 signature generation is also affected on all platforms due to variable-time arithmetic on secret values. The vulnerability is fixed in linux-sgx version 2.15.1-14.oe2203sp4.