[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122735-CVE-2024-56637-23bb@gregkh>
Date: Fri, 27 Dec 2024 16:02:38 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-56637: netfilter: ipset: Hold module reference while requesting a module
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ipset: Hold module reference while requesting a module
User space may unload ip_set.ko while it is itself requesting a set type
backend module, leading to a kernel crash. The race condition may be
provoked by inserting an mdelay() right after the nfnl_unlock() call.
The Linux kernel CVE team has assigned CVE-2024-56637 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.39 with commit a7b4f989a629493bb4ec4a354def784d440b32c4 and fixed in 5.4.287 with commit e5e2d3024753fdaca818b822e3827614bacbdccf
Issue introduced in 2.6.39 with commit a7b4f989a629493bb4ec4a354def784d440b32c4 and fixed in 5.10.231 with commit 6099b5d3e37145484fac4b8b4070c3f1abfb3519
Issue introduced in 2.6.39 with commit a7b4f989a629493bb4ec4a354def784d440b32c4 and fixed in 5.15.174 with commit 0e67805e805c1f3edd6f43adbe08ea14b552694b
Issue introduced in 2.6.39 with commit a7b4f989a629493bb4ec4a354def784d440b32c4 and fixed in 6.1.120 with commit 5bae60a933ba5d16eed55c6b279be51bcbbc79b0
Issue introduced in 2.6.39 with commit a7b4f989a629493bb4ec4a354def784d440b32c4 and fixed in 6.6.66 with commit 90bf312a6b6b3d6012137f6776a4052ee85e0340
Issue introduced in 2.6.39 with commit a7b4f989a629493bb4ec4a354def784d440b32c4 and fixed in 6.12.5 with commit ba5e070f36682d07ca7ad2a953e6c9d96be19dca
Issue introduced in 2.6.39 with commit a7b4f989a629493bb4ec4a354def784d440b32c4 and fixed in 6.13-rc2 with commit 456f010bfaefde84d3390c755eedb1b0a5857c3c
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-2024-56637
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/ipset/ip_set_core.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/e5e2d3024753fdaca818b822e3827614bacbdccf
https://git.kernel.org/stable/c/6099b5d3e37145484fac4b8b4070c3f1abfb3519
https://git.kernel.org/stable/c/0e67805e805c1f3edd6f43adbe08ea14b552694b
https://git.kernel.org/stable/c/5bae60a933ba5d16eed55c6b279be51bcbbc79b0
https://git.kernel.org/stable/c/90bf312a6b6b3d6012137f6776a4052ee85e0340
https://git.kernel.org/stable/c/ba5e070f36682d07ca7ad2a953e6c9d96be19dca
https://git.kernel.org/stable/c/456f010bfaefde84d3390c755eedb1b0a5857c3c
Powered by blists - more mailing lists