cve-2025-21648
Vulnerability from cvelistv5
Published
2025-01-19 10:18
Modified
2025-02-02 10:16
Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
netfilter: conntrack: clamp maximum hashtable size to INT_MAX
Use INT_MAX as maximum size for the conntrack hashtable. Otherwise, it
is possible to hit WARN_ON_ONCE in __kvmalloc_node_noprof() when
resizing hashtable because __GFP_NOWARN is unset. See:
0708a0afe291 ("mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls")
Note: hashtable resize is only possible from init_netns.
References
Impacted products
Vendor | Product | Version | |||||||
---|---|---|---|---|---|---|---|---|---|
▼ | Linux | Linux |
Version: 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 Version: 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 Version: 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 Version: 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 Version: 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 Version: 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 |
||||||
|
{ containers: { cna: { affected: [ { defaultStatus: "unaffected", product: "Linux", programFiles: [ "net/netfilter/nf_conntrack_core.c", ], repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", vendor: "Linux", versions: [ { lessThan: "a965f7f0ea3ae61b9165bed619d5d6da02c75f80", status: "affected", version: "9cc1c73ad66610bffc80b691136ffc1e9a3b1a58", versionType: "git", }, { lessThan: "b1b2353d768f1b80cd7fe045a70adee576b9b338", status: "affected", version: "9cc1c73ad66610bffc80b691136ffc1e9a3b1a58", versionType: "git", }, { lessThan: "5552b4fd44be3393b930434a7845d8d95a2a3c33", status: "affected", version: "9cc1c73ad66610bffc80b691136ffc1e9a3b1a58", versionType: "git", }, { lessThan: "d5807dd1328bbc86e059c5de80d1bbee9d58ca3d", status: "affected", version: "9cc1c73ad66610bffc80b691136ffc1e9a3b1a58", versionType: "git", }, { lessThan: "f559357d035877b9d0dcd273e0ff83e18e1d46aa", status: "affected", version: "9cc1c73ad66610bffc80b691136ffc1e9a3b1a58", versionType: "git", }, { lessThan: "b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13", status: "affected", version: "9cc1c73ad66610bffc80b691136ffc1e9a3b1a58", versionType: "git", }, ], }, { defaultStatus: "affected", product: "Linux", programFiles: [ "net/netfilter/nf_conntrack_core.c", ], repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", vendor: "Linux", versions: [ { status: "affected", version: "4.7", }, { lessThan: "4.7", status: "unaffected", version: "0", versionType: "semver", }, { lessThanOrEqual: "5.10.*", status: "unaffected", version: "5.10.234", versionType: "semver", }, { lessThanOrEqual: "5.15.*", status: "unaffected", version: "5.15.177", versionType: "semver", }, { lessThanOrEqual: "6.1.*", status: "unaffected", version: "6.1.125", versionType: "semver", }, { lessThanOrEqual: "6.6.*", status: "unaffected", version: "6.6.72", versionType: "semver", }, { lessThanOrEqual: "6.12.*", status: "unaffected", version: "6.12.10", versionType: "semver", }, { lessThanOrEqual: "*", status: "unaffected", version: "6.13", versionType: "original_commit_for_fix", }, ], }, ], descriptions: [ { lang: "en", value: "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.", }, ], providerMetadata: { dateUpdated: "2025-02-02T10:16:08.356Z", orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", shortName: "Linux", }, references: [ { url: "https://git.kernel.org/stable/c/a965f7f0ea3ae61b9165bed619d5d6da02c75f80", }, { url: "https://git.kernel.org/stable/c/b1b2353d768f1b80cd7fe045a70adee576b9b338", }, { url: "https://git.kernel.org/stable/c/5552b4fd44be3393b930434a7845d8d95a2a3c33", }, { url: "https://git.kernel.org/stable/c/d5807dd1328bbc86e059c5de80d1bbee9d58ca3d", }, { url: "https://git.kernel.org/stable/c/f559357d035877b9d0dcd273e0ff83e18e1d46aa", }, { url: "https://git.kernel.org/stable/c/b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13", }, ], title: "netfilter: conntrack: clamp maximum hashtable size to INT_MAX", x_generator: { engine: "bippy-5f407fcff5a0", }, }, }, cveMetadata: { assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", assignerShortName: "Linux", cveId: "CVE-2025-21648", datePublished: "2025-01-19T10:18:05.700Z", dateReserved: "2024-12-29T08:45:45.728Z", dateUpdated: "2025-02-02T10:16:08.356Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", "vulnerability-lookup:meta": { nvd: "{\"cve\":{\"id\":\"CVE-2025-21648\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-01-19T11:15:10.410\",\"lastModified\":\"2025-02-02T11:15:15.433\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: conntrack: fijar el tamaño máximo de la tabla hash a INT_MAX Utilice INT_MAX como tamaño máximo para la tabla hash de conntrack. De lo contrario, es posible alcanzar WARN_ON_ONCE en __kvmalloc_node_noprof() al cambiar el tamaño de la tabla hash porque __GFP_NOWARN no está configurado. Consulte: 0708a0afe291 (\\\"mm: Considere el indicador __GFP_NOWARN para llamadas kvmalloc() de gran tamaño\\\") Nota: el cambio de tamaño de la tabla hash solo es posible desde init_netns.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/5552b4fd44be3393b930434a7845d8d95a2a3c33\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a965f7f0ea3ae61b9165bed619d5d6da02c75f80\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b1b2353d768f1b80cd7fe045a70adee576b9b338\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d5807dd1328bbc86e059c5de80d1bbee9d58ca3d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f559357d035877b9d0dcd273e0ff83e18e1d46aa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}", }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
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.