Saying this is "a muslim problem" is to miss the point by quite a bit.
We in the West have basically removed nearly every positive political development (socialist, arab nationalist, even ba'athist and democratic Sunni) in the region over the past sixty years, and in the process have propped up, enriched and armed to the teeth the very people who invented and actively seek to spread (to the exclusion of any other version of Islam) the creed that is shared by these attackers. We let and are letting people get away with murder, literally and figuratively, solely because of the amount of money they spend on our arms and the amount of oil they control.
What is worse, there is very little likelihood that we will stop doing what we have been doing for so long. Just last week the current Government was threatening to attack Assad (number of attacks against the UK: 0) and a couple of days ago Trump was demanding that Iran dismantle its terror groups (recent attacks in the West: 0) and militias fighting in Syria and Iraq, even though they provide a large amount of the forces fighting IS and the other takfiri groups. We are even displaying a discreet silence about Erdogan's repeated threats to attack the SDF, who have achieved more than anyone else in fighting IS in Syria, are fighting towards Raqqa right now and who actually are a rebel group in Syria that deserves support. To put it another way - since Sunni fundamentalists attacked the US on 9/11, we have systematically invaded, threatened to invade or acquiesced at someone else invading almost every country in the Middle East that isn't run by Sunni fundamentalists.
If we want to deal with the phenomenon of Sunni / takfiri fundamentalism, we need to look at what we have done and are doing. Until we fix ourselves, its pointless to demand that other people (almost all of whom actually have embraced and engaged with the West and have nothing to do with these people (indeed most of them left their countries because of those people) or their nonsense) do something about it.