Goldman Sachs Group Inc., Morgan Stanley and two other banks may agree as soon as this week to settle claims over botched foreclosures in an accord similar to one reached with 10 other loan servicers, two people briefed on the discussions said.

The agreement, also involving HSBC Holdings Inc. and Ally Financial Inc., would end case-by-case reviews of foreclosures under earlier accords with the biggest mortgage servicers, said the people, who declined to be identified because the talks are private. The Federal Reserve-led discussions specified at least $1.5 billion in cash and assistance for borrowers, one of the people said.