{"api_version":"1","generated_at":"2026-11-30T17:03:51+00:00","cve":"CVE-2026-139207","urls":{"html":"https://cve.report/CVE-2026-139207","api":"https://cve.report/api/cve/CVE-2026-139207.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139207","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139207"},"summary":{"title":"net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys\n\nmlx5e_ipsec_netevent_event() keeps the L2 headers of offloaded tunnel\nmode SAs up to date: on every neighbour change it looks for SAs whose\nendpoint matches the neighbour's address. The compare width, 4 bytes for\nIPv4 or 16 for IPv6, is chosen from the SA's address family, with no\ncheck that the neighbour is of the same family.\n\nAn ARP entry only stores a 4-byte key, so with an IPv6 tunnel mode SA\noffloaded, any IPv4 neighbour update in the system is compared as if it\nwere a 16-byte IPv6 address, reading past the end of the object:\n\n  BUG: KASAN: slab-out-of-bounds in mlx5e_ipsec_netevent_event+0x736/0x8d0 [mlx5_core]\n  Read of size 4 at addr ff110001260a4ad8 by task swapper/8/0\n  Call Trace:\n   <IRQ>\n   mlx5e_ipsec_netevent_event+0x736/0x8d0 [mlx5_core]\n   notifier_call_chain+0x97/0x2b0\n   atomic_notifier_call_chain+0x5d/0x130\n   neigh_timer_handler+0x35c/0x1140\n   call_timer_fn+0x164/0x490\n   __run_timers+0x5b9/0x960\n   run_timer_softirq+0xf0/0x1d0\n   handle_softirqs+0x189/0x8a0\n   __irq_exit_rcu+0x10d/0x250\n   ...\n\n  Allocated by task 1015:\n   __kmalloc_noprof+0x2e6/0x8b0\n   ___neigh_create+0xcc9/0x24c0\n   ip_finish_output2+0xfc7/0x1e80\n   ip_output+0x172/0x3b0\n   ip_send_skb+0xa5/0x1b0\n   udp_send_skb+0x852/0x10f0\n   udp_sendmsg+0x1333/0x2150\n   ...\n\nThe opposite mix (IPv4 SA with IPv6 neighbour) stays in bounds, but only\nthe first 32 bits of the IPv6 address are compared, so an unrelated\nneighbour can match.\n\nSkip neighbours whose address family doesn't match the SA.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:40","updated_at":"2026-11-30 14:18:40"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8048922f22665406ed9279dd5cc38ead9c30e48b","name":"https://git.kernel.org/stable/c/8048922f22665406ed9279dd5cc38ead9c30e48b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/aeb02b5806d30a66d081271b41176c4f0d654540","name":"https://git.kernel.org/stable/c/aeb02b5806d30a66d081271b41176c4f0d654540","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/86d331636b6bf543ad9cdf4953f49101d5b73f8b","name":"https://git.kernel.org/stable/c/86d331636b6bf543ad9cdf4953f49101d5b73f8b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/520631554a689d2cd52452578f3140f045730ee0","name":"https://git.kernel.org/stable/c/520631554a689d2cd52452578f3140f045730ee0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139207","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139207","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c24272b4e2befca6ad1409c3c9aaa16c24b1099 86d331636b6bf543ad9cdf4953f49101d5b73f8b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c24272b4e2befca6ad1409c3c9aaa16c24b1099 8048922f22665406ed9279dd5cc38ead9c30e48b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c24272b4e2befca6ad1409c3c9aaa16c24b1099 aeb02b5806d30a66d081271b41176c4f0d654540 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4c24272b4e2befca6ad1409c3c9aaa16c24b1099 520631554a689d2cd52452578f3140f045730ee0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * 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.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"86d331636b6bf543ad9cdf4953f49101d5b73f8b","status":"affected","version":"4c24272b4e2befca6ad1409c3c9aaa16c24b1099","versionType":"git"},{"lessThan":"8048922f22665406ed9279dd5cc38ead9c30e48b","status":"affected","version":"4c24272b4e2befca6ad1409c3c9aaa16c24b1099","versionType":"git"},{"lessThan":"aeb02b5806d30a66d081271b41176c4f0d654540","status":"affected","version":"4c24272b4e2befca6ad1409c3c9aaa16c24b1099","versionType":"git"},{"lessThan":"520631554a689d2cd52452578f3140f045730ee0","status":"affected","version":"4c24272b4e2befca6ad1409c3c9aaa16c24b1099","versionType":"git"}]},{"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.4"},{"lessThan":"6.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys\n\nmlx5e_ipsec_netevent_event() keeps the L2 headers of offloaded tunnel\nmode SAs up to date: on every neighbour change it looks for SAs whose\nendpoint matches the neighbour's address. The compare width, 4 bytes for\nIPv4 or 16 for IPv6, is chosen from the SA's address family, with no\ncheck that the neighbour is of the same family.\n\nAn ARP entry only stores a 4-byte key, so with an IPv6 tunnel mode SA\noffloaded, any IPv4 neighbour update in the system is compared as if it\nwere a 16-byte IPv6 address, reading past the end of the object:\n\n  BUG: KASAN: slab-out-of-bounds in mlx5e_ipsec_netevent_event+0x736/0x8d0 [mlx5_core]\n  Read of size 4 at addr ff110001260a4ad8 by task swapper/8/0\n  Call Trace:\n   <IRQ>\n   mlx5e_ipsec_netevent_event+0x736/0x8d0 [mlx5_core]\n   notifier_call_chain+0x97/0x2b0\n   atomic_notifier_call_chain+0x5d/0x130\n   neigh_timer_handler+0x35c/0x1140\n   call_timer_fn+0x164/0x490\n   __run_timers+0x5b9/0x960\n   run_timer_softirq+0xf0/0x1d0\n   handle_softirqs+0x189/0x8a0\n   __irq_exit_rcu+0x10d/0x250\n   ...\n\n  Allocated by task 1015:\n   __kmalloc_noprof+0x2e6/0x8b0\n   ___neigh_create+0xcc9/0x24c0\n   ip_finish_output2+0xfc7/0x1e80\n   ip_output+0x172/0x3b0\n   ip_send_skb+0xa5/0x1b0\n   udp_send_skb+0x852/0x10f0\n   udp_sendmsg+0x1333/0x2150\n   ...\n\nThe opposite mix (IPv4 SA with IPv6 neighbour) stays in bounds, but only\nthe first 32 bits of the IPv6 address are compared, so an unrelated\nneighbour can match.\n\nSkip neighbours whose address family doesn't match the SA."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:34.217Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/86d331636b6bf543ad9cdf4953f49101d5b73f8b"},{"url":"https://git.kernel.org/stable/c/8048922f22665406ed9279dd5cc38ead9c30e48b"},{"url":"https://git.kernel.org/stable/c/aeb02b5806d30a66d081271b41176c4f0d654540"},{"url":"https://git.kernel.org/stable/c/520631554a689d2cd52452578f3140f045730ee0"}],"title":"net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139207","datePublished":"2026-11-30T13:32:34.217Z","dateReserved":"2026-11-30T13:22:15.920Z","dateUpdated":"2026-11-30T13:32:34.217Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:40","lastModifiedDate":"2026-11-30 14:18:40","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139207","Ordinal":"1","Title":"net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys","CVE":"CVE-2026-139207","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139207","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys\n\nmlx5e_ipsec_netevent_event() keeps the L2 headers of offloaded tunnel\nmode SAs up to date: on every neighbour change it looks for SAs whose\nendpoint matches the neighbour's address. The compare width, 4 bytes for\nIPv4 or 16 for IPv6, is chosen from the SA's address family, with no\ncheck that the neighbour is of the same family.\n\nAn ARP entry only stores a 4-byte key, so with an IPv6 tunnel mode SA\noffloaded, any IPv4 neighbour update in the system is compared as if it\nwere a 16-byte IPv6 address, reading past the end of the object:\n\n  BUG: KASAN: slab-out-of-bounds in mlx5e_ipsec_netevent_event+0x736/0x8d0 [mlx5_core]\n  Read of size 4 at addr ff110001260a4ad8 by task swapper/8/0\n  Call Trace:\n   <IRQ>\n   mlx5e_ipsec_netevent_event+0x736/0x8d0 [mlx5_core]\n   notifier_call_chain+0x97/0x2b0\n   atomic_notifier_call_chain+0x5d/0x130\n   neigh_timer_handler+0x35c/0x1140\n   call_timer_fn+0x164/0x490\n   __run_timers+0x5b9/0x960\n   run_timer_softirq+0xf0/0x1d0\n   handle_softirqs+0x189/0x8a0\n   __irq_exit_rcu+0x10d/0x250\n   ...\n\n  Allocated by task 1015:\n   __kmalloc_noprof+0x2e6/0x8b0\n   ___neigh_create+0xcc9/0x24c0\n   ip_finish_output2+0xfc7/0x1e80\n   ip_output+0x172/0x3b0\n   ip_send_skb+0xa5/0x1b0\n   udp_send_skb+0x852/0x10f0\n   udp_sendmsg+0x1333/0x2150\n   ...\n\nThe opposite mix (IPv4 SA with IPv6 neighbour) stays in bounds, but only\nthe first 32 bits of the IPv6 address are compared, so an unrelated\nneighbour can match.\n\nSkip neighbours whose address family doesn't match the SA.","Type":"Description","Title":"net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys"}]}}}