Now there certainly could be an issue of price and logistics costs in food insecure nations, but I'm not sure the answer is enabling Ukrainian production rather than producing more outside of Ukraine / ensuring countries don't cut off global trade in grains.
Figures from: https://downloads.usda.library.cornell.edu/usda-esmis/files/...
https://www.reuters.com/markets/commodities/export-losses-gi....