serial: core: do fallible allocations before the console can be registered (CVE-2026-90337) | HOL Guard CVE