drm/i915/bios: range check LFP Data Block panel_type2
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6434cf630086eea2d091f122f5802582a05d9d1c · < 2084503f2d087bf956198e7f6eb25b03a7049cb2| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/i915/bios: range check LFP Data Block panel_type2
While the panel_type from LFP Data Block is range checked, panel_type2 is not. Add a few helpers for range checking, and use them to not only check panel_type2, but also improve clarity and correctness in the panel type selection.
Discovered using AI-assisted static analysis confirmed by Intel Product Security.
v2: - Fix commit message typo (Michał) - Add is_panel_type_pnp() (Ville)
(cherry picked from commit c9ebe5d2f25729d6cfbbb1235d640bf67f9275df)
From the CVE record · Linux
The Linux kernel’s drm/i915/bios code does not range-check panel_type2 from the LFP Data Block. The input does not describe an attacker outcome or specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the drm/i915/bios component should check their kernel; affected versions are not specified.