Preheat your oven to 350°F (175°C). Grease and lightly flour a 10-inch tube pan or Bundt pan. Make sure the center tube and sides are properly coated to prevent sticking.
Peel the ripe bananas and place them in a mixing bowl. Mash them using a fork until smooth. Set aside.
In a medium bowl, combine the all-purpose flour, baking powder, baking soda, salt, and cinnamon. Whisk until evenly mixed.
In a large mixing bowl, beat the softened butter and granulated sugar until light and fluffy. Add the eggs one at a time, beating well after each addition.
Add the mashed bananas, sour cream, milk, and vanilla extract to the butter mixture. Mix until everything is well combined.
Gradually add the dry ingredients to the wet ingredients. Mix gently until just combined. Avoid overmixing because it can make the cake dense.
Pour the prepared batter evenly into the greased tube pan. Smooth the surface with a spatula.
Place the pan in the preheated oven and bake for approximately 50–60 minutes. Insert a toothpick into the thickest part of the cake. It should come out clean or with a few moist crumbs.
Remove the cake from the oven and allow it to cool in the pan for approximately 15 minutes. Carefully invert it onto a wire rack and let it cool completely.
Beat the softened cream cheese and powdered sugar until smooth. Add vanilla extract and optional banana extract.
Beat the softened butter until creamy. Gradually add powdered sugar, vanilla extract, and milk. Continue beating until smooth and fluffy.
Once the cake has cooled completely, carefully slice it horizontally if you want to add a cream layer. Spread the banana cream filling evenly and place the top layer back in position.