cpufreq: initialize policy rwsem before sysfs publication
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 27c9b491bf7604e83b50c3bbfa18a30266ff345f, Kernel 2cee937f779f69b195b37bbec1e888da9bfe9d58, Kernel 3e5d1bf4bd687beb2cb4e32a07af695455925588 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: cpufreq: initialize policy rwsem before sysfs publication cpufreq_policy_alloc() initializes policy->rwsem after kobject_init_and_add() has created the policy sysfs directory and its default attributes. A sysfs access can therefore reach a policy callback before the semaphore has been initialized. Initialize policy->rwsem before publishing the policy kobject so sysfs callbacks always see an initialized semaphore.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.2, >=2fc3384dc75bf7333384c7a16d12c796f61c3f56 <27c9b491bf7604e83b50c3bbfa18a30266ff345f, >=2fc3384dc75bf7333384c7a16d12c796f61c3f56 <2cee937f779f69b195b37bbec1e888da9bfe9d58, >=2fc3384dc75bf7333384c7a16d12c796f61c3f56 <3e5d1bf4bd687beb2cb4e32a07af695455925588, >=2fc3384dc75bf7333384c7a16d12c796f61c3f56 <82a54923700da5de83ce2b26c0b43f6b5005c8f1, >=2fc3384dc75bf7333384c7a16d12c796f61c3f56 <b14987a0f73777644099f47f01aba3b0f9dc6c27, >=2fc3384dc75bf7333384c7a16d12c796f61c3f56 <b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a, >=2fc3384dc75bf7333384c7a16d12c796f61c3f56 <c9d8435814f2ac533c40fe3f35d94235bc3a9443, >=2fc3384dc75bf7333384c7a16d12c796f61c3f56 <dc11263cb05ed519758fd135fe08d611bad1f241 | 27c9b491bf7604e83b50c3bbfa18a30266ff345f, 2cee937f779f69b195b37bbec1e888da9bfe9d58, 3e5d1bf4bd687beb2cb4e32a07af695455925588, 82a54923700da5de83ce2b26c0b43f6b5005c8f1, b14987a0f73777644099f47f01aba3b0f9dc6c27, b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a, c9d8435814f2ac533c40fe3f35d94235bc3a9443, dc11263cb05ed519758fd135fe08d611bad1f241 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket