{"id":"CVE-2025-38718","summary":"sctp: linearize cloned gso packets in sctp_rcv","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: linearize cloned gso packets in sctp_rcv\n\nA cloned head skb still shares these frag skbs in fraglist with the\noriginal head skb. It's not safe to access these frag skbs.\n\nsyzbot reported two use-of-uninitialized-memory bugs caused by this:\n\n  BUG: KMSAN: uninit-value in sctp_inq_pop+0x15b7/0x1920 net/sctp/inqueue.c:211\n   sctp_inq_pop+0x15b7/0x1920 net/sctp/inqueue.c:211\n   sctp_assoc_bh_rcv+0x1a7/0xc50 net/sctp/associola.c:998\n   sctp_inq_push+0x2ef/0x380 net/sctp/inqueue.c:88\n   sctp_backlog_rcv+0x397/0xdb0 net/sctp/input.c:331\n   sk_backlog_rcv+0x13b/0x420 include/net/sock.h:1122\n   __release_sock+0x1da/0x330 net/core/sock.c:3106\n   release_sock+0x6b/0x250 net/core/sock.c:3660\n   sctp_wait_for_connect+0x487/0x820 net/sctp/socket.c:9360\n   sctp_sendmsg_to_asoc+0x1ec1/0x1f00 net/sctp/socket.c:1885\n   sctp_sendmsg+0x32b9/0x4a80 net/sctp/socket.c:2031\n   inet_sendmsg+0x25a/0x280 net/ipv4/af_inet.c:851\n   sock_sendmsg_nosec net/socket.c:718 [inline]\n\nand\n\n  BUG: KMSAN: uninit-value in sctp_assoc_bh_rcv+0x34e/0xbc0 net/sctp/associola.c:987\n   sctp_assoc_bh_rcv+0x34e/0xbc0 net/sctp/associola.c:987\n   sctp_inq_push+0x2a3/0x350 net/sctp/inqueue.c:88\n   sctp_backlog_rcv+0x3c7/0xda0 net/sctp/input.c:331\n   sk_backlog_rcv+0x142/0x420 include/net/sock.h:1148\n   __release_sock+0x1d3/0x330 net/core/sock.c:3213\n   release_sock+0x6b/0x270 net/core/sock.c:3767\n   sctp_wait_for_connect+0x458/0x820 net/sctp/socket.c:9367\n   sctp_sendmsg_to_asoc+0x223a/0x2260 net/sctp/socket.c:1886\n   sctp_sendmsg+0x3910/0x49f0 net/sctp/socket.c:2032\n   inet_sendmsg+0x269/0x2a0 net/ipv4/af_inet.c:851\n   sock_sendmsg_nosec net/socket.c:712 [inline]\n\nThis patch fixes it by linearizing cloned gso packets in sctp_rcv().","modified":"2026-03-20T12:42:59.790043Z","published":"2025-09-04T15:33:12.448Z","related":["ALSA-2025:16880","ALSA-2025:16919","ALSA-2025:16920","ALSA-2025:17396","MGASA-2025-0234","MGASA-2025-0235","SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:21080-1","SUSE-SU-2025:21147-1","SUSE-SU-2025:21180-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4189-1","SUSE-SU-2025:4301-1","openSUSE-SU-2025:20091-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38718.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03d0cc6889e02420125510b5444b570f4bbf53d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1bd5214ea681584c5886fea3ba03e49f93a43c0e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4506bcaabe004d07be8ff09116a3024fbd6aa965"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d757f17bc2ef2727994ffa6d5d6e4bc4789a770"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd0e92bb2b7542fb96397ffac639b4f5b099d0cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0194e391bb493aa6cec56d177b14df6b29188d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea094f38d387d1b0ded5dee4a3e5720aa4ce0139"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc66772607101bd2030a4332b3bd0ea3b3605250"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd60d8a086191fe33c2d719732d2482052fa6805"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38718.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38718"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb"},{"fixed":"d0194e391bb493aa6cec56d177b14df6b29188d5"},{"fixed":"03d0cc6889e02420125510b5444b570f4bbf53d5"},{"fixed":"cd0e92bb2b7542fb96397ffac639b4f5b099d0cb"},{"fixed":"4506bcaabe004d07be8ff09116a3024fbd6aa965"},{"fixed":"ea094f38d387d1b0ded5dee4a3e5720aa4ce0139"},{"fixed":"7d757f17bc2ef2727994ffa6d5d6e4bc4789a770"},{"fixed":"fc66772607101bd2030a4332b3bd0ea3b3605250"},{"fixed":"1bd5214ea681584c5886fea3ba03e49f93a43c0e"},{"fixed":"fd60d8a086191fe33c2d719732d2482052fa6805"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38718.json"}}],"schema_version":"1.7.5"}