Description
In the Linux kernel, the following vulnerability has been resolved: fbdev: of: display_timing: fix refcount leak in of_get_display_timings() of_parse_phandle() returns a device_node with refcount incremented, which is stored in 'entry' and then copied to 'native_mode'. When the error paths at lines 184 or 192 jump to 'entryfail', native_mode's refcount is not decremented, causing a refcount leak. Fix this by changing the goto target from 'entryfail' to 'timingfail', which properly calls of_node_put(native_mode) before cleanup.
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
cc3f414cf2e404130584b63d373161ba6fd24bc2 to < 20881ad42e651c69d89eb38a2042838187900fd6affectedcc3f414cf2e404130584b63d373161ba6fd24bc2 to < b5bdcc5afbff845834d04d651773cb6b47db5dd3affectedcc3f414cf2e404130584b63d373161ba6fd24bc2 to < 2b22e4fe1273c24f405ed7903349c4bbd82b6368affectedcc3f414cf2e404130584b63d373161ba6fd24bc2 to < 3ed019654234edb8625c05d05e15d40f74e64f70affectedcc3f414cf2e404130584b63d373161ba6fd24bc2 to < d6f34bbff07476c6abb8672c89d217824871c5edaffectedcc3f414cf2e404130584b63d373161ba6fd24bc2 to < 69290f2d3999c5fa1a7f5d5593cfc5461fa3ee64affectedcc3f414cf2e404130584b63d373161ba6fd24bc2 to < c5734f9030a8b1e13868d1641b5163d8e659306eaffectedcc3f414cf2e404130584b63d373161ba6fd24bc2 to < eacf9840ae1285a1ef47eb0ce16d786e542bd4d7affected
Linux Linux
Default version status: affected
3.9affected0 to < 3.9unaffected5.10.252 to ≤ 5.10.*unaffected5.15.202 to ≤ 5.15.*unaffected6.1.165 to ≤ 6.1.*unaffected6.6.128 to ≤ 6.6.*unaffected6.12.75 to ≤ 6.12.*unaffected6.18.16 to ≤ 6.18.*unaffected6.19.6 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/20881ad42e651c69d89eb38a2042838187900fd6 ↗
- https://git.kernel.org/stable/c/b5bdcc5afbff845834d04d651773cb6b47db5dd3 ↗
- https://git.kernel.org/stable/c/2b22e4fe1273c24f405ed7903349c4bbd82b6368 ↗
- https://git.kernel.org/stable/c/3ed019654234edb8625c05d05e15d40f74e64f70 ↗
- https://git.kernel.org/stable/c/d6f34bbff07476c6abb8672c89d217824871c5ed ↗
- https://git.kernel.org/stable/c/69290f2d3999c5fa1a7f5d5593cfc5461fa3ee64 ↗
- https://git.kernel.org/stable/c/c5734f9030a8b1e13868d1641b5163d8e659306e ↗
- https://git.kernel.org/stable/c/eacf9840ae1285a1ef47eb0ce16d786e542bd4d7 ↗