{"id":"CVE-2026-64522","revision":"e6ccfc31a7ec4b328e5558a12028365b","records":[{"revision":"e6ccfc31a7ec4b328e5558a12028365b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-64522","aliases":[],"title":"net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA\n\nmlx5e_xfrm_add_state() handles acquire-flow temporary SAs by allocating\nsoftware state and skipping hardware offload setup.\n\nThat path jumps to the common success label before taking the eswitch mode\nblock. After tunnel-mode validation was moved earlier, the common success\nlabel unconditionally calls mlx5_eswitch_unblock_mode(). For acquire SAs,\nthis decrements esw->offloads.num_block_mode without a matching increment.\n\nReturn directly after installing the acquire SA offload handle, so only the\npaths that successfully called mlx5_eswitch_block_mode() call the matching\nunblock.","state":0,"publishedAt":"2026-07-25T09:14:47.404+00:00","modifiedAt":"2026-10-19T20:48:37.735+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"22239eb258bc1e6ccdb2d3502fce1cc2b2a88386\",\n                            \"lessThan\": \"b5bd4249e430f5963d559708ee96a671716d2400\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"22239eb258bc1e6ccdb2d3502fce1cc2b2a88386\",\n                            \"lessThan\": \"ecafd8284e527666e83261e6e57a7c7341d591cb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"22239eb258bc1e6ccdb2d3502fce1cc2b2a88386\",\n                            \"lessThan\": \"abe003b33223ff33552f291644bf35d9c2f992fb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"993c4ba71596c30418ba5a0ddcf4f9c2f431466a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"6.17.4\",\n                            \"lessThan\": \"6.18\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.18\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.18\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.34\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0.11\",\n                            \"lessThanOrEqual\": \"7.0.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/b5bd4249e430f5963d559708ee96a671716d2400","https://git.kernel.org/stable/c/ecafd8284e527666e83261e6e57a7c7341d591cb","https://git.kernel.org/stable/c/abe003b33223ff33552f291644bf35d9c2f992fb"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-64522","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-64522","identifiers":["CVE-2026-64522"]},"retained":false,"historicalAffected":[]}],"coverage":[]}