{"api_version":"1","generated_at":"2026-07-26T19:29:33+00:00","cve":"CVE-2026-64522","urls":{"html":"https://cve.report/CVE-2026-64522","api":"https://cve.report/api/cve/CVE-2026-64522.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64522","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64522"},"summary":{"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":"PUBLISHED","assigner":"Linux","published_at":"2026-07-25 10:17:38","updated_at":"2026-07-25 10:17:38"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ecafd8284e527666e83261e6e57a7c7341d591cb","name":"https://git.kernel.org/stable/c/ecafd8284e527666e83261e6e57a7c7341d591cb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/abe003b33223ff33552f291644bf35d9c2f992fb","name":"https://git.kernel.org/stable/c/abe003b33223ff33552f291644bf35d9c2f992fb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b5bd4249e430f5963d559708ee96a671716d2400","name":"https://git.kernel.org/stable/c/b5bd4249e430f5963d559708ee96a671716d2400","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64522","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64522","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386 b5bd4249e430f5963d559708ee96a671716d2400 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386 ecafd8284e527666e83261e6e57a7c7341d591cb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386 abe003b33223ff33552f291644bf35d9c2f992fb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 993c4ba71596c30418ba5a0ddcf4f9c2f431466a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17.4 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.34 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.11 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"64522","cve":"CVE-2026-64522","epss":"0.002060000","percentile":"0.108620000","score_date":"2026-07-25","updated_at":"2026-07-26 00:12:33"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b5bd4249e430f5963d559708ee96a671716d2400","status":"affected","version":"22239eb258bc1e6ccdb2d3502fce1cc2b2a88386","versionType":"git"},{"lessThan":"ecafd8284e527666e83261e6e57a7c7341d591cb","status":"affected","version":"22239eb258bc1e6ccdb2d3502fce1cc2b2a88386","versionType":"git"},{"lessThan":"abe003b33223ff33552f291644bf35d9c2f992fb","status":"affected","version":"22239eb258bc1e6ccdb2d3502fce1cc2b2a88386","versionType":"git"},{"status":"affected","version":"993c4ba71596c30418ba5a0ddcf4f9c2f431466a","versionType":"git"},{"lessThan":"6.18","status":"affected","version":"6.17.4","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.18"},{"lessThan":"6.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.34","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.34","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.11","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-07-25T09:14:47.404Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b5bd4249e430f5963d559708ee96a671716d2400"},{"url":"https://git.kernel.org/stable/c/ecafd8284e527666e83261e6e57a7c7341d591cb"},{"url":"https://git.kernel.org/stable/c/abe003b33223ff33552f291644bf35d9c2f992fb"}],"title":"net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64522","datePublished":"2026-07-25T09:14:47.404Z","dateReserved":"2026-07-19T15:36:31.794Z","dateUpdated":"2026-07-25T09:14:47.404Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-25 10:17:38","lastModifiedDate":"2026-07-25 10:17:38","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64522","Ordinal":"1","Title":"net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA","CVE":"CVE-2026-64522","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64522","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA"}]}}}