Lavender plants are generally safe for dogs, but they shouldn't eat too much of them.
Lavender contains linalool and linalyl acetate, which can be toxic in large quantities, but the amounts in the plant are low.
If your dog has eaten a lot of lavender or seems unwell, contact your vet for advice.
It's important to be careful about what your dog eats and to seek professional help if you suspect they've ingested something harmful.