fbdev: of: display_timing: fix refcount leak in of_get_display_timings()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.252, Kernel 5.15.202, Kernel 6.1.165 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.9 <5.10.252, >=5.11 <5.15.202, >=5.16 <6.1.165, >=6.13 <6.18.16, >=6.19 <6.19.6, >=6.2 <6.6.128, >=6.7 <6.12.75, >=cc3f414cf2e404130584b63d373161ba6fd24bc2 <2b22e4fe1273c24f405ed7903349c4bbd82b6368, >=cc3f414cf2e404130584b63d373161ba6fd24bc2 <3ed019654234edb8625c05d05e15d40f74e64f70, >=cc3f414cf2e404130584b63d373161ba6fd24bc2 <69290f2d3999c5fa1a7f5d5593cfc5461fa3ee64, >=cc3f414cf2e404130584b63d373161ba6fd24bc2 <b5bdcc5afbff845834d04d651773cb6b47db5dd3, >=cc3f414cf2e404130584b63d373161ba6fd24bc2 <c5734f9030a8b1e13868d1641b5163d8e659306e, >=cc3f414cf2e404130584b63d373161ba6fd24bc2 <d6f34bbff07476c6abb8672c89d217824871c5ed, >=cc3f414cf2e404130584b63d373161ba6fd24bc2 <eacf9840ae1285a1ef47eb0ce16d786e542bd4d7, =3.9, >=cc3f414cf2e404130584b63d373161ba6fd24bc2 <20881ad42e651c69d89eb38a2042838187900fd6 | 5.10.252, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75, 2b22e4fe1273c24f405ed7903349c4bbd82b6368, 3ed019654234edb8625c05d05e15d40f74e64f70, 69290f2d3999c5fa1a7f5d5593cfc5461fa3ee64, b5bdcc5afbff845834d04d651773cb6b47db5dd3, c5734f9030a8b1e13868d1641b5163d8e659306e, d6f34bbff07476c6abb8672c89d217824871c5ed, eacf9840ae1285a1ef47eb0ce16d786e542bd4d7, 20881ad42e651c69d89eb38a2042838187900fd6 |
| linux-kernel: Kernel | >=3.9.0 <5.10.252, >=5.11.0 <5.15.202, >=5.16.0 <6.1.165, >=6.13.0 <6.18.16, >=6.19.0 <6.19.6, >=6.2.0 <6.6.128, >=6.7.0 <6.12.75 | 5.10.252, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket