{
  "id": "CVE-2025-38439",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38439",
  "published_at": "2025-07-25T15:27:18.64Z",
  "title": "bnxt_en: Set DMA unmap len correctly for XDP_REDIRECT",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt_en: Set DMA unmap len correctly for XDP_REDIRECT\n\nWhen transmitting an XDP_REDIRECT packet, call dma_unmap_len_set()\nwith the proper length instead of 0.  This bug triggers this warning\non a system with IOMMU enabled:\n\nWARNING: CPU: 36 PID: 0 at drivers/iommu/dma-iommu.c:842 __iommu_dma_unmap+0x159/0x170\nRIP: 0010:__iommu_dma_unmap+0x159/0x170\nCode: a8 00 00 00 00 48 c7 45 b0 00 00 00 00 48 c7 45 c8 00 00 00 00 48 c7 45 a0 ff ff ff ff 4c 89 45\nb8 4c 89 45 c0 e9 77 ff ff ff \u003c0f\u003e 0b e9 60 ff ff ff e8 8b bf 6a 00 66 66 2e 0f 1f 84 00 00 00 00\nRSP: 0018:ff22d31181150c88 EFLAGS: 00010206\nRAX: 0000000000002000 RBX: 00000000e13a0000 RCX: 0000000000000000\nRDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000\nRBP: ff22d31181150cf0 R08: ff22d31181150ca8 R09: 0000000000000000\nR10: 0000000000000000 R11: ff22d311d36c9d80 R12: 0000000000001000\nR13: ff13544d10645010 R14: ff22d31181150c90 R15: ff13544d0b2bac00\nFS: 0000000000000000(0000) GS:ff13550908a00000(0000) knlGS:0000000000000000\nCS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 00005be909dacff8 CR3: 0008000173408003 CR4: 0000000000f71ef0\nPKRU: 55555554\nCall Trace:\n\u003cIRQ\u003e\n? show_regs+0x6d/0x80\n? __warn+0x89/0x160\n? __iommu_dma_unmap+0x159/0x170\n? report_bug+0x17e/0x1b0\n? handle_bug+0x46/0x90\n? exc_invalid_op+0x18/0x80\n? asm_exc_invalid_op+0x1b/0x20\n? __iommu_dma_unmap+0x159/0x170\n? __iommu_dma_unmap+0xb3/0x170\niommu_dma_unmap_page+0x4f/0x100\ndma_unmap_page_attrs+0x52/0x220\n? srso_alias_return_thunk+0x5/0xfbef5\n? xdp_return_frame+0x2e/0xd0\nbnxt_tx_int_xdp+0xdf/0x440 [bnxt_en]\n__bnxt_poll_work_done+0x81/0x1e0 [bnxt_en]\nbnxt_poll+0xd3/0x1e0 [bnxt_en]",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \u003c e260f4d49370c85a4701d43c6d16b8c39f8b605f",
          "\u003e= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \u003c 16ae306602163fcb7ae83f2701b542e43c100cee",
          "\u003e= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \u003c 8d672a1a6bfc81fef9151925c9c0481f4acf4bec",
          "\u003e= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \u003c f9eaf6d036075dc820520e1194692c0619b7297b",
          "\u003e= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \u003c 5909679a82cd74cf0343d9e3ddf4b6931aa7e613",
          "\u003e= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \u003c f154e41e1d9d15ab21300ba7bbf0ebb5cb3b9c2a",
          "\u003e= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \u003c 50dad9909715094e7d9ca25e9e0412b875987519",
          "\u003e= f18c2b77b2e4eec2313d519ba125bd6a069513cf, \u003c 3cdf199d4755d477972ee87110b2aebc88b3cfad"
        ],
        "fixed_in": [
          "e260f4d49370c85a4701d43c6d16b8c39f8b605f",
          "16ae306602163fcb7ae83f2701b542e43c100cee",
          "8d672a1a6bfc81fef9151925c9c0481f4acf4bec",
          "f9eaf6d036075dc820520e1194692c0619b7297b",
          "5909679a82cd74cf0343d9e3ddf4b6931aa7e613",
          "f154e41e1d9d15ab21300ba7bbf0ebb5cb3b9c2a",
          "50dad9909715094e7d9ca25e9e0412b875987519",
          "3cdf199d4755d477972ee87110b2aebc88b3cfad"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.3"
        ],
        "fixed_in": [
          "0",
          "5.4.296",
          "5.10.240",
          "5.15.189",
          "6.1.146",
          "6.6.99",
          "6.12.39",
          "6.15.7",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e260f4d49370c85a4701d43c6d16b8c39f8b605f or 16ae306602163fcb7ae83f2701b542e43c100cee or 8d672a1a6bfc81fef9151925c9c0481f4acf4bec or f9eaf6d036075dc820520e1194692c0619b7297b or 5909679a82cd74cf0343d9e3ddf4b6931aa7e613 or f154e41e1d9d15ab21300ba7bbf0ebb5cb3b9c2a or 50dad9909715094e7d9ca25e9e0412b875987519 or 3cdf199d4755d477972ee87110b2aebc88b3cfad or later.",
      "Upgrade Linux to 0 or 5.4.296 or 5.10.240 or 5.15.189 or 6.1.146 or 6.6.99 or 6.12.39 or 6.15.7 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
