The Fed was aware of the real estate bubble and tried to deflate it in 07-08. But it's hard to deflate a bubble gradually without triggering a catastrophic downturn.
The Fed played a huge role in triggering the recession. They intended to deflate the housing bubble, but didn't realize it would cause several banks to implode and risk the entire financial system.