{"id":"CVE-2025-21648","summary":"netfilter: conntrack: clamp maximum hashtable size to INT_MAX","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: conntrack: clamp maximum hashtable size to INT_MAX\n\nUse INT_MAX as maximum size for the conntrack hashtable. Otherwise, it\nis possible to hit WARN_ON_ONCE in __kvmalloc_node_noprof() when\nresizing hashtable because __GFP_NOWARN is unset. See:\n\n  0708a0afe291 (\"mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls\")\n\nNote: hashtable resize is only possible from init_netns.","modified":"2026-03-20T12:40:38.696270Z","published":"2025-01-19T10:18:05.700Z","related":["ALSA-2025:20518","MGASA-2025-0030","MGASA-2025-0032","SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:01972-1","SUSE-SU-2025:01983-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1","USN-7379-2","USN-7380-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21648.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5552b4fd44be3393b930434a7845d8d95a2a3c33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a965f7f0ea3ae61b9165bed619d5d6da02c75f80"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1b2353d768f1b80cd7fe045a70adee576b9b338"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5807dd1328bbc86e059c5de80d1bbee9d58ca3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f559357d035877b9d0dcd273e0ff83e18e1d46aa"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21648.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21648"},{"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":"9cc1c73ad66610bffc80b691136ffc1e9a3b1a58"},{"fixed":"a965f7f0ea3ae61b9165bed619d5d6da02c75f80"},{"fixed":"b1b2353d768f1b80cd7fe045a70adee576b9b338"},{"fixed":"5552b4fd44be3393b930434a7845d8d95a2a3c33"},{"fixed":"d5807dd1328bbc86e059c5de80d1bbee9d58ca3d"},{"fixed":"f559357d035877b9d0dcd273e0ff83e18e1d46aa"},{"fixed":"b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21648.json"}}],"schema_version":"1.7.5"}