CVE-2024-26938 drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

Medium 5.5 Published Updated

A null pointer dereference in the Intel graphics driver can cause a system crash when handling missing video BIOS data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-26938?

CVE-2024-26938 is a medium-severity vulnerability in Linux kernel, published on 1 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

If we have no VBT, or the VBT didn't declare the encoder in question, we won't have the 'devdata' for the encoder. Instead of oopsing just bail early.

We won't be able to tell whether the port is DP++ or not, but so be it.

(cherry picked from commit 26410896206342c8a80d2b027923e9ee7d33b733)

Which versions are affected by CVE-2024-26938?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26938?

Apply the vendor's patch.

Is CVE-2024-26938 being exploited?

There is no known exploitation of CVE-2024-26938 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-67478, BELL-CVE-2024-26938, DEBIAN-CVE-2024-26938, GHSA-fc7q-x42h-7ff2, ROOT-OS-DEBIAN-11-CVE-2024-26938, ROOT-OS-UBUNTU-2204-CVE-2024-26938 and 1 more.

Is CVE-2024-26938 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free