Is worry/obsessing a form of buffering?

Hi, I find myself worrying obsessively at night about a certain work problem, and I wake up and worry. Is this a form of buffering? There is no clear benefit to this behaviour and I guess it’s an indulgent emotion because it seems insoluble, I’m not coming up with a solution when I worry. Why am I doing this and what can I do to move on? I guess it can’t be a buffering as I don’t think I’m doing it to avoid other feelings. Thank you