{"id":"CVE-2024-26849","aliases":["CVE-2024-26849"],"related":[],"kind":"vulnerability","state":"published","title":"netlink: add nla be16/32 types to minlen array","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlink: add nla be16/32 types to minlen array\n\nBUG: KMSAN: uninit-value in nla_validate_range_unsigned lib/nlattr.c:222 [inline]\nBUG: KMSAN: uninit-value in nla_validate_int_range lib/nlattr.c:336 [inline]\nBUG: KMSAN: uninit-value in validate_nla lib/nlattr.c:575 [inline]\nBUG: KMSAN: uninit-value in __nla_validate_parse+0x2e20/0x45c0 lib/nlattr.c:631\n nla_validate_range_unsigned lib/nlattr.c:222 [inline]\n nla_validate_int_range lib/nlattr.c:336 [inline]\n validate_nla lib/nlattr.c:575 [inline]\n...\n\nThe message in question matches this policy:\n\n [NFTA_TARGET_REV]       = NLA_POLICY_MAX(NLA_BE32, 255),\n\nbut because NLA_BE32 size in minlen array is 0, the validation\ncode will read past the malformed (too small) attribute.\n\nNote: Other attributes, e.g. BITFIELD32, SINT, UINT.. are also missing:\nthose likely should be added too.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlink: add nla be16/32 types to minlen array\n\nBUG: KMSAN: uninit-value in nla_validate_range_unsigned lib/nlattr.c:222 [inline]\nBUG: KMSAN: uninit-value in nla_validate_int_range lib/nlattr.c:336 [inline]\nBUG: KMSAN: uninit-value in validate_nla lib/nlattr.c:575 [inline]\nBUG: KMSAN: uninit-value in __nla_validate_parse+0x2e20/0x45c0 lib/nlattr.c:631\n nla_validate_range_unsigned lib/nlattr.c:222 [inline]\n nla_validate_int_range lib/nlattr.c:336 [inline]\n validate_nla lib/nlattr.c:575 [inline]\n...\n\nThe message in question matches this policy:\n\n [NFTA_TARGET_REV]       = NLA_POLICY_MAX(NLA_BE32, 255),\n\nbut because NLA_BE32 size in minlen array is 0, the validation\ncode will read past the malformed (too small) attribute.\n\nNote: Other attributes, e.g. BITFIELD32, SINT, UINT.. are also missing:\nthose likely should be added too.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netlink: agregue tipos nla be16/32 a la matriz minlen ERROR: KMSAN: valor uninit en nla_validate_range_unsigned lib/nlattr.c:222 [en línea] ERROR: KMSAN: valor uninit en nla_validate_int_range lib/nlattr.c:336 [en línea] ERROR: KMSAN: valor uninit en validar_nla lib/nlattr.c:575 [en línea] ERROR: KMSAN: valor uninit en __nla_validate_parse+0x2e20/0x45c0 lib/nlattr.c:631 nla_validate_range_unsigned lib/nlattr.c:222 [en línea] nla_validate_int_range lib/nlattr.c:336 [en línea] validar_nla lib/nlattr.c:575 [en línea] ... El mensaje en cuestión coincide con esta política: [NFTA_TARGET_REV] = NLA_POLICY_MAX( NLA_BE32, 255), pero debido a que el tamaño de NLA_BE32 en la matriz minlen es 0, el código de validación leerá más allá del atributo con formato incorrecto (demasiado pequeño). Nota: También faltan otros atributos, por ejemplo, BITFIELD32, SINT, UINT...: probablemente también deberían agregarse.","source":"nvd"}],"published":"2024-04-17T10:14:20.184Z","modified":"2026-06-17T07:18:29.840Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"24ea1c8abaae6541ad95912422a9af4fb858428d","fixed":"000a68159c0326b46c42ec712ab98793e7e625a7","status":"affected"},{"type":"git","introduced":"cbfac0add2afe8960a09806012313765a2179423","fixed":"80b40f9cb87f3bf5877dfb852765cf92bc03ca77","status":"affected"},{"type":"git","introduced":"ecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f","fixed":"0ac219c4c3ab253f3981f346903458d20bacab32","status":"affected"},{"type":"git","introduced":"ecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f","fixed":"a2ab028151841cd833cb53eb99427e0cc990112d","status":"affected"},{"type":"git","introduced":"ecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f","fixed":"7a9d14c63b35f89563c5ecbadf918ad64979712d","status":"affected"},{"type":"git","introduced":"ecaf75ffd5f5db320d8b1da0198eef5a5ce64a3f","fixed":"9a0d18853c280f6a0ee99f91619f2442a17a323a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.81","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.21","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.9","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1","fixed":"6.1.81"},{"status":"affected","introduced":"6.2","fixed":"6.6.21"},{"status":"affected","introduced":"6.7","fixed":"6.7.9"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/000a68159c0326b46c42ec712ab98793e7e625a7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80b40f9cb87f3bf5877dfb852765cf92bc03ca77","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ac219c4c3ab253f3981f346903458d20bacab32","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2ab028151841cd833cb53eb99427e0cc990112d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a9d14c63b35f89563c5ecbadf918ad64979712d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a0d18853c280f6a0ee99f91619f2442a17a323a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-17T19:19:12.793Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26849","url":"https://www.cve.org/CVERecord?id=CVE-2024-26849","licence":"CVE Terms of Use","modified":"2026-05-11T20:05:18.866Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26849","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26849","licence":"Public domain","modified":"2026-06-17T07:18:29.840Z"}],"updatedAt":"2026-11-25T22:58:39.354Z","epss":{"score":0.00223,"percentile":0.13785,"date":"2026-12-01T12:00:22.000Z"}}