It's a buffer as long as there is a forest. Once you establish a forest where there previously was none, you have tied up a certain amount of carbon in all those tree trunk/root/branches.
Sure, the individual trees will eventually die and release a lot, though far from all, carbon back again. But by then, new trees will grow and act as the storage buffer.