{
  "id": "CVE-2025-22062",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22062",
  "published_at": "2025-04-16T14:12:17.605Z",
  "title": "sctp: add mutual exclusion in proc_sctp_do_udp_port()",
  "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\nsctp: add mutual exclusion in proc_sctp_do_udp_port()\n\nWe must serialize calls to sctp_udp_sock_stop() and sctp_udp_sock_start()\nor risk a crash as syzbot reported:\n\nOops: general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] SMP KASAN PTI\nKASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f]\nCPU: 1 UID: 0 PID: 6551 Comm: syz.1.44 Not tainted 6.14.0-syzkaller-g7f2ff7b62617 #0 PREEMPT(full)\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025\n RIP: 0010:kernel_sock_shutdown+0x47/0x70 net/socket.c:3653\nCall Trace:\n \u003cTASK\u003e\n  udp_tunnel_sock_release+0x68/0x80 net/ipv4/udp_tunnel_core.c:181\n  sctp_udp_sock_stop+0x71/0x160 net/sctp/protocol.c:930\n  proc_sctp_do_udp_port+0x264/0x450 net/sctp/sysctl.c:553\n  proc_sys_call_handler+0x3d0/0x5b0 fs/proc/proc_sysctl.c:601\n  iter_file_splice_write+0x91c/0x1150 fs/splice.c:738\n  do_splice_from fs/splice.c:935 [inline]\n  direct_splice_actor+0x18f/0x6c0 fs/splice.c:1158\n  splice_direct_to_actor+0x342/0xa30 fs/splice.c:1102\n  do_splice_direct_actor fs/splice.c:1201 [inline]\n  do_splice_direct+0x174/0x240 fs/splice.c:1227\n  do_sendfile+0xafd/0xe50 fs/read_write.c:1368\n  __do_sys_sendfile64 fs/read_write.c:1429 [inline]\n  __se_sys_sendfile64 fs/read_write.c:1415 [inline]\n  __x64_sys_sendfile64+0x1d8/0x220 fs/read_write.c:1415\n  do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 046c052b475e7119b6a30e3483e2888fc606a2f8, \u003c 65ccb2793da7401772a3ffe85355c831b313c59f",
          "\u003e= 046c052b475e7119b6a30e3483e2888fc606a2f8, \u003c 386507cb6fb7cdef598ddcb3f0fa37e6ca9e789d",
          "\u003e= 046c052b475e7119b6a30e3483e2888fc606a2f8, \u003c b3598f53211ba1025485306de2733bdd241311a3",
          "\u003e= 046c052b475e7119b6a30e3483e2888fc606a2f8, \u003c e5178bfc55b3a78000f0f8298e7ade88783ce581",
          "\u003e= 046c052b475e7119b6a30e3483e2888fc606a2f8, \u003c efb8cb487be8f4ba6aaef616011d702d6a083ed1",
          "\u003e= 046c052b475e7119b6a30e3483e2888fc606a2f8, \u003c d3d7675d77622f6ca1aae14c51f80027b36283f8",
          "\u003e= 046c052b475e7119b6a30e3483e2888fc606a2f8, \u003c 10206302af856791fbcc27a33ed3c3eb09b2793d"
        ],
        "fixed_in": [
          "65ccb2793da7401772a3ffe85355c831b313c59f",
          "386507cb6fb7cdef598ddcb3f0fa37e6ca9e789d",
          "b3598f53211ba1025485306de2733bdd241311a3",
          "e5178bfc55b3a78000f0f8298e7ade88783ce581",
          "efb8cb487be8f4ba6aaef616011d702d6a083ed1",
          "d3d7675d77622f6ca1aae14c51f80027b36283f8",
          "10206302af856791fbcc27a33ed3c3eb09b2793d"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.11"
        ],
        "fixed_in": [
          "0",
          "5.15.184",
          "6.1.140",
          "6.6.92",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 65ccb2793da7401772a3ffe85355c831b313c59f or 386507cb6fb7cdef598ddcb3f0fa37e6ca9e789d or b3598f53211ba1025485306de2733bdd241311a3 or e5178bfc55b3a78000f0f8298e7ade88783ce581 or efb8cb487be8f4ba6aaef616011d702d6a083ed1 or d3d7675d77622f6ca1aae14c51f80027b36283f8 or 10206302af856791fbcc27a33ed3c3eb09b2793d or later.",
      "Upgrade Linux to 0 or 5.15.184 or 6.1.140 or 6.6.92 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
