CVE-2023-42756

Kernel: netfilter: race condition between ipset_cmd_add and ipset_cmd_swap

State
Published
Severity
4.4 Medium
Published
Sep 28, 2023
Updated
Nov 1, 2026
Reserved
Sep 13, 2023

Read the record on cve.org

Description

A flaw was found in the Netfilter subsystem of the Linux kernel. A race condition between IPSET_CMD_ADD and IPSET_CMD_SWAP can lead to a kernel panic due to the invocation of `__ip_set_put` on a wrong `set`. This issue may allow a local user to crash the system.

Scores

CVSSScoreVectorSource
3.14.4 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

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

Affected Products

ProductVersions
Red Hat Enterprise Linux 9Red Hat
  • 0:5.14.0-427.13.1.el9_4 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:5.14.0-427.13.1.el9_4 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 8Red Hat
          Red Hat Enterprise Linux 8Red Hat
            Red Hat Enterprise Linux 9Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.