srcu: Tighten cleanup_srcu_struct() GP checks
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
srcu: Tighten cleanup_srcu_struct() GP checks
Currently, cleanup_srcu_struct() checks for a grace period in progress, but it does not check for a grace period that has not yet started but which might start at any time. Such a situation could result in a use-after-free bug, so this commit adds a check for a grace period that is needed but not yet started to cleanup_srcu_struct().
From the CVE record · Linux
The Linux kernel’s cleanup_srcu_struct() does not check for a grace period that is needed but has not yet started. This could result in a use-after-free if cleanup occurs before that grace period begins. The input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running the Linux kernel should check their systems; affected versions are not specified.