Flaky is better than mushy.
Is the wall plaster? Like when painting... pick at it until it isn't flaky. Then fix.
If the wall is GWB (rather than plaster) cut out that section. Then replace.
Do the same with those "black spots look like they were worked on painted over".