CVE-2024-38592
published high CVSS 3.1 · 7.8drm/mediatek: Init `ddp_comp` with devm_kcalloc()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux01389b324c97ff8f04e9c33b9ee246084f9f6dd2 to < cf69d0af7db917b82aceaa44b7b1b9376609da22 · 01389b324c97ff8f04e9c33b9ee246084f9f6dd2 to < 9fe2cc3fa44f7ad7ba5f29c1a68b2b924c17b9b1 · 01389b324c97ff8f04e9c33b9ee246084f9f6dd2 to < 01a2c5123e27b3c4685bf2fc4c2e879f6e0c7b33 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.8.12 through 6.8.* (unaffected · semver) · 6.9.3 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.14.2.150600.12.4.3 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.14.2.150600.12.4.3 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.14.2.150600.12.4.3 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_10_5-rtx86_64 | Advisory build | 1-150600.1.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_14-defaultppc64le | Advisory build | 1-150600.13.3.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_14-defaults390x | Advisory build | 1-150600.13.3.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_14-defaultx86_64 | Advisory build | 1-150600.13.3.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debugx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debug-develx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-azurenoarch | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-rtnoarch | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150600.8.8.1 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150600.8.8.1 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.8.2 | SUSE-SU-2024:2896-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.14.2 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.5.1 | SUSE-SU-2024:2973-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-allwinneraarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-alteraaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amazonaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amdaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-amlogicaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-apmaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-appleaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dtb-armaarch64 | Advisory build | 6.4.0-150600.23.14.1 | SUSE-SU-2024:2571-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Init `ddp_comp` with devm_kcalloc() In the case where `conn_routes` is true we allocate an extra slot in the `ddp_comp` array but mtk_drm_crtc_create() never seemed to initialize it in the test case I ran. For me, this caused a later crash when we looped through the array in mtk_drm_crtc_mode_valid(). This showed up for me when I booted with `slub_debug=FZPUA` which poisons the memory initially. Without `slub_debug` I couldn't reproduce, presumably because the later code handles the value being NULL and in most cases (not guaranteed in all cases) the memory the allocator returned started out as 0. It really doesn't hurt to initialize the array with devm_kcalloc() since the array is small and the overhead of initting a handful of elements to 0 is small. In general initting memory to zero is a safer practice and usually it's suggested to only use the non-initting alloc functions if you really need to. Let's switch the function to use an allocation function that zeros the memory. For me, this avoids the crash.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The uninitialized `ddp_comp` slot is only reached through DRM ioctls on `/dev/dri/card*` — `DRM_IOCTL_MODE_GETCONNECTOR` forcing a re-probe into `mtk_drm_crtc_mode_valid()`, or an atomic modeset reaching `mtk_crtc_ddp_hw_init()`. No network, adjacent-network, or physical-bus handler touches this MediaTek display path. AC:L - The out-of-range slot is read unconditionally on every pass because `ddp_comp_nr` was incremented past the initialized entries, so `mtk_drm_crtc_mode_valid()`, `mtk_crtc_ddp_clk_enable()` and `mtk_crtc_ddp_hw_init()` consume it deterministically with no race window or timing dependency. An attacker who can open the DRM node re-triggers the read at will by repeatedly issuing GETCONNECTOR with `count_modes == 0` and by cycling the CRTC enable path. PR:L - Only an open file descriptor on `/dev/dri/card0` is needed — `DRM_IOCTL_MODE_GETCONNECTOR` is registered with flags `0` (no `DRM_AUTH`/`DRM_MASTER`/root gate), and a process opening the primary node while no compositor holds mastership is made DRM master automatically, so the force-probe and modeset paths are available to an ordinary local user in the graphics/seat group with no capability check. UI:N - The attacker performs the whole sequence itself — open the card node, force a connector probe, drive the CRTC enable — with no victim action such as plugging in a display or logging in. The same code path also executes unattended during boot-time fbdev/DRM-client probing. S:U - The wild dereference, the out-of-bounds `mutex_mod[]` index and the resulting MMIO access all occur inside the same kernel that contains the MediaTek DRM driver, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - `mtk_ddp_comp_mode_valid()` and `mtk_crtc_ddp_hw_init()` dereference a `struct mtk_ddp_comp *` made of uninitialized slab bytes, reading `->funcs`, `->funcs->mode_valid` and `->id` from a kernel address the code never validated — an unbounded read of arbitrary kernel memory whose result steers a function-pointer call, and where the stale slab contents can be groomed this becomes a controllable arbitrary-read primitive rather than a fixed leak. I:H - `mtk_crtc_ddp_hw_init()` feeds the garbage `ddp_comp[i]->id` into `mtk_mutex_add_comp()`, whose default case computes `mtx->data->mutex_mod[id]` out of bounds and then performs `readl_relaxed()`/`writel_relaxed()` at `mtx->regs + offset` — an out-of-bounds register write driven by uninitialized data. The indirect calls `comp->funcs->mode_valid()`, `->config()` and `->start()` through the same uninitialized pointer are a direct control-flow-hijack primitive whenever the stale heap contents can be influenced. A:H - Dereferencing the uninitialized pointer oopses the kernel — exactly the crash reported in the fix commit's `mtk_drm_crtc_mode_valid()` loop under `slub_debug=FZPUA` — and the unchecked `comp->funcs` accesses in `mtk_ddp_comp_clk_enable()`/`_config()`/`_start()` fault on a NULL or wild slot, taking down the display pipeline and panicking the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 01389b324c97ff8f04e9c33b9ee246084f9f6dd2 to < cf69d0af7db917b82aceaa44b7b1b9376609da22 (affected · git)01389b324c97ff8f04e9c33b9ee246084f9f6dd2 to < 9fe2cc3fa44f7ad7ba5f29c1a68b2b924c17b9b1 (affected · git)01389b324c97ff8f04e9c33b9ee246084f9f6dd2 to < 01a2c5123e27b3c4685bf2fc4c2e879f6e0c7b33 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.8.12 through 6.8.* (unaffected · semver)6.9.3 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
drm/mediatek: Init `ddp_comp` with devm_kcalloc()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a229c0f461d2426d028753f15276884eccc91958c8ac2c696f0cf6d339e0e823
- Ingested
- 23 Sep 2026, 08:24:49 UTC
- Source record
- Official CVE record