I'd call OnePass on this one, remember OnePass is not only CO's FF program, but also the FF program of CM.
In most cases, if you fly a carrier's own codeshare flight, it will credit to that carrier's own FF program, regardless of whose metal its on.
Now, having said that, this codeshare on KL metal may be just a forgotten leftover of the Skyteam days because while the code and routing exist, I can't find a valid CM fare to buy it with.