CVE Database
/

CVE-2022-50268

Back to search

CVE-2022-50268

Published: Sep 15, 2025

Modified: May 11, 2026

PUBLISHED

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: moxart: 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().

VendorProductVersions

Linux

Linux

affected
1b66e94e6b9995323190f31c51d8e1a6f516627e - < a4c765f5d8e58138cff69f1510b2e8942ec37022
affected
1b66e94e6b9995323190f31c51d8e1a6f516627e - < a94d466f31a5201995d39bc1208e2c09ab04f0bf
affected
1b66e94e6b9995323190f31c51d8e1a6f516627e - < c7e9a2059fb943fc3c3fa12261518fd72a0fc136
affected
1b66e94e6b9995323190f31c51d8e1a6f516627e - < b174f2b36c638fc7737df6c8aac1889a646be98f
affected
1b66e94e6b9995323190f31c51d8e1a6f516627e - < 7c3b301ca8b0cab392c71da8fcdfa499074f8e97

+4 more versions

Linux

Linux

affected
3.16
unaffected
0 - < 3.16
unaffected
4.9.337 - <= 4.9.*
unaffected
4.14.303 - <= 4.14.*
unaffected
4.19.270 - <= 4.19.*

+6 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now