# CVE-2025-40187: net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-11-12T21:56:29.504Z
- Modified: 2026-10-19T21:10:00.160Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()

If new_asoc->peer.adaptation_ind=0 and sctp_ulpevent_make_authkey=0
and sctp_ulpevent_make_authkey() returns 0, then the variable
ai_ev remains zero and the zero will be dereferenced
in the sctp_ulpevent_free() function.

(As written by CVE List.)

## Affected

- Linux Linux: from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b before 1014b83778c8677f1d7a57c26dc728baa801ac62; from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b before 7f702f85df0266ed7b5bab81ba50394c92f3c928; from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b before dbceedc0213e75bf3e9f9f9e2f66b10699d004fe; from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b before 025419f4e216a3ae0d0cec622262e98e8078c447; from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b before c21f45cfa4a9526b34d76b397c9ef080668b6e73; from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b before d0e8f1445c19b1786759ba72a38267e1449bab7e; from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b before badbd79313e6591616c1b78e29a9b71efed7f035; from 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b before 2f3119686ef50319490ccaec81a575973da98815; 4.17 (not affected: before 4.17; from 5.4.301 up to 5.4.*; from 5.10.246 up to 5.10.*; from 5.15.195 up to 5.15.*; from 6.1.157 up to 6.1.*; from 6.6.113 up to 6.6.*; from 6.12.54 up to 6.12.*; from 6.17.4 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/1014b83778c8677f1d7a57c26dc728baa801ac62>
- <https://git.kernel.org/stable/c/7f702f85df0266ed7b5bab81ba50394c92f3c928>
- <https://git.kernel.org/stable/c/dbceedc0213e75bf3e9f9f9e2f66b10699d004fe>
- <https://git.kernel.org/stable/c/025419f4e216a3ae0d0cec622262e98e8078c447>
- <https://git.kernel.org/stable/c/c21f45cfa4a9526b34d76b397c9ef080668b6e73>
- <https://git.kernel.org/stable/c/d0e8f1445c19b1786759ba72a38267e1449bab7e>
- <https://git.kernel.org/stable/c/badbd79313e6591616c1b78e29a9b71efed7f035>
- <https://git.kernel.org/stable/c/2f3119686ef50319490ccaec81a575973da98815>

## Sources

- CVE List: [CVE-2025-40187](https://www.cve.org/CVERecord?id=CVE-2025-40187), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-40187](https://nvd.nist.gov/vuln/detail/CVE-2025-40187), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40187 · Whole record: https://cve.day/CVE-2025-40187.json · Rebuilt by cve.day 2026-11-25T22:59:07.593Z
