CVE-2026-98535 PUBLISHED

fsl/fman: Fix clk reference leak in read_dts_node()

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

In the Linux kernel, the following vulnerability has been resolved:

fsl/fman: Fix clk reference leak in read_dts_node()

of_clk_get() returns a clock with its reference count incremented, but read_dts_node() only uses it to read the rate and never calls clk_put(). The clock is not stored anywhere, so the reference cannot be released later either.

Release the clock once its rate has been read, which also covers the error path taken when the rate is zero.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 414fd46e77626f4e1f89ab4be6b876ef91e89dfa to 874fd58b321a9238e47c2a46345444287f2a5781 (excl.)
  • affected from 414fd46e77626f4e1f89ab4be6b876ef91e89dfa to c2edf376d7804279878b207d93ffe6009c8d3d29 (excl.)
  • affected from 414fd46e77626f4e1f89ab4be6b876ef91e89dfa to 5c90f99ba74b55ddd8e919224921033cc4077f01 (excl.)
  • affected from 414fd46e77626f4e1f89ab4be6b876ef91e89dfa to e560bdf62b11dcaa2a018345f76869d89ed43a9e (excl.)
  • affected from 414fd46e77626f4e1f89ab4be6b876ef91e89dfa to 9fd6d0861ae2fd44c771d6bc93b29bbc1202fe8e (excl.)
  • affected from 414fd46e77626f4e1f89ab4be6b876ef91e89dfa to c2a5e591858629b6c0e284010d2ccdbc22fd0a43 (excl.)
  • affected from 414fd46e77626f4e1f89ab4be6b876ef91e89dfa to cb52f9f188c3174761ad3b37db9de751e002b52c (excl.)
  • affected from 414fd46e77626f4e1f89ab4be6b876ef91e89dfa to a644f09b2090ad22a13fbcf9d141084f573108ef (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.5 is affected
  • unaffected from 0 to 4.5 (excl.)
  • unaffected from 5.10.271 to 5.10.* (incl.)
  • unaffected from 5.15.222 to 5.15.* (incl.)
  • unaffected from 6.1.189 to 6.1.* (incl.)
  • unaffected from 6.6.158 to 6.6.* (incl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.55 to 6.18.* (incl.)
  • unaffected from 7.2.9 to 7.2.* (incl.)
  • unaffected from 7.3-rc5 to * (incl.)

References