If Flick underestimated a team like Osasuna he deserve what he got, but it could be he was trying things out with those poor line ups of his, that caused his first time loss in laliga at El Sadar this season. Initially he may have thought they'll bounce back and win the game, but Osasuna outsmarted them by taking up their chances, and utilizing every opportunity.
Additionally, all four goals was as a result of Barca's defensive error, the goal keeper did his best, meaning that Flick should work further on his defenders, else other teams would operate on that loophole.
Flick didn't underestimated the Osasuna players, it's just that they were prepared ahead of time against Barcelona and one thing I noticed is about that game is that Osasuna didn't give Barcelona a breathing space to make a recovery. Immediately they score, they turn the game from offensive to defensive and when they notice Barcelona couldn't penetrate, they add another goal and the whole first half was hard for them to equalized.
In the second half early, they were able to equalized and Osasuna had to go back and to defend again but immediately they had opened opportunity, they add another 2 making 4 and they were now leading with goals to 1 and came back to defend again but they were tired of defending and Yamal saw that chance and lead the team with 2, there was no way they could score 2 matches in the remaining extra time and that's how the game ended.
By looking at Barcelona's game and the squad that was deployed, there is no indication that Barcelona underestimated Osasuna, it's just that their scheme is completely predictable because surely they will do a crazy offensive and Osasuna has prepared a defense by maximizing the speed of their wingers for counterattacks which is precisely this unpredictable by Flick.
They lost because there was a slight miss in the scheme because they were too focused on attack but did not apply too much discipline in defense which was used as an advantage for Osasuna.
Atletico against Madrid is always hot as usual where there are some dramas that occur on the field, a little unfortunate that my pride club Madrid could not take advantage of this momentum well because in extra time they had to accept Atletico's return goal especially at this time Llorente was also hit by a red card, hopefully heading to the end for a long extra time this is not a negative result and they get 1 point in today's match.