Its bread and butter PC sales aren't doing bad, either. Even with the "Superfish" security PR disaster, Lenovo increased its PC share to 21.6 percent, though the overall PC market declined 10.9 percent. That was helped in large part by sales in its home country of China, where Lenovo dominates with a 40 percent chunk of the market.

Despite the profits, PC and mobile sales dropped dramatically this year for Lenovo, as they did with every other company, including Apple. The Chinese company managed to make money by running a tight ship and is on track to cut $1.5 billion in costs for the year. Its other saving grace is the server business, which it expects will reap $5 billion this year. In any event, the company's string of 24 consecutive profitable periods was broken last quarter, so it's no doubt glad to be back in the black.