What about the case for BIP32 deterministic wallet? Let say an attacker knows the root public key and the chain code. If the private key holder signs 2 different messages using the same k, with 2 different addresses in the same (or different) branch of the deterministic wallet, is it possible for the attacker to detect it and deduce the private keys for the singing addresses (or even the root private key)?
There is nothing in the BIP about using either a random k or another possibility like deterministic k for signatures.
So when someone spends inputs at addresses on two consecutive addresses, there is no concern unless they do it again with the same k values. If you find out the private key for each and determine the offset, which comes from the parent chain, you can compromise each private key in that chain. When you derive a BIP32 key, the keys at depth=1 are hardened, so you can't compromise the whole chain.
All said it's fairly unlikely, but still possible. pybitcointools has a function to do it.