hsi: omap_ssi_core: fix missing DMA mask setup for SSI controller device
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10, 5.10.270, 5.15.221, 6.1.188, 6.6.157, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: hsi: omap_ssi_core: fix missing DMA mask setup for SSI controller device The OMAP SSI driver uses a synthetic HSI controller device allocated via hsi_alloc_controller(), which does not go through the normal OF/platform device initialization path. As a result, the embedded struct device does not have a DMA mask initialized by default. After recent DMA API hardening changes, dma_map_sg() and related helpers now require a valid dma_mask to be present, otherwise the driver may crash or trigger warnings when attempting DMA mapping operations. Fix this by explicitly initializing the DMA mask for the SSI controller device and setting a 32-bit DMA mask, which matches the hardware capabilities.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f959dcd6ddfd29235030e8026471ac1b022ad2b0 · fixed in 6a5426f56de98faf7886702f8720828bf346a48f; From f959dcd6ddfd29235030e8026471ac1b022ad2b0 · fixed in a4beb841f84e0e6ad5ff3d114f43ad30165572dd; From f959dcd6ddfd29235030e8026471ac1b022ad2b0 · fixed in 9ecef057b7a7f165ce66eaf07cb4cf85d10ed9c7; From f959dcd6ddfd29235030e8026471ac1b022ad2b0 · fixed in 9963a65be2befff82b5f5a7cfcd7ac4aca081c0b; From f959dcd6ddfd29235030e8026471ac1b022ad2b0 · fixed in e8d47e309c704df95816e7442f05947424d8b33f; From f959dcd6ddfd29235030e8026471ac1b022ad2b0 · fixed in 4e019e5e247bfe877fdf288f2d6ec1b4c850c7c6; From f959dcd6ddfd29235030e8026471ac1b022ad2b0 · fixed in fbffbfdae55954213fea99c5c9856c48dc705019; From f959dcd6ddfd29235030e8026471ac1b022ad2b0 · fixed in e81250ec6b69248b00d38c523dc6a13efaf38aab; From 5.9.2 · fixed in 5.10
- Linux Linux
5.10
- KernelLinux
From 5.10.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 8
git.kernel.org
- stable/c/6a5426f56de98faf7886702f8720828bf346a48f
- stable/c/a4beb841f84e0e6ad5ff3d114f43ad30165572dd
- stable/c/9ecef057b7a7f165ce66eaf07cb4cf85d10ed9c7
- stable/c/9963a65be2befff82b5f5a7cfcd7ac4aca081c0b
- stable/c/e8d47e309c704df95816e7442f05947424d8b33f
- stable/c/4e019e5e247bfe877fdf288f2d6ec1b4c850c7c6
- stable/c/fbffbfdae55954213fea99c5c9856c48dc705019
- stable/c/e81250ec6b69248b00d38c523dc6a13efaf38aab