summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorZabelin Nikita <n.zabelin@mt-integration.ru>2025-09-18 18:06:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-02 13:44:11 +0200
commitf800f7054d2cf28b51296c7c575da27c29e3859b (patch)
tree6a274e6c78da9fe2c32ddfed3b437eee82f94a20 /include/net/aligned_data.h
parent895fab2a4257aff5b1f7a75b62b0144e41a5474c (diff)
drm/gma500: Fix null dereference in hdmi teardown
[ Upstream commit 352e66900cde63f3dadb142364d3c35170bbaaff ] 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 <n.zabelin@mt-integration.ru> Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Link: https://lore.kernel.org/r/20250918150703.2562604-1-n.zabelin@mt-integration.ru Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions