Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • da915ad5cf25b5f5d358dd3670c3378d8ae8c03e to < e997dda6502eefbc1032d6b0da7b353c53344b07affected
  • da915ad5cf25b5f5d358dd3670c3378d8ae8c03e to < 8ed00760203d8018bee042fbfe8e076579be2c2baffected

Linux Linux

Default version status: affected

  • 4.12affected
  • 0 to < 4.12unaffected
  • 5.18.11 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References