{
  "id": "CVE-2025-38184",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38184",
  "published_at": "2025-07-04T13:37:11.226Z",
  "title": "tipc: fix null-ptr-deref when acquiring remote ip of ethernet bearer",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/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\ntipc: fix null-ptr-deref when acquiring remote ip of ethernet bearer\n\nThe reproduction steps:\n1. create a tun interface\n2. enable l2 bearer\n3. TIPC_NL_UDP_GET_REMOTEIP with media name set to tun\n\ntipc: Started in network mode\ntipc: Node identity 8af312d38a21, cluster identity 4711\ntipc: Enabled bearer \u003ceth:syz_tun\u003e, priority 1\nOops: general protection fault\nKASAN: null-ptr-deref in range\nCPU: 1 UID: 1000 PID: 559 Comm: poc Not tainted 6.16.0-rc1+ #117 PREEMPT\nHardware name: QEMU Ubuntu 24.04 PC\nRIP: 0010:tipc_udp_nl_dump_remoteip+0x4a4/0x8f0\n\nthe ub was in fact a struct dev.\n\nwhen bid != 0 \u0026\u0026 skip_cnt != 0, bearer_list[bid] may be NULL or\nother media when other thread changes it.\n\nfix this by checking media_id.",
  "cwe": "CWE-476",
  "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:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 832629ca5c313e122b22b8e73a6d80f111b1a1ae, \u003c 3998283e4c32c0fe69edd59b0876c193f50abce6",
          "\u003e= 832629ca5c313e122b22b8e73a6d80f111b1a1ae, \u003c c2e17984752b9131061d1a2ca1199da2706337fd",
          "\u003e= 832629ca5c313e122b22b8e73a6d80f111b1a1ae, \u003c 8595350615f952fcf8bc861464a6bf6b1129af50",
          "\u003e= 832629ca5c313e122b22b8e73a6d80f111b1a1ae, \u003c 05d332ba075753d569d66333d62d60fff5f57ad8",
          "\u003e= 832629ca5c313e122b22b8e73a6d80f111b1a1ae, \u003c d3dfe821dfe091c0045044343c8d86596d66e2cf",
          "\u003e= 832629ca5c313e122b22b8e73a6d80f111b1a1ae, \u003c 0d3d91c3500f0c480e016faa4e2259c588616e59",
          "\u003e= 832629ca5c313e122b22b8e73a6d80f111b1a1ae, \u003c 0f4a72fb266e48dbe928e1d936eab149e4ac3e1b",
          "\u003e= 832629ca5c313e122b22b8e73a6d80f111b1a1ae, \u003c f82727adcf2992822e12198792af450a76ebd5ef"
        ],
        "fixed_in": [
          "3998283e4c32c0fe69edd59b0876c193f50abce6",
          "c2e17984752b9131061d1a2ca1199da2706337fd",
          "8595350615f952fcf8bc861464a6bf6b1129af50",
          "05d332ba075753d569d66333d62d60fff5f57ad8",
          "d3dfe821dfe091c0045044343c8d86596d66e2cf",
          "0d3d91c3500f0c480e016faa4e2259c588616e59",
          "0f4a72fb266e48dbe928e1d936eab149e4ac3e1b",
          "f82727adcf2992822e12198792af450a76ebd5ef"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.9"
        ],
        "fixed_in": [
          "0",
          "5.4.295",
          "5.10.239",
          "5.15.186",
          "6.1.142",
          "6.6.95",
          "6.12.35",
          "6.15.4",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3998283e4c32c0fe69edd59b0876c193f50abce6 or c2e17984752b9131061d1a2ca1199da2706337fd or 8595350615f952fcf8bc861464a6bf6b1129af50 or 05d332ba075753d569d66333d62d60fff5f57ad8 or d3dfe821dfe091c0045044343c8d86596d66e2cf or 0d3d91c3500f0c480e016faa4e2259c588616e59 or 0f4a72fb266e48dbe928e1d936eab149e4ac3e1b or f82727adcf2992822e12198792af450a76ebd5ef or later.",
      "Upgrade Linux to 0 or 5.4.295 or 5.10.239 or 5.15.186 or 6.1.142 or 6.6.95 or 6.12.35 or 6.15.4 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
