netfilter: ipset: Hold module reference while requesting a module (Linux Linux)

CVE-2024-56637
HIGH 7.3

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a7b4f989a629493bb4ec4a354def784d440b32c4 < e5e2d3024753fdaca818b822e3827614bacbdccf ; affected a7b4f989a629493bb4ec4a354def784d440b32c4 < 6099b5d3e37145484fac4b8b4070c3f1abfb3519 ; affected a7b4f989a629493bb4ec4a354def784d440b32c4 < 0e67805e805c1f3edd6f43adbe08ea14b552694b ; affected a7b4f989a629493bb4ec4a354def784d440b32c4 < 5bae60a933ba5d16eed55c6b279be51bcbbc79b0 ; affected a7b4f989a629493bb4ec4a354def784d440b32c4 < 90bf312a6b6b3d6012137f6776a4052ee85e0340 ; affected a7b4f989a629493bb4ec4a354def784d440b32c4 < ba5e070f36682d07ca7ad2a953e6c9d96be19dca
Linux · Linuxaffected 2.6.39 ; unaffected 0 < 2.6.39 ; unaffected 5.4.287 ≤ 5.4.* ; unaffected 5.10.231 ≤ 5.10.* ; unaffected 5.15.174 ≤ 5.15.* ; unaffected 6.1.120 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD