drm/i915: Guard against NULL driver_data in i915_pci_probe()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/i915: Guard against NULL driver_data in i915_pci_probe() pci_match_device() can return the dummy pci_device_id_any entry when a device is force-bound via sysfs driver_override, in which case ->driver_data is unset (NULL). i915_pci_probe() casts it to struct intel_device_info * unconditionally and dereferences intel_info->require_force_probe, causing a NULL-ptr-deref. (cherry picked from commit 2727922084672cc274ecea726ea00363c2893731)
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 782a985d7af26db39e86070d28f987cad21313c0 · fixed in 2239e6b49d33bb38817d69b4f0bf7d5cbde2ec68; From 782a985d7af26db39e86070d28f987cad21313c0 · fixed in 4a0236fe97732e31cb4a6dcb433642f9e3ef9a56; From 782a985d7af26db39e86070d28f987cad21313c0 · fixed in e351cb2d373f6f1d4f1eb7c9f30dc058c69c89f8; From 782a985d7af26db39e86070d28f987cad21313c0 · fixed in 18b3433f10ee9c69e3252046028aa2be421f2d4d; From 782a985d7af26db39e86070d28f987cad21313c0 · fixed in 84829e324a396668ceafb14723293b2863a74dcf; From 782a985d7af26db39e86070d28f987cad21313c0 · fixed in 3785d40831ba5601296283e0197e10e089392757
- Linux Linux
3.16
- KernelLinux
From 3.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5