{"api_version":"1","generated_at":"2026-12-03T13:40:17+00:00","cve":"CVE-2026-143189","urls":{"html":"https://cve.report/CVE-2026-143189","api":"https://cve.report/api/cve/CVE-2026-143189.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143189","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143189"},"summary":{"title":"net/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX\n\nThe mentioned commit introduced support for upper protocol selectors\n(protocol & ports) to mlx5 IPsec offload. In crypto offload mode this\ncauses offloaded TX SAs to stop matching traffic.\n\nIn tx_add_rule(), setup_fte_upper_proto_match() is called for all\noffload types and programs a match on the upper protocol (TCP/UDP) and\nports. For crypto offload, setup_fte_esp() is then called and sets\nip_protocol to ESP. The resulting rule requires both ESP as the IP\nprotocol and TCP/UDP ports, which no packet can satisfy, so TX crypto\noffload silently stops working for such SAs.\n\nIn crypto offload mode the stack builds the ESP packet and the HW only\nencrypts it, so the SA rule should only match on the SPI. Move the\nsetup_fte_upper_proto_match() call under the XFRM_DEV_OFFLOAD_PACKET\ncase, where the rule matches the plaintext packet and upper protocol\nselectors apply.\n\nThe other three callers are unaffected: rx_add_rule_sa_selector() is\nalready only invoked for packet offload, and tx_add_policy() /\nrx_add_policy() are only reachable in packet offload mode, since xfrm\npolicy offload is exclusively of type XFRM_DEV_OFFLOAD_PACKET.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:55","updated_at":"2026-12-03 10:17:55"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/5ed47bd79cebee8429d06c6640aac7ac7c4805ca","name":"https://git.kernel.org/stable/c/5ed47bd79cebee8429d06c6640aac7ac7c4805ca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4460b0649112b59c320b790eb2d00343c99b29a0","name":"https://git.kernel.org/stable/c/4460b0649112b59c320b790eb2d00343c99b29a0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/27e7ca2d0ab65a9e19e98cc721fe1a0c958b6b8a","name":"https://git.kernel.org/stable/c/27e7ca2d0ab65a9e19e98cc721fe1a0c958b6b8a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1f222a0aced840ff17206c6da6317b3a3f139f2a","name":"https://git.kernel.org/stable/c/1f222a0aced840ff17206c6da6317b3a3f139f2a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143189","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143189","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a7385187a386d0fc4721727e2cbe4a70a9cff6f7 1f222a0aced840ff17206c6da6317b3a3f139f2a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a7385187a386d0fc4721727e2cbe4a70a9cff6f7 27e7ca2d0ab65a9e19e98cc721fe1a0c958b6b8a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a7385187a386d0fc4721727e2cbe4a70a9cff6f7 4460b0649112b59c320b790eb2d00343c99b29a0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a7385187a386d0fc4721727e2cbe4a70a9cff6f7 5ed47bd79cebee8429d06c6640aac7ac7c4805ca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1f222a0aced840ff17206c6da6317b3a3f139f2a","status":"affected","version":"a7385187a386d0fc4721727e2cbe4a70a9cff6f7","versionType":"git"},{"lessThan":"27e7ca2d0ab65a9e19e98cc721fe1a0c958b6b8a","status":"affected","version":"a7385187a386d0fc4721727e2cbe4a70a9cff6f7","versionType":"git"},{"lessThan":"4460b0649112b59c320b790eb2d00343c99b29a0","status":"affected","version":"a7385187a386d0fc4721727e2cbe4a70a9cff6f7","versionType":"git"},{"lessThan":"5ed47bd79cebee8429d06c6640aac7ac7c4805ca","status":"affected","version":"a7385187a386d0fc4721727e2cbe4a70a9cff6f7","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.3"},{"lessThan":"6.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"6.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX\n\nThe mentioned commit introduced support for upper protocol selectors\n(protocol & ports) to mlx5 IPsec offload. In crypto offload mode this\ncauses offloaded TX SAs to stop matching traffic.\n\nIn tx_add_rule(), setup_fte_upper_proto_match() is called for all\noffload types and programs a match on the upper protocol (TCP/UDP) and\nports. For crypto offload, setup_fte_esp() is then called and sets\nip_protocol to ESP. The resulting rule requires both ESP as the IP\nprotocol and TCP/UDP ports, which no packet can satisfy, so TX crypto\noffload silently stops working for such SAs.\n\nIn crypto offload mode the stack builds the ESP packet and the HW only\nencrypts it, so the SA rule should only match on the SPI. Move the\nsetup_fte_upper_proto_match() call under the XFRM_DEV_OFFLOAD_PACKET\ncase, where the rule matches the plaintext packet and upper protocol\nselectors apply.\n\nThe other three callers are unaffected: rx_add_rule_sa_selector() is\nalready only invoked for packet offload, and tx_add_policy() /\nrx_add_policy() are only reachable in packet offload mode, since xfrm\npolicy offload is exclusively of type XFRM_DEV_OFFLOAD_PACKET."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:20:18.610Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1f222a0aced840ff17206c6da6317b3a3f139f2a"},{"url":"https://git.kernel.org/stable/c/27e7ca2d0ab65a9e19e98cc721fe1a0c958b6b8a"},{"url":"https://git.kernel.org/stable/c/4460b0649112b59c320b790eb2d00343c99b29a0"},{"url":"https://git.kernel.org/stable/c/5ed47bd79cebee8429d06c6640aac7ac7c4805ca"}],"title":"net/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143189","datePublished":"2026-12-03T09:20:18.610Z","dateReserved":"2026-12-03T03:10:28.358Z","dateUpdated":"2026-12-03T09:20:18.610Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:55","lastModifiedDate":"2026-12-03 10:17:55","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143189","Ordinal":"1","Title":"net/mlx5e: IPsec, don't match upper proto selectors in crypto of","CVE":"CVE-2026-143189","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143189","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX\n\nThe mentioned commit introduced support for upper protocol selectors\n(protocol & ports) to mlx5 IPsec offload. In crypto offload mode this\ncauses offloaded TX SAs to stop matching traffic.\n\nIn tx_add_rule(), setup_fte_upper_proto_match() is called for all\noffload types and programs a match on the upper protocol (TCP/UDP) and\nports. For crypto offload, setup_fte_esp() is then called and sets\nip_protocol to ESP. The resulting rule requires both ESP as the IP\nprotocol and TCP/UDP ports, which no packet can satisfy, so TX crypto\noffload silently stops working for such SAs.\n\nIn crypto offload mode the stack builds the ESP packet and the HW only\nencrypts it, so the SA rule should only match on the SPI. Move the\nsetup_fte_upper_proto_match() call under the XFRM_DEV_OFFLOAD_PACKET\ncase, where the rule matches the plaintext packet and upper protocol\nselectors apply.\n\nThe other three callers are unaffected: rx_add_rule_sa_selector() is\nalready only invoked for packet offload, and tx_add_policy() /\nrx_add_policy() are only reachable in packet offload mode, since xfrm\npolicy offload is exclusively of type XFRM_DEV_OFFLOAD_PACKET.","Type":"Description","Title":"net/mlx5e: IPsec, don't match upper proto selectors in crypto of"}]}}}