md/md-llbitmap: fix percpu_ref not resurrected on suspend timeout
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.146.19.47.0In the Linux kernel, the following vulnerability has been resolved:
md/md-llbitmap: fix percpu_ref not resurrected on suspend timeout
When llbitmap_suspend_timeout() times out waiting for percpu_ref to become zero, it returns -ETIMEDOUT without resurrecting the percpu_ref. The caller (md_llbitmap_daemon_fn) then continues to the next page without calling llbitmap_resume(), leaving the percpu_ref in a killed state permanently.
Fix this by resurrecting the percpu_ref before returning the error, ensuring the page control structure remains usable for subsequent operations.
From the CVE record · Linux
In the Linux kernel, a timeout while md/md-llbitmap waits for a reference count to reach zero can leave that reference permanently disabled, making the page control structure unusable for subsequent operations. The input does not establish whether an attacker can trigger the timeout or specify access or interaction requirements.
Engineers running Linux kernels that include md/md-llbitmap should check whether their kernel is affected; no affected versions are specified.