fbdev: of: display_timing: fix refcount leak in of_get_display_timings() (Linux Linux)

CVE-2026-43264
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected cc3f414cf2e404130584b63d373161ba6fd24bc2 < 20881ad42e651c69d89eb38a2042838187900fd6 ; affected cc3f414cf2e404130584b63d373161ba6fd24bc2 < b5bdcc5afbff845834d04d651773cb6b47db5dd3 ; affected cc3f414cf2e404130584b63d373161ba6fd24bc2 < 2b22e4fe1273c24f405ed7903349c4bbd82b6368 ; affected cc3f414cf2e404130584b63d373161ba6fd24bc2 < 3ed019654234edb8625c05d05e15d40f74e64f70 ; affected cc3f414cf2e404130584b63d373161ba6fd24bc2 < d6f34bbff07476c6abb8672c89d217824871c5ed ; affected cc3f414cf2e404130584b63d373161ba6fd24bc2 < 69290f2d3999c5fa1a7f5d5593cfc5461fa3ee64
Linux · Linuxaffected 3.9 ; unaffected 0 < 3.9 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD