{"id":"CVE-2025-40281","aliases":["CVE-2025-40281"],"related":[],"kind":"vulnerability","state":"published","title":"sctp: prevent possible shift-out-of-bounds in sctp_transport_update_rto","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: prevent possible shift-out-of-bounds in sctp_transport_update_rto\n\nsyzbot reported a possible shift-out-of-bounds [1]\n\nBlamed commit added rto_alpha_max and rto_beta_max set to 1000.\n\nIt is unclear if some sctp users are setting very large rto_alpha\nand/or rto_beta.\n\nIn order to prevent user regression, perform the test at run time.\n\nAlso add READ_ONCE() annotations as sysctl values can change under us.\n\n[1]\n\nUBSAN: shift-out-of-bounds in net/sctp/transport.c:509:41\nshift exponent 64 is too large for 32-bit type 'unsigned int'\nCPU: 0 UID: 0 PID: 16704 Comm: syz.2.2320 Not tainted syzkaller #0 PREEMPT(full)\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025\nCall Trace:\n <TASK>\n  __dump_stack lib/dump_stack.c:94 [inline]\n  dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120\n  ubsan_epilogue lib/ubsan.c:233 [inline]\n  __ubsan_handle_shift_out_of_bounds+0x27f/0x420 lib/ubsan.c:494\n  sctp_transport_update_rto.cold+0x1c/0x34b net/sctp/transport.c:509\n  sctp_check_transmitted+0x11c4/0x1c30 net/sctp/outqueue.c:1502\n  sctp_outq_sack+0x4ef/0x1b20 net/sctp/outqueue.c:1338\n  sctp_cmd_process_sack net/sctp/sm_sideeffect.c:840 [inline]\n  sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1372 [inline]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: prevent possible shift-out-of-bounds in sctp_transport_update_rto\n\nsyzbot reported a possible shift-out-of-bounds [1]\n\nBlamed commit added rto_alpha_max and rto_beta_max set to 1000.\n\nIt is unclear if some sctp users are setting very large rto_alpha\nand/or rto_beta.\n\nIn order to prevent user regression, perform the test at run time.\n\nAlso add READ_ONCE() annotations as sysctl values can change under us.\n\n[1]\n\nUBSAN: shift-out-of-bounds in net/sctp/transport.c:509:41\nshift exponent 64 is too large for 32-bit type 'unsigned int'\nCPU: 0 UID: 0 PID: 16704 Comm: syz.2.2320 Not tainted syzkaller #0 PREEMPT(full)\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025\nCall Trace:\n <TASK>\n  __dump_stack lib/dump_stack.c:94 [inline]\n  dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120\n  ubsan_epilogue lib/ubsan.c:233 [inline]\n  __ubsan_handle_shift_out_of_bounds+0x27f/0x420 lib/ubsan.c:494\n  sctp_transport_update_rto.cold+0x1c/0x34b net/sctp/transport.c:509\n  sctp_check_transmitted+0x11c4/0x1c30 net/sctp/outqueue.c:1502\n  sctp_outq_sack+0x4ef/0x1b20 net/sctp/outqueue.c:1338\n  sctp_cmd_process_sack net/sctp/sm_sideeffect.c:840 [inline]\n  sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1372 [inline]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsctp: evitar un posible desbordamiento de desplazamiento en sctp_transport_update_rto\n\nsyzbot informó de un posible desbordamiento de desplazamiento [1]\n\nEl commit responsable añadió rto_alpha_max y rto_beta_max establecidos en 1000.\n\nNo está claro si algunos usuarios de sctp están configurando valores muy grandes de rto_alpha y/o rto_beta.\n\nPara evitar la regresión del usuario, realizar la prueba en tiempo de ejecución.\n\nTambién añadir anotaciones READ_ONCE() ya que los valores de sysctl pueden cambiar bajo nosotros.\n\n[1]\n\nUBSAN: desbordamiento de desplazamiento en net/sctp/transport.c:509:41\nel exponente de desplazamiento 64 es demasiado grande para el tipo de 32 bits 'unsigned int'\nCPU: 0 UID: 0 PID: 16704 Comm: syz.2.2320 No contaminado syzkaller #0 PREEMPT(full)\nNombre del hardware: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025\nTraza de llamadas:\n <TAREA>\n  __dump_stack lib/dump_stack.c:94 [en línea]\n  dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120\n  ubsan_epilogue lib/ubsan.c:233 [en línea]\n  __ubsan_handle_shift_out_of_bounds+0x27f/0x420 lib/ubsan.c:494\n  sctp_transport_update_rto.cold+0x1c/0x34b net/sctp/transport.c:509\n  sctp_check_transmitted+0x11c4/0x1c30 net/sctp/outqueue.c:1502\n  sctp_outq_sack+0x4ef/0x1b20 net/sctp/outqueue.c:1338\n  sctp_cmd_process_sack net/sctp/sm_sideeffect.c:840 [en línea]\n  sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1372 [en línea]","source":"nvd"}],"published":"2025-12-06T21:51:05.208Z","modified":"2026-10-15T19:10:00.173Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b","fixed":"0e0413e3315199b23ff4aec295e256034cd0a6e4","status":"affected"},{"type":"git","introduced":"b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b","fixed":"834e65be429c0fa4f9bb5945064bd57f18ed2187","status":"affected"},{"type":"git","introduced":"b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b","fixed":"abb086b9a95d0ed3b757ee59964ba3c4e4b2fc1a","status":"affected"},{"type":"git","introduced":"b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b","fixed":"d0d858652834dcf531342c82a0428170aa7c2675","status":"affected"},{"type":"git","introduced":"b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b","fixed":"ed71f801249d2350c77a73dca2c03918a15a62fe","status":"affected"},{"type":"git","introduced":"b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b","fixed":"1cfa4eac275cc4875755c1303d48a4ddfe507ca8","status":"affected"},{"type":"git","introduced":"b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b","fixed":"aaba523dd7b6106526c24b1fd9b5fc35e5aaa88d","status":"affected"},{"type":"git","introduced":"b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b","fixed":"1534ff77757e44bcc4b98d0196bc5c0052fce5fa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"5.4.302","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.247","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.197","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.59","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.9","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0e0413e3315199b23ff4aec295e256034cd0a6e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/834e65be429c0fa4f9bb5945064bd57f18ed2187","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abb086b9a95d0ed3b757ee59964ba3c4e4b2fc1a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d0d858652834dcf531342c82a0428170aa7c2675","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed71f801249d2350c77a73dca2c03918a15a62fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1cfa4eac275cc4875755c1303d48a4ddfe507ca8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aaba523dd7b6106526c24b1fd9b5fc35e5aaa88d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1534ff77757e44bcc4b98d0196bc5c0052fce5fa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-16T19:35:24.390Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40281","url":"https://www.cve.org/CVERecord?id=CVE-2025-40281","licence":"CVE Terms of Use","modified":"2026-06-16T19:35:40.210Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40281","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40281","licence":"Public domain","modified":"2026-10-15T19:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:08.378Z","epss":{"score":0.00231,"percentile":0.14996,"date":"2026-12-01T12:00:22.000Z"}}