Description
In the Linux kernel, the following vulnerability has been resolved: drm/gma500/oaktrail_lvds: fix hang on init failure The LVDS init code looks up an I2C adapter using i2c_get_adapter() and tries to read the EDID before falling back to allocating and registering its own adapter. The error handling does not separate these cases so on a late init failure it will try to deregister and free also an adapter that had previously been registered. Since i2c_get_adapter() takes another reference to the adapter, deregistration hangs indefinitely while waiting for the reference to be released. Fix this by only destroying adapters allocated during LVDS init on errors.
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
a57ebfc0b4da16a3f36bfebb158198aab3e340f8 to < 5fe9f505d8578852c30668567bc3ce52e776e8c7affecteda57ebfc0b4da16a3f36bfebb158198aab3e340f8 to < 4e04b564c005c9900643c56656d751ad677889beaffecteda57ebfc0b4da16a3f36bfebb158198aab3e340f8 to < 7877f7e231a8bd5c817af1491276550a5e195cd7affecteda57ebfc0b4da16a3f36bfebb158198aab3e340f8 to < ab9256936b58eb178caddcf5b5b1638f079909d2affecteda57ebfc0b4da16a3f36bfebb158198aab3e340f8 to < f6fc44af3bbd5ab0fb6bdec6f47decca11b38425affecteda57ebfc0b4da16a3f36bfebb158198aab3e340f8 to < 657a091ab6d01d0091b77660c75cfed573c9a53eaffected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.1.175 to ≤ 6.1.*unaffected6.6.141 to ≤ 6.6.*unaffected6.12.91 to ≤ 6.12.*unaffected6.18.33 to ≤ 6.18.*unaffected7.0.10 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/5fe9f505d8578852c30668567bc3ce52e776e8c7 ↗
- https://git.kernel.org/stable/c/4e04b564c005c9900643c56656d751ad677889be ↗
- https://git.kernel.org/stable/c/7877f7e231a8bd5c817af1491276550a5e195cd7 ↗
- https://git.kernel.org/stable/c/ab9256936b58eb178caddcf5b5b1638f079909d2 ↗
- https://git.kernel.org/stable/c/f6fc44af3bbd5ab0fb6bdec6f47decca11b38425 ↗
- https://git.kernel.org/stable/c/657a091ab6d01d0091b77660c75cfed573c9a53e ↗