← CVE Intelligence

CVE-2022-49651

srcu: Tighten cleanup_srcu_struct() GP checks PUBLISHED

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected da915ad5cf25b5f5d358dd3670c3378d8ae8c03e before e997dda6502eefbc1032d6b0da7b353c53344b07; affected da915ad5cf25b5f5d358dd3670c3378d8ae8c03e before 8ed00760203d8018bee042fbfe8e076579be2c2b
Linux / Linuxaffected 4.12; unaffected 0 before 4.12; unaffected 5.18.11 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.