Description
In the Linux kernel, the following vulnerability has been resolved: 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.
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
1b082ccf5901108d3acd860a73d8c0442556c0bb to < 70b0c11483d3b90b2d0f416026e475e084a77e62affected1b082ccf5901108d3acd860a73d8c0442556c0bb to < 4bbfd1b290857b9d14ea9d91562bde55ff2bc85eaffected1b082ccf5901108d3acd860a73d8c0442556c0bb to < e15de80737d444ed743b1c60ced4a3a97913169baffected1b082ccf5901108d3acd860a73d8c0442556c0bb to < 02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7affected1b082ccf5901108d3acd860a73d8c0442556c0bb to < 6ffa6b5bc861a3ea9dfcdc007f002b4a347c24baaffected1b082ccf5901108d3acd860a73d8c0442556c0bb to < f800f7054d2cf28b51296c7c575da27c29e3859baffected1b082ccf5901108d3acd860a73d8c0442556c0bb to < 0fc650fa475b50c1da8236c5e900b9460c7027bcaffected1b082ccf5901108d3acd860a73d8c0442556c0bb to < 352e66900cde63f3dadb142364d3c35170bbaaffaffected
Linux Linux
Default version status: affected
3.3affected0 to < 3.3unaffected5.4.300 to ≤ 5.4.*unaffected5.10.245 to ≤ 5.10.*unaffected5.15.194 to ≤ 5.15.*unaffected6.1.155 to ≤ 6.1.*unaffected6.6.109 to ≤ 6.6.*unaffected6.12.50 to ≤ 6.12.*unaffected6.16.10 to ≤ 6.16.*unaffected6.17 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/70b0c11483d3b90b2d0f416026e475e084a77e62 ↗
- https://git.kernel.org/stable/c/4bbfd1b290857b9d14ea9d91562bde55ff2bc85e ↗
- https://git.kernel.org/stable/c/e15de80737d444ed743b1c60ced4a3a97913169b ↗
- https://git.kernel.org/stable/c/02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7 ↗
- https://git.kernel.org/stable/c/6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba ↗
- https://git.kernel.org/stable/c/f800f7054d2cf28b51296c7c575da27c29e3859b ↗
- https://git.kernel.org/stable/c/0fc650fa475b50c1da8236c5e900b9460c7027bc ↗
- https://git.kernel.org/stable/c/352e66900cde63f3dadb142364d3c35170bbaaff ↗