Welcome to the forum.
I'm not exactly sure what you have there. Looks almost like a defect that has formed as the tree grew, like epicormic shoots, ingrown bark or physical damage that's healed over? It wont affect the overall strength of of the wood, except maybe in those spots.
If it is a fungal stain the fungus stops as the wood dries. Once it's under 20% it's basically safe from fungal attack unless you add water again.