CVE-2023-53179 (GCVE-0-2023-53179)
Vulnerability from cvelistv5
Published
2025-09-15 14:04
Modified
2025-09-15 14:04
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c The missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can lead to the use of wrong `CIDR_POS(c)` for calculating array offsets, which can lead to integer underflow. As a result, it leads to slab out-of-bound access. This patch adds back the IP_SET_HASH_WITH_NET0 macro to ip_set_hash_netportnet to address the issue.
Impacted products
Vendor Product Version
Linux Linux Version: 0d5d0b5c41f766355f2b42c47d13ea001f754c7d
Version: cb3e590df429ce151d5041884a4947099b8ad6a7
Version: 886503f34d63e681662057448819edb5b1057a97
Version: 886503f34d63e681662057448819edb5b1057a97
Version: 886503f34d63e681662057448819edb5b1057a97
Version: 886503f34d63e681662057448819edb5b1057a97
Version: 886503f34d63e681662057448819edb5b1057a97
Version: 886503f34d63e681662057448819edb5b1057a97
Version: 886503f34d63e681662057448819edb5b1057a97
Version: 186642845b02e1a7944ef33c3a3ac41eba77517f
Version: 919560afc21f91ca352a20394d5249aba1799690
Create a notification for this product.
   Linux Linux Version: 4.20
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/ipset/ip_set_hash_netportnet.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7935b636dd693dfe4483cfef4a1e91366c8103fa",
              "status": "affected",
              "version": "0d5d0b5c41f766355f2b42c47d13ea001f754c7d",
              "versionType": "git"
            },
            {
              "lessThan": "e632d09dffc68b9602d6893a99bfe3001d36cefc",
              "status": "affected",
              "version": "cb3e590df429ce151d5041884a4947099b8ad6a7",
              "versionType": "git"
            },
            {
              "lessThan": "109e830585e89a03d554bf8ad0e668630d0a6260",
              "status": "affected",
              "version": "886503f34d63e681662057448819edb5b1057a97",
              "versionType": "git"
            },
            {
              "lessThan": "83091f8ac03f118086596f17c9a52d31d6ca94b3",
              "status": "affected",
              "version": "886503f34d63e681662057448819edb5b1057a97",
              "versionType": "git"
            },
            {
              "lessThan": "a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14",
              "status": "affected",
              "version": "886503f34d63e681662057448819edb5b1057a97",
              "versionType": "git"
            },
            {
              "lessThan": "7ca0706c68adadf86a36b60dca090f5e9481e808",
              "status": "affected",
              "version": "886503f34d63e681662057448819edb5b1057a97",
              "versionType": "git"
            },
            {
              "lessThan": "d59b6fc405549f7caf31f6aa5da1d6bef746b166",
              "status": "affected",
              "version": "886503f34d63e681662057448819edb5b1057a97",
              "versionType": "git"
            },
            {
              "lessThan": "d95c8420efe684b964e3aa28108e9a354bcd7225",
              "status": "affected",
              "version": "886503f34d63e681662057448819edb5b1057a97",
              "versionType": "git"
            },
            {
              "lessThan": "050d91c03b28ca479df13dfb02bcd2c60dd6a878",
              "status": "affected",
              "version": "886503f34d63e681662057448819edb5b1057a97",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "186642845b02e1a7944ef33c3a3ac41eba77517f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "919560afc21f91ca352a20394d5249aba1799690",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/ipset/ip_set_hash_netportnet.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.20"
            },
            {
              "lessThan": "4.20",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "4.14.84",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "4.19.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.53",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.16",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.3",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.4.165",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.141",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c\n\nThe missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can\nlead to the use of wrong `CIDR_POS(c)` for calculating array offsets,\nwhich can lead to integer underflow. As a result, it leads to slab\nout-of-bound access.\nThis patch adds back the IP_SET_HASH_WITH_NET0 macro to\nip_set_hash_netportnet to address the issue."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:04:26.782Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa"
        },
        {
          "url": "https://git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc"
        },
        {
          "url": "https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260"
        },
        {
          "url": "https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14"
        },
        {
          "url": "https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808"
        },
        {
          "url": "https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166"
        },
        {
          "url": "https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225"
        },
        {
          "url": "https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878"
        }
      ],
      "title": "netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53179",
    "datePublished": "2025-09-15T14:04:26.782Z",
    "dateReserved": "2025-09-15T13:59:19.065Z",
    "dateUpdated": "2025-09-15T14:04:26.782Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53179\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T14:15:39.920\",\"lastModified\":\"2025-09-15T15:22:27.090\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c\\n\\nThe missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can\\nlead to the use of wrong `CIDR_POS(c)` for calculating array offsets,\\nwhich can lead to integer underflow. As a result, it leads to slab\\nout-of-bound access.\\nThis patch adds back the IP_SET_HASH_WITH_NET0 macro to\\nip_set_hash_netportnet to address the issue.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…