What’s Vulnerable › Vulnerabilities

CVE-2022-49651: srcu: Tighten cleanup_srcu_struct() GP checks

Description

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().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.18.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49651 or the next vulnerability affects your stack