fbdev: of: display_timing: fix refcount leak in of_get_display_timings()
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.
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/20881ad42e651c69d89eb38a2042838187900fd6
- https://git.kernel.org/stable/c/2b22e4fe1273c24f405ed7903349c4bbd82b6368
- https://git.kernel.org/stable/c/3ed019654234edb8625c05d05e15d40f74e64f70
- https://git.kernel.org/stable/c/69290f2d3999c5fa1a7f5d5593cfc5461fa3ee64
- https://git.kernel.org/stable/c/b5bdcc5afbff845834d04d651773cb6b47db5dd3
- https://git.kernel.org/stable/c/c5734f9030a8b1e13868d1641b5163d8e659306e
- https://git.kernel.org/stable/c/d6f34bbff07476c6abb8672c89d217824871c5ed
- https://git.kernel.org/stable/c/eacf9840ae1285a1ef47eb0ce16d786e542bd4d7
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43264.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-43264