[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022620-CVE-2022-49651-601b@gregkh>
Date: Wed, 26 Feb 2025 03:23:34 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: 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().
The Linux kernel CVE team has assigned CVE-2022-49651 to this issue.
Affected and fixed versions
===========================
Fixed in 5.18.11 with commit e997dda6502eefbc1032d6b0da7b353c53344b07
Fixed in 5.19 with commit 8ed00760203d8018bee042fbfe8e076579be2c2b
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-49651
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
kernel/rcu/srcutree.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/e997dda6502eefbc1032d6b0da7b353c53344b07
https://git.kernel.org/stable/c/8ed00760203d8018bee042fbfe8e076579be2c2b
Powered by blists - more mailing lists