VDB

CESS-2022-50886

CESS-2022-50886 PUBLISHED

In the Linux kernel, the following vulnerability has been resolved: mmc: toshsd: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, the memory that allocated in mmc_alloc_host() will be leaked and it will lead a kernel crash because of deleting not added device in the remove path. So fix this by checking the return value and goto error path which will call mmc_free_host(), besides, free_irq() also needs be called.

Timeline

  • Dec 30, 2025 CVE Published
Open in Interactive Console →
$ Console Community · 100/wk Open console ›