drm/msm: Add error handling for krealloc in metadata setup
CVE-2025-39747 is fixed in 53 products on 1 platform, first by DEBIAN-CVE-2025-39747, released September 11, 2025. It is not reported as exploited. Patch Radar priority: Routine.
In the Linux kernel, the following vulnerability has been resolved: drm/msm: Add error handling for krealloc in metadata setup Function msm_ioctl_gem_info_set_metadata() now checks for krealloc failure and returns -ENOMEM, avoiding potential NULL pointer dereference. Explicitly avoids __GFP_NOFAIL due to deadlock risks and allocation constraints. Patchwork: https://patchwork.freedesktop.org/patch/661235/
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| dtb-aarch64 · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-64kb · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-64kb · sles 15.7 | 6.4.0-150700.53.19.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-64kb · sles 16.0 | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| kernel-azure · sles 15.7 | 6.4.0-150700.20.15.2 | SUSE-SU-2025:03633-1 | Oct 17, 2025 |
| kernel-default · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-default · sles 15.7 | 6.4.0-150700.53.19.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-default · sles 16.0 | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| kernel-default-base · opensuse-leap 16.0 | 6.12.0-160000.6.1.160000.2.4 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-default-base · sles 15.7 | 6.4.0-150700.53.19.1.150700.17.13.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-default-base · sles 16.0 | 6.12.0-160000.6.1.160000.2.4 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| kernel-docs · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-docs · sles 15.7 | 6.4.0-150700.53.19.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-docs · sles 16.0 | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| kernel-kvmsmall · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-kvmsmall · sles 16.0 | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| kernel-livepatch-SLE15-SP7-RT_Update_5 · sles 15.7 | 1-150700.1.3.1 | SUSE-SU-2025:3725-1 | Oct 22, 2025 |
| kernel-livepatch-SLE15-SP7_Update_5 · sles 15.7 | 1-150700.15.3.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-obs-build · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-obs-build · sles 15.7 | 6.4.0-150700.53.19.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-obs-qa · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-obs-qa · sles 16.0 | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| kernel-rt · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-source · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-source · sles 15.7 | 6.4.0-150700.53.19.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-source · sles 16.0 | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| kernel-source-azure · sles 15.7 | 6.4.0-150700.20.15.2 | SUSE-SU-2025:03633-1 | Oct 17, 2025 |
| kernel-syms · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-syms · sles 15.7 | 6.4.0-150700.53.19.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-syms · sles 16.0 | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| kernel-syms-azure · sles 15.7 | 6.4.0-150700.20.15.1 | SUSE-SU-2025:03633-1 | Oct 17, 2025 |
| kernel-uek · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-core · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-core · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-core · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-core · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-devel · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-devel · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-core · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-core · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-deprecated · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-deprecated · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-desktop · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-desktop · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-extra · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-extra · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-extra-netfilter · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-extra-netfilter · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-usb · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-usb · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-wireless · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-debug-modules-wireless · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-devel · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-devel · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-doc · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-doc · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-core · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-core · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-deprecated · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-deprecated · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-desktop · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-desktop · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-extra · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-extra · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-extra-netfilter · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-extra-netfilter · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-usb · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-usb · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-wireless · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-modules-wireless · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-tools · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek-tools · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-core · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-core · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-devel · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-devel · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-core · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-core · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-deprecated · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-deprecated · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-desktop · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-desktop · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-extra · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-extra · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-extra-netfilter · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-extra-netfilter · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-usb · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-usb · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-wireless · ol 10 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-uek64k-modules-wireless · ol 9 | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 | Oct 14, 2025 |
| kernel-zfcpdump · opensuse-leap 16.0 | 6.12.0-160000.6.1 | OPENSUSE-SU-2025:20081-1 | Nov 25, 2025 |
| kernel-zfcpdump · sles 15.7 | 6.4.0-150700.53.19.1 | SUSE-SU-2025:03601-1 | Oct 15, 2025 |
| kernel-zfcpdump · sles 16.0 | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 | Nov 25, 2025 |
| linux · Debian 13.5 (trixie) | 6.12.43-1 | DEBIAN-CVE-2025-39747 | Sep 11, 2025 |
| linux · Debian 14 | 6.16.3-1 | DEBIAN-CVE-2025-39747 | Sep 11, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.