Description
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: pl353: fix clk reference leak in pl35x_nfc_setup_interface() pl35x_nfc_setup_interface() obtains a reference to the SMC "memclk" with of_clk_get_by_name() and only uses it to read the clock rate. The reference is never released: the function has many early return paths and no clk_put() call anywhere, so the clock reference is leaked. The hook is invoked repeatedly by the NAND core (nand_reset(), nand_setup_interface() and the NAND_DATA_IFACE_CHECK_ONLY mode probing loops), so the reference count keeps growing. Release the clock reference with clk_put() as soon as its rate has been read.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
08d8c62164a322eb923034acacf25246b775593a to < 799a12d2e99e88e664430e984ef691bb0e3eb2a1affected08d8c62164a322eb923034acacf25246b775593a to < 079f2b45d28499cf6e880f2b0dc98be0ae50c117affected08d8c62164a322eb923034acacf25246b775593a to < 870f9c05978261fbcc081c48963c3e5cd7ca08d0affected08d8c62164a322eb923034acacf25246b775593a to < a96cd52d6d5e1972bb734ed46aa728098aaadea0affected08d8c62164a322eb923034acacf25246b775593a to < 02e687e87fcb85e735b636c2bc1e6146eb909e18affected08d8c62164a322eb923034acacf25246b775593a to < 72cffa12e5a85cf7022659e526a03a35474fe9c8affected08d8c62164a322eb923034acacf25246b775593a to < 1ce45f0e74d60e8279ed380c97047e6c351aee1baffected
Linux Linux
Default version status: affected
5.14affected0 to < 5.14unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/799a12d2e99e88e664430e984ef691bb0e3eb2a1 ↗
- https://git.kernel.org/stable/c/079f2b45d28499cf6e880f2b0dc98be0ae50c117 ↗
- https://git.kernel.org/stable/c/870f9c05978261fbcc081c48963c3e5cd7ca08d0 ↗
- https://git.kernel.org/stable/c/a96cd52d6d5e1972bb734ed46aa728098aaadea0 ↗
- https://git.kernel.org/stable/c/02e687e87fcb85e735b636c2bc1e6146eb909e18 ↗
- https://git.kernel.org/stable/c/72cffa12e5a85cf7022659e526a03a35474fe9c8 ↗
- https://git.kernel.org/stable/c/1ce45f0e74d60e8279ed380c97047e6c351aee1b ↗