mtd: inftlcore: Add error check for inftl_read_oob()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8593fbc68b0df1168995de76d1af38eb62fd6b62 · < 5479a6af3c96f73bec2d2819532b6d6814f52dd6| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mtd: inftlcore: Add error check for inftl_read_oob()
In INFTL_findwriteunit(), the return value of inftl_read_oob() need to be checked. A proper implementation can be found in INFTL_deleteblock(). The status will be set as SECTOR_IGNORE to break from the while-loop correctly if the inftl_read_oob() fails.
From the CVE record · Linux
The Linux kernel's INFTL_findwriteunit() does not check whether inftl_read_oob() fails, so its loop may not break correctly after a read error. The input does not establish what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels that include the affected mtd inftlcore code should check their vendor advisory; affected versions were not provided.