{"id":"CVE-2023-53179","summary":"netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c","details":"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.","modified":"2026-04-02T09:43:45.063520Z","published":"2025-09-15T14:04:26.782Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03613-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03626-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:3761-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53179.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878"},{"type":"WEB","url":"https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53179.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53179"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0d5d0b5c41f766355f2b42c47d13ea001f754c7d"},{"fixed":"7935b636dd693dfe4483cfef4a1e91366c8103fa"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cb3e590df429ce151d5041884a4947099b8ad6a7"},{"fixed":"e632d09dffc68b9602d6893a99bfe3001d36cefc"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"886503f34d63e681662057448819edb5b1057a97"},{"fixed":"109e830585e89a03d554bf8ad0e668630d0a6260"},{"fixed":"83091f8ac03f118086596f17c9a52d31d6ca94b3"},{"fixed":"a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14"},{"fixed":"7ca0706c68adadf86a36b60dca090f5e9481e808"},{"fixed":"d59b6fc405549f7caf31f6aa5da1d6bef746b166"},{"fixed":"d95c8420efe684b964e3aa28108e9a354bcd7225"},{"fixed":"050d91c03b28ca479df13dfb02bcd2c60dd6a878"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"186642845b02e1a7944ef33c3a3ac41eba77517f"},{"last_affected":"919560afc21f91ca352a20394d5249aba1799690"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53179.json"}}],"schema_version":"1.7.5"}