---
title: "CVE-2024-27040"
canonical_url: "https://pkgseek.com/security/CVE-2024-27040"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2024-27040

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add 'replay' NULL check in 'edp_set_replay_allow_active()' In the first if statement, we're checking if 'replay' is NULL. But in the second if statement, we're not checking if 'replay' is NULL again before calling replay-&gt;funcs-&gt;replay_set_power_opt(). if (replay == NULL && force_static) return false; ... if (link-&gt;replay_settings.replay_feature_enabled && replay-&gt;funcs-&gt;replay_set_power_opt) { replay-&gt;funcs-&gt;replay_set_power_opt(replay, *power_opts, panel_inst); link-&gt;replay_settings.replay_power_opt_active =…

CVE-2024-27040 is rated MEDIUM, with 91 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 91
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | noble | linux-aws-headers-6.8.0-1008 | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-aws-tools-6.8.0-1008 | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-buildinfo-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-buildinfo-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31 | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-cloud-tools-common | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-doc | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1007 | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1003 | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1003 | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-headers-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-headers-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-headers-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-headers-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-headers-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-headers-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-headers-6.8.0-31 | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-headers-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-headers-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1005 | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1005 | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-ibm-tools-common | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-libc-dev | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-lib-rust-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-31 | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-lowlatency-headers-6.8.0-31 | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-lowlatency-lib-rust-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-lowlatency-tools-6.8.0-31 | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-lowlatency-tools-common | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-lowlatency-tools-host | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-modules-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-modules-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-modules-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-modules-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-modules-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-modules-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-modules-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-modules-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-modules-extra-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-modules-ivsc-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-oracle-headers-6.8.0-1005 | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-oracle-tools-6.8.0-1005 | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-source-6.8.0 | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-tools-6.8.0-1003-gke | 6.8.0-1003.5 | 6.8.0-1004.7 |
| Ubuntu | noble | linux-tools-6.8.0-1005-ibm | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-tools-6.8.0-1005-oracle | 6.8.0-1005.5 | 6.8.0-1006.6 |
| Ubuntu | noble | linux-tools-6.8.0-1007-azure | 6.8.0-1007.7 | 6.8.0-1008.8 |
| Ubuntu | noble | linux-tools-6.8.0-1007-gcp | 6.8.0-1007.7 | 6.8.0-1008.9 |
| Ubuntu | noble | linux-tools-6.8.0-1008-aws | 6.8.0-1008.8 | 6.8.0-1009.9 |
| Ubuntu | noble | linux-tools-6.8.0-31 | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-tools-6.8.0-31-generic | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-tools-6.8.0-31-lowlatency | 6.8.0-31.31.1 | 6.8.0-35.35.1 |
| Ubuntu | noble | linux-tools-common | 6.8.0-31.31 | 6.8.0-35.35 |
| Ubuntu | noble | linux-tools-host | 6.8.0-31.31 | 6.8.0-35.35 |
