Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: mmc: mmc_test: Fix NULL dereference on allocation failure If the "test->highmem = alloc_pages()" allocation fails then calling __free_pages(test->highmem) will result in a NULL dereference. Also change the error code to -ENOMEM instead of returning success.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2661081f5ab9cb25359d27f88707a018cf4e68e9 before e97be13a9f51284da450dd2a592e3fa87b49cdc9; affected 2661081f5ab9cb25359d27f88707a018cf4e68e9 before 2b507b03991f44dfb202fc2a82c9874d1b1f0c06; affected 2661081f5ab9cb25359d27f88707a018cf4e68e9 before 9b9ba386d7bfdbc38445932c90fa9444c0524bea; affected 2661081f5ab9cb25359d27f88707a018cf4e68e9 before e40515582141a9e7c84b269be699c05236a499a6; affected 2661081f5ab9cb25359d27f88707a018cf4e68e9 before 3b4e76ceae5b5a46c968bd952f551ce173809f63; affected 2661081f5ab9cb25359d27f88707a018cf4e68e9 before cac2815f49d343b2f0acc4973d2c14918ac3ab0c; affected 2661081f5ab9cb25359d27f88707a018cf4e68e9 before ecb15b8ca12c0cbdab81e307e9795214d8b90890; affected 2661081f5ab9cb25359d27f88707a018cf4e68e9 before a1e627af32ed60713941cbfc8075d44cad07f6dd |
| Linux / Linux | affected 2.6.27; unaffected 0 before 2.6.27; unaffected 4.19.321 through 4.19.*; unaffected 5.4.283 through 5.4.*; unaffected 5.10.225 through 5.10.*; unaffected 5.15.166 through 5.15.*; unaffected 6.1.107 through 6.1.*; unaffected 6.6.48 through 6.6.*; unaffected 6.10.7 through 6.10.*; unaffected 6.11 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/e97be13a9f51284da450dd2a592e3fa87b49cdc9
- https://git.kernel.org/stable/c/2b507b03991f44dfb202fc2a82c9874d1b1f0c06
- https://git.kernel.org/stable/c/9b9ba386d7bfdbc38445932c90fa9444c0524bea
- https://git.kernel.org/stable/c/e40515582141a9e7c84b269be699c05236a499a6
- https://git.kernel.org/stable/c/3b4e76ceae5b5a46c968bd952f551ce173809f63
- https://git.kernel.org/stable/c/cac2815f49d343b2f0acc4973d2c14918ac3ab0c
- https://git.kernel.org/stable/c/ecb15b8ca12c0cbdab81e307e9795214d8b90890
- https://git.kernel.org/stable/c/a1e627af32ed60713941cbfc8075d44cad07f6dd
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.