Who knew about the assassination prior to it happening: Carlos Marcello, Santo Trafficante, Frank Costello, Sam Giancana, and the teams of shooters and other ground support people. If Oswald knew then probably the CIA knew.
Folks that probably knew: LBJ, J Edgar Hoover, Johnny Rosselli, Jimmy Hoffa