Description
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix DMA device NULL pointer dereference The DMA device pointer `dma_dev` was being dereferenced before ensuring that `cdns_ctrl->dmac` is properly initialized. Move the assignment of `dma_dev` after successfully acquiring the DMA channel to ensure the pointer is valid before use.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0cae7c285f4771a9927ef592899234d307aea5d4 to < 2178b0255eae108bb10e5e99658b28641bc06f43affected099a316518508be7c57de4134ef919b2dea948ce to < 9c58c64ec41290c12490ca7e1df45013fbbb41fdaffectede630d32162a8aab92d4aaebae0a8d93039257593 to < e282a4fdf3c6ee842a720010a8b5f7d77bedd126affectedad9393467fbd788ac2b8a01e492e45ab1b68a1b1 to < b146e0b085d9d6bfe838e0a15481cba7d093c67faffected0ce5416863965ddd86e066484a306867cf1e01a8 to < 0c635241a62f2f5da1b48bfffae226d1f86a76efaffectedd76d22b5096c5b05208fd982b153b3f182350b19 to < 0c2a43cb43786011b48eeab6093db14888258c6baffectedd76d22b5096c5b05208fd982b153b3f182350b19 to < 5c56bf214af85ca042bf97f8584aab2151035840affecteda33c7492dcdf804b705b6c21018a481414d48038affected5.10.235 to < 5.10.247affected5.15.179 to < 5.15.197affected6.1.130 to < 6.1.159affected6.6.80 to < 6.6.118affected6.12.17 to < 6.12.60affected6.13.5 to < 6.14affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected5.10.247 to ≤ 5.10.*unaffected5.15.197 to ≤ 5.15.*unaffected6.1.159 to ≤ 6.1.*unaffected6.6.118 to ≤ 6.6.*unaffected6.12.60 to ≤ 6.12.*unaffected6.17.10 to ≤ 6.17.*unaffected6.18 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/2178b0255eae108bb10e5e99658b28641bc06f43 ↗
- https://git.kernel.org/stable/c/9c58c64ec41290c12490ca7e1df45013fbbb41fd ↗
- https://git.kernel.org/stable/c/e282a4fdf3c6ee842a720010a8b5f7d77bedd126 ↗
- https://git.kernel.org/stable/c/b146e0b085d9d6bfe838e0a15481cba7d093c67f ↗
- https://git.kernel.org/stable/c/0c635241a62f2f5da1b48bfffae226d1f86a76ef ↗
- https://git.kernel.org/stable/c/0c2a43cb43786011b48eeab6093db14888258c6b ↗
- https://git.kernel.org/stable/c/5c56bf214af85ca042bf97f8584aab2151035840 ↗