[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050108-CVE-2022-49920-667b@gregkh>
Date: Thu, 1 May 2025 16:11:50 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-49920: netfilter: nf_tables: netlink notifier might race to release objects
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: netlink notifier might race to release objects
commit release path is invoked via call_rcu and it runs lockless to
release the objects after rcu grace period. The netlink notifier handler
might win race to remove objects that the transaction context is still
referencing from the commit release path.
Call rcu_barrier() to ensure pending rcu callbacks run to completion
if the list of transactions to be destroyed is not empty.
The Linux kernel CVE team has assigned CVE-2022-49920 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.12 with commit 6001a930ce0378b62210d4f83583fc88a903d89d and fixed in 5.15.78 with commit 1ffe7100411a8b9015115ce124cd6c9c9da6f8e3
Issue introduced in 5.12 with commit 6001a930ce0378b62210d4f83583fc88a903d89d and fixed in 6.0.8 with commit e40b7c44d19e327ad8b49a491ef1fa8dcc4566e0
Issue introduced in 5.12 with commit 6001a930ce0378b62210d4f83583fc88a903d89d and fixed in 6.1 with commit d4bc8271db21ea9f1c86a1ca4d64999f184d4aae
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-49920
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:
net/netfilter/nf_tables_api.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/1ffe7100411a8b9015115ce124cd6c9c9da6f8e3
https://git.kernel.org/stable/c/e40b7c44d19e327ad8b49a491ef1fa8dcc4566e0
https://git.kernel.org/stable/c/d4bc8271db21ea9f1c86a1ca4d64999f184d4aae
Powered by blists - more mailing lists