These are knuckles; the hard round bones where hands meet fingers.
If something is near the knuckle it means it is on the border of acceptability. It might be a joke that is rude, offensive or in bad taste.
Ricky Gervais presenting the recent Golden Globe Awards amused and offended people in equal measure. Decide for yourself if it's funny or a bit near the knuckle.