TROYANOSYVIRUS
Back to CVEs

CVE-2022-50886

N/A

Description

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.

CVE Details

CVSS v3.1 ScoreN/A
Published12/30/2025
Last Modified12/31/2025
Sourcenvd
Honeypot Sightings0

This product uses data from the NVD API but is not endorsed or certified by the NVD.