LinkedIn might not need to sell the data. You can set your profile to “open for work” privately, and only recruiters can see it. So if your company has people with LinkedIn recruiter accounts, they could see your profile set to looking for work
PS: I guess given that recruiter accounts are paid, LinkedIn is technically selling access to the data in a way