Description
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)
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
6434cf630086eea2d091f122f5802582a05d9d1c to < a06256ac0c3b40abf83ac257ada3c4368bd136a2affected6434cf630086eea2d091f122f5802582a05d9d1c to < dc30139679354860faf8ca6a0f231cd39d692db7affected6434cf630086eea2d091f122f5802582a05d9d1c to < e7b5694645b03e80830dc141b59fc65aac693c70affected6434cf630086eea2d091f122f5802582a05d9d1c to < 8b2da44446f9dce2ae50fee78bac2734d4277143affected6434cf630086eea2d091f122f5802582a05d9d1c to < 8887b94d2fc93071bf6ff09c39d474510e6f582faffected6434cf630086eea2d091f122f5802582a05d9d1c to < 2084503f2d087bf956198e7f6eb25b03a7049cb2affected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a06256ac0c3b40abf83ac257ada3c4368bd136a2 ↗
- https://git.kernel.org/stable/c/dc30139679354860faf8ca6a0f231cd39d692db7 ↗
- https://git.kernel.org/stable/c/e7b5694645b03e80830dc141b59fc65aac693c70 ↗
- https://git.kernel.org/stable/c/8b2da44446f9dce2ae50fee78bac2734d4277143 ↗
- https://git.kernel.org/stable/c/8887b94d2fc93071bf6ff09c39d474510e6f582f ↗
- https://git.kernel.org/stable/c/2084503f2d087bf956198e7f6eb25b03a7049cb2 ↗