Patch "X.509: fix BUG_ON() when hash algorithm is unsupported" has been added to the 4.15-stable tree