CVE-2026-43264: fbdev: of: display_timing: fix refcount leak in of_get_display_timings()
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-43264 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.9 with commit cc3f414cf2e404130584b63d373161ba6fd24bc2 and fixed in 5.10.252 with commit 20881ad42e651c69d89eb38a2042838187900fd6 Issue introduced in 3.9 with commit cc3f414cf2e404130584b63d373161ba6fd24bc2 and fixed in 5.15.202 with commit b5bdcc5afbff845834d04d651773cb6b47db5dd3 Issue introduced in 3.9 with commit cc3f414cf2e404130584b63d373161ba6fd24bc2 and fixed in 6.1.165 with commit 2b22e4fe1273c24f405ed7903349c4bbd82b6368 Issue introduced in 3.9 with commit cc3f414cf2e404130584b63d373161ba6fd24bc2 and fixed in 6.6.128 with commit 3ed019654234edb8625c05d05e15d40f74e64f70 Issue introduced in 3.9 with commit cc3f414cf2e404130584b63d373161ba6fd24bc2 and fixed in 6.12.75 with commit d6f34bbff07476c6abb8672c89d217824871c5ed Issue introduced in 3.9 with commit cc3f414cf2e404130584b63d373161ba6fd24bc2 and fixed in 6.18.16 with commit 69290f2d3999c5fa1a7f5d5593cfc5461fa3ee64 Issue introduced in 3.9 with commit cc3f414cf2e404130584b63d373161ba6fd24bc2 and fixed in 6.19.6 with commit c5734f9030a8b1e13868d1641b5163d8e659306e Issue introduced in 3.9 with commit cc3f414cf2e404130584b63d373161ba6fd24bc2 and fixed in 7.0 with commit eacf9840ae1285a1ef47eb0ce16d786e542bd4d7
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43264
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/video/of_display_timing.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
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