{"id":"CVE-2025-40187","summary":"net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()\n\nIf new_asoc-\u003epeer.adaptation_ind=0 and sctp_ulpevent_make_authkey=0\nand sctp_ulpevent_make_authkey() returns 0, then the variable\nai_ev remains zero and the zero will be dereferenced\nin the sctp_ulpevent_free() function.","modified":"2026-04-02T12:48:18.801292Z","published":"2025-11-12T21:56:29.504Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:20012-1","SUSE-SU-2026:20015-1","SUSE-SU-2026:20021-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2025:20172-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40187.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/025419f4e216a3ae0d0cec622262e98e8078c447"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1014b83778c8677f1d7a57c26dc728baa801ac62"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f3119686ef50319490ccaec81a575973da98815"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f702f85df0266ed7b5bab81ba50394c92f3c928"},{"type":"WEB","url":"https://git.kernel.org/stable/c/badbd79313e6591616c1b78e29a9b71efed7f035"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c21f45cfa4a9526b34d76b397c9ef080668b6e73"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0e8f1445c19b1786759ba72a38267e1449bab7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dbceedc0213e75bf3e9f9f9e2f66b10699d004fe"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40187.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40187"},{"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":"30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b"},{"fixed":"1014b83778c8677f1d7a57c26dc728baa801ac62"},{"fixed":"7f702f85df0266ed7b5bab81ba50394c92f3c928"},{"fixed":"dbceedc0213e75bf3e9f9f9e2f66b10699d004fe"},{"fixed":"025419f4e216a3ae0d0cec622262e98e8078c447"},{"fixed":"c21f45cfa4a9526b34d76b397c9ef080668b6e73"},{"fixed":"d0e8f1445c19b1786759ba72a38267e1449bab7e"},{"fixed":"badbd79313e6591616c1b78e29a9b71efed7f035"},{"fixed":"2f3119686ef50319490ccaec81a575973da98815"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40187.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.17.0"},{"fixed":"5.4.301"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.246"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.195"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40187.json"}}],"schema_version":"1.7.5"}