|I could be wrong about this because I haven't built an Intel system in years. That said, I think the heat sink in your system is held on by push pins that can easily come loose. |
If one of the pins is not secure the heat sink will not fit correctly, causing overheating. That in turn can cause the CPU fan to run at full speed.
Boot into the BIOS (setup) screens to see what the temperatures are.