CVE-2022-49651
JSON

7.8high

srcu: Tighten cleanup_srcu_struct() GP checks

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom da915ad5cf25b5f5d358dd3670c3378d8ae8c03e before e997dda6502eefbc1032d6b0da7b353c53344b07, from da915ad5cf25b5f5d358dd3670c3378d8ae8c03e before 8ed00760203d8018bee042fbfe8e076579be2c2b, 4.12
Not affected: before 4.12, from 5.18.11 up to 5.18.*, from 5.19 up to *
CVE List
linux linux_kernelbefore 5.18.11NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: srcu: Reforzar las comprobaciones de GP de cleanup_srcu_struct() Actualmente, cleanup_srcu_struct() comprueba si hay un período de gracia en curso, pero no comprueba si hay un período de gracia que aún no ha comenzado pero que podría comenzar en cualquier momento. Una situación de este tipo podría dar lugar a un error de use-after-free, por lo que esta confirmación añade una comprobación de un período de gracia que es necesario pero que aún no ha comenzado a cleanup_srcu_struct().

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49651 changed 2026-08-05CVE Terms of Use
NVDCVE-2022-49651 changed 2026-06-17Public domain