diff options
| author | Deepanshu Kartikey <kartikey406@gmail.com> | 2026-08-13 12:19:02 +0530 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2026-08-31 10:42:17 +0300 |
| commit | 2727922084672cc274ecea726ea00363c2893731 (patch) | |
| tree | f56a100d62c0c2a1e8146ac120d511179c58e598 /scripts/Makefile.thinlto | |
| parent | 050e8067dcb8f5787be41753832d4a023d0ffe74 (diff) | |
| download | linux-next-2727922084672cc274ecea726ea00363c2893731.tar.gz linux-next-2727922084672cc274ecea726ea00363c2893731.zip | |
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.
Reported-by: syzbot+db96c5ff032f4292a8dc@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=db96c5ff032f4292a8dc
Tested-by: syzbot+db96c5ff032f4292a8dc@syzkaller.appspotmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Deepanshu Kartikey <kartikey406@gmail.com>
Link: https://patch.msgid.link/20260813064902.367504-1-kartikey406@gmail.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
