# CVE-2025-39807: linux: In the Linux kernel, the following vulnerability has been resolved:  drm/mediatek: Add error handling for old state C...

CVE-2025-39807 is fixed in 18 products on 1 platform, first by DEBIAN-CVE-2025-39807, released September 16, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-39807
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 16, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  drm/mediatek: Add error handling for old state CRTC in atomic_disable  Introduce error handling to address an issue where, after a hotplug event, the cursor continues to update. This situation can lead to a kernel panic due to accessing the NULL `old_state->crtc`.  E,g. Unable to handle kernel NULL pointer dereference at virtual address Call trace:  mtk_crtc_plane_disable+0x24/0x140  mtk_plane_atomic_update+0x8c/0xa8  drm_atomic_helper_commit_planes+0x114/0x2c8  drm_atomic_helper_commit_tail_rpm+0x4c/0x158  commit_tail+0xa0/0x168  drm_atomic_helper_commit+0x110/0x120  drm_atomic_commit+0x8c/0xe0  drm_atomic_helper_update_plane+0xd4/0x128  __setplane_atomic+0xcc/0x110  drm_mode_cursor_common+0x250/0x440  drm_mode_cursor_ioctl+0x44/0x70  drm_ioctl+0x264/0x5d8  __arm64_sys_ioctl+0xd8/0x510  invoke_syscall+0x6c/0xe0  do_el0_svc+0x68/0xe8  el0_svc+0x34/0x60  el0t_64_sync_handler+0x1c/0xf8  el0t_64_sync+0x180/0x188  Adding NULL pointer checks to ensure stability by preventing operations on an invalid CRTC state.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dtb-aarch64 opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-64kb opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-64kb sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-64kb sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-azure sles 15.7 | 6.4.0-150700.20.15.2 | [SUSE-SU-2025:03633-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03633-1.md) | Oct 17, 2025 |
| Linux | kernel-default opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-default sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-default sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-default-base opensuse-leap 16.0 | 6.12.0-160000.6.1.160000.2.4 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-default-base sles 15.7 | 6.4.0-150700.53.19.1.150700.17.13.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-default-base sles 16.0 | 6.12.0-160000.6.1.160000.2.4 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-docs opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-docs sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-docs sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-kvmsmall opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-kvmsmall sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-livepatch-SLE15-SP7-RT_Update_5 sles 15.7 | 1-150700.1.3.1 | [SUSE-SU-2025:3725-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-3725-1.md) | Oct 22, 2025 |
| Linux | kernel-livepatch-SLE15-SP7_Update_5 sles 15.7 | 1-150700.15.3.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-obs-build opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-obs-build sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-obs-qa opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-obs-qa sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-rt opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-source opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-source sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-source sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-source-azure sles 15.7 | 6.4.0-150700.20.15.2 | [SUSE-SU-2025:03633-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03633-1.md) | Oct 17, 2025 |
| Linux | kernel-syms opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-syms sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-syms sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | kernel-syms-azure sles 15.7 | 6.4.0-150700.20.15.1 | [SUSE-SU-2025:03633-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03633-1.md) | Oct 17, 2025 |
| Linux | kernel-zfcpdump opensuse-leap 16.0 | 6.12.0-160000.6.1 | [OPENSUSE-SU-2025:20081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20081-1.md) | Nov 25, 2025 |
| Linux | kernel-zfcpdump sles 15.7 | 6.4.0-150700.53.19.1 | [SUSE-SU-2025:03601-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-03601-1.md) | Oct 15, 2025 |
| Linux | kernel-zfcpdump sles 16.0 | 6.12.0-160000.6.1 | [SUSE-SU-2025:21139-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21139-1.md) | Nov 25, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.12.48-1 | [DEBIAN-CVE-2025-39807](https://patchblox.com/security/data/fix/linux/debian-cve-2025-39807.md) | Sep 16, 2025 |
| Linux | linux Debian 14 | 6.16.5-1 | [DEBIAN-CVE-2025-39807](https://patchblox.com/security/data/fix/linux/debian-cve-2025-39807.md) | Sep 16, 2025 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
