RATIONALE: Sorafenib and erlotinib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. Sorafenib may also stop the growth of tumor cells by blocking blood flow to the tumor. Giving sorafenib together with erlotinib may kill more tumor cells.