bfq: Make sure bfqg for which we are queueing requests is online
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e21b7a0b988772e82e7147e1c659a5afe2ae003c · < 075a53b78b815301f8d3dd1ee2cd99554e34f0dd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bfq: Make sure bfqg for which we are queueing requests is online
Bios queued into BFQ IO scheduler can be associated with a cgroup that was already offlined. This may then cause insertion of this bfq_group into a service tree. But this bfq_group will get freed as soon as last bio associated with it is completed leading to use after free issues for service tree users. Fix the problem by making sure we always operate on online bfq_group. If the bfq_group associated with the bio is not online, we pick the first online parent.
From the CVE record · Linux
Bios queued into the BFQ I/O scheduler can be associated with a cgroup that has already been offlined, potentially causing a use-after-free when the associated group is freed. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running the Linux kernel with the BFQ I/O scheduler should check their installations; affected versions are not specified.