{"id":"CVE-2023-53179","published":"2025-09-15T14:04:26Z","modified":"2026-10-15T21:41:27Z","title":"netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00178,"percentile":0.0759,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa","tags":[]},{"url":"https://git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc","tags":[]},{"url":"https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260","tags":[]},{"url":"https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3","tags":[]},{"url":"https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14","tags":[]},{"url":"https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808","tags":[]},{"url":"https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166","tags":[]},{"url":"https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225","tags":[]},{"url":"https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878","tags":[]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":1.52},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0d5d0b5c41f766355f2b42c47d13ea001f754c7d, < 7935b636dd693dfe4483cfef4a1e91366c8103fa",">= cb3e590df429ce151d5041884a4947099b8ad6a7, < e632d09dffc68b9602d6893a99bfe3001d36cefc",">= 886503f34d63e681662057448819edb5b1057a97, < 109e830585e89a03d554bf8ad0e668630d0a6260",">= 886503f34d63e681662057448819edb5b1057a97, < 83091f8ac03f118086596f17c9a52d31d6ca94b3",">= 886503f34d63e681662057448819edb5b1057a97, < a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14",">= 886503f34d63e681662057448819edb5b1057a97, < 7ca0706c68adadf86a36b60dca090f5e9481e808",">= 886503f34d63e681662057448819edb5b1057a97, < d59b6fc405549f7caf31f6aa5da1d6bef746b166",">= 886503f34d63e681662057448819edb5b1057a97, < d95c8420efe684b964e3aa28108e9a354bcd7225",">= 886503f34d63e681662057448819edb5b1057a97, < 050d91c03b28ca479df13dfb02bcd2c60dd6a878","186642845b02e1a7944ef33c3a3ac41eba77517f"]},{"vendor":"Linux","product":"Linux","versions":["4.20"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:34:11.541488Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59797","exploited":false,"provenance":"source"}}