Description
In the Linux kernel, the following vulnerability has been resolved: mfd: intel_quark_i2c_gpio: Manage the fixed-rate clock The I2C clock is allocated by clk_register_fixed_rate(), but cleanup uses clk_unregister(), leaving the fixed-rate provider allocation behind. Manage the provider with devm_clk_hw_register_fixed_rate() and its lookup with devm_clk_hw_register_clkdev(). Managed resources release the lookup before the provider, after the MFD children have been removed. Remove the manual clock cleanup and the private structure that only stored the clock and lookup pointers. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
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
60ae5b9f5cdd80c529eda13bfdd600a0fc857afb to < 44be878e528403a5071cad3b48fbec8bc4118fe8affected60ae5b9f5cdd80c529eda13bfdd600a0fc857afb to < 41891a4b9e0df9b5472232433d40fe0e3bd52713affected60ae5b9f5cdd80c529eda13bfdd600a0fc857afb to < 3461a265d320785cef1fb52f2d89a5ab61be55aeaffected60ae5b9f5cdd80c529eda13bfdd600a0fc857afb to < c6481666349b23cd1793d353bc37e34815f45bb5affected60ae5b9f5cdd80c529eda13bfdd600a0fc857afb to < 27a68321f7b12c06190ecbbe5a5c55e931715151affected60ae5b9f5cdd80c529eda13bfdd600a0fc857afb to < d11987d62a80fd041fb911c742e467fc58dd6c45affected60ae5b9f5cdd80c529eda13bfdd600a0fc857afb to < 72ced17fa98c6e8dd68503d060a22dbe1dcffb8daffected60ae5b9f5cdd80c529eda13bfdd600a0fc857afb to < 14a7cf1a3730c7c2393ef5a226e90baf61aa8a9faffected
Linux Linux
Default version status: affected
4.1affected0 to < 4.1unaffected5.10.275 to ≤ 5.10.*unaffected5.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/44be878e528403a5071cad3b48fbec8bc4118fe8 ↗
- https://git.kernel.org/stable/c/41891a4b9e0df9b5472232433d40fe0e3bd52713 ↗
- https://git.kernel.org/stable/c/3461a265d320785cef1fb52f2d89a5ab61be55ae ↗
- https://git.kernel.org/stable/c/c6481666349b23cd1793d353bc37e34815f45bb5 ↗
- https://git.kernel.org/stable/c/27a68321f7b12c06190ecbbe5a5c55e931715151 ↗
- https://git.kernel.org/stable/c/d11987d62a80fd041fb911c742e467fc58dd6c45 ↗
- https://git.kernel.org/stable/c/72ced17fa98c6e8dd68503d060a22dbe1dcffb8d ↗
- https://git.kernel.org/stable/c/14a7cf1a3730c7c2393ef5a226e90baf61aa8a9f ↗