You can stop the oak staining through with an oil or spirit-based primer. The problem you may encounter then is moisture seeping through and causing the paint to bubble and flake off.
No simple solution I’m afraid.