{"id":"CVE-2025-40240","aliases":["CVE-2025-40240"],"related":[],"kind":"vulnerability","state":"published","title":"sctp: avoid NULL dereference when chunk data buffer is missing","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: avoid NULL dereference when chunk data buffer is missing\n\nchunk->skb pointer is dereferenced in the if-block where it's supposed\nto be NULL only.\n\nchunk->skb can only be NULL if chunk->head_skb is not. Check for frag_list\ninstead and do it just before replacing chunk->skb. We're sure that\notherwise chunk->skb is non-NULL because of outer if() condition.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: avoid NULL dereference when chunk data buffer is missing\n\nchunk->skb pointer is dereferenced in the if-block where it's supposed\nto be NULL only.\n\nchunk->skb can only be NULL if chunk->head_skb is not. Check for frag_list\ninstead and do it just before replacing chunk->skb. We're sure that\notherwise chunk->skb is non-NULL because of outer if() condition.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsctp: evitar la desreferenciación NULL cuando falta el búfer de datos del chunk\n\nEl puntero chunk -> skb es desreferenciado en el bloque if donde se supone que solo debe ser NULL.\n\nchunk -> skb solo puede ser NULL si chunk -> head_skb no lo es. Comprobar frag_list en su lugar y hacerlo justo antes de reemplazar chunk -> skb. Estamos seguros de que de lo contrario chunk -> skb no es NULL debido a la condición if() externa.","source":"nvd"}],"published":"2025-12-04T15:31:29.715Z","modified":"2026-10-19T19:10:00.130Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb","fixed":"61cda2777b07d27459f5cac5a047c3edf9c8a1a9","status":"affected"},{"type":"git","introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb","fixed":"08165c296597075763130919f2aae59b5822f016","status":"affected"},{"type":"git","introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb","fixed":"03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f","status":"affected"},{"type":"git","introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb","fixed":"4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71","status":"affected"},{"type":"git","introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb","fixed":"cb9055ba30306ede4ad920002233d0659982f1cb","status":"affected"},{"type":"git","introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb","fixed":"7a832b0f99be19df608cb75c023f8027b1789bd1","status":"affected"},{"type":"git","introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb","fixed":"89b465b54227c245ddc7cc9ed822231af21123ef","status":"affected"},{"type":"git","introduced":"90017accff61ae89283ad9a51f9ac46ca01633fb","fixed":"441f0647f7673e0e64d4910ef61a5fb8f16bfb82","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.4.301","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.246","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.196","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.158","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.115","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.56","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.6","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/61cda2777b07d27459f5cac5a047c3edf9c8a1a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08165c296597075763130919f2aae59b5822f016","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cb9055ba30306ede4ad920002233d0659982f1cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a832b0f99be19df608cb75c023f8027b1789bd1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89b465b54227c245ddc7cc9ed822231af21123ef","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/441f0647f7673e0e64d4910ef61a5fb8f16bfb82","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-16T19:41:12.884Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40240","url":"https://www.cve.org/CVERecord?id=CVE-2025-40240","licence":"CVE Terms of Use","modified":"2026-08-05T12:08:44.117Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40240","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40240","licence":"Public domain","modified":"2026-10-19T19:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:08.269Z","epss":{"score":0.0095,"percentile":0.59864,"date":"2026-11-30T12:00:22.000Z"}}