diff options
| author | Zabelin Nikita <[email protected]> | 2025-09-18 15:06:59 +0000 |
|---|---|---|
| committer | Patrik Jakobsson <[email protected]> | 2025-09-19 10:01:57 +0000 |
| commit | 352e66900cde63f3dadb142364d3c35170bbaaff (patch) | |
| tree | 5c2ce4718220327a8e8201cb50d8037d2e36d7ff /scripts/kernel-doc.py | |
| parent | drm/ast: Use msleep instead of mdelay for edid read (diff) | |
| download | kernel-352e66900cde63f3dadb142364d3c35170bbaaff.tar.gz kernel-352e66900cde63f3dadb142364d3c35170bbaaff.zip | |
drm/gma500: Fix null dereference in hdmi teardown
pci_set_drvdata sets the value of pdev->driver_data to NULL,
after which the driver_data obtained from the same dev is
dereferenced in oaktrail_hdmi_i2c_exit, and the i2c_dev is
extracted from it. To prevent this, swap these calls.
Found by Linux Verification Center (linuxtesting.org) with Svacer.
Fixes: 1b082ccf5901 ("gma500: Add Oaktrail support")
Signed-off-by: Zabelin Nikita <[email protected]>
Signed-off-by: Patrik Jakobsson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions
