lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025041608-CVE-2025-22064-0afe@gregkh>
Date: Wed, 16 Apr 2025 16:12:35 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-22064: netfilter: nf_tables: don't unregister hook when table is dormant

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: don't unregister hook when table is dormant

When nf_tables_updchain encounters an error, hook registration needs to
be rolled back.

This should only be done if the hook has been registered, which won't
happen when the table is flagged as dormant (inactive).

Just move the assignment into the registration block.

The Linux kernel CVE team has assigned CVE-2025-22064 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.4 with commit b9703ed44ffbfba85c103b9de01886a225e14b38 and fixed in 6.6.87 with commit 6134d1ea1e1408e8e7c8c26545b3b301cbdf1eda
	Issue introduced in 6.4 with commit b9703ed44ffbfba85c103b9de01886a225e14b38 and fixed in 6.12.23 with commit feb1fa2a03a27fec7001e93e4223be4120d1784b
	Issue introduced in 6.4 with commit b9703ed44ffbfba85c103b9de01886a225e14b38 and fixed in 6.13.11 with commit 03d1fb457b696c18fe15661440c4f052b2374e7e
	Issue introduced in 6.4 with commit b9703ed44ffbfba85c103b9de01886a225e14b38 and fixed in 6.14.2 with commit ce571eba07d54e3637bf334bc48376fbfa55defe
	Issue introduced in 6.4 with commit b9703ed44ffbfba85c103b9de01886a225e14b38 and fixed in 6.15-rc1 with commit 688c15017d5cd5aac882400782e7213d40dc3556
	Issue introduced in 6.3.3 with commit d131ce7a319d3bff68d5a9d5509bb22e4ce33946

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-2025-22064
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/6134d1ea1e1408e8e7c8c26545b3b301cbdf1eda
	https://git.kernel.org/stable/c/feb1fa2a03a27fec7001e93e4223be4120d1784b
	https://git.kernel.org/stable/c/03d1fb457b696c18fe15661440c4f052b2374e7e
	https://git.kernel.org/stable/c/ce571eba07d54e3637bf334bc48376fbfa55defe
	https://git.kernel.org/stable/c/688c15017d5cd5aac882400782e7213d40dc3556

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ