When dried and stored correctly, dried mushrooms won't become moldy or 'go bad' as such (so you don't have to worry about becoming poisoned). However, their quality will diminish over time.