CVE-2025-40187

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

State
Published
Severity
7.5 High
Published
Nov 12, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b to before 1014b83778c8677f1d7a57c26dc728baa801ac62Affected
  • 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b to before 7f702f85df0266ed7b5bab81ba50394c92f3c928Affected
  • 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b to before dbceedc0213e75bf3e9f9f9e2f66b10699d004feAffected
  • 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b to before 025419f4e216a3ae0d0cec622262e98e8078c447Affected
  • 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b to before c21f45cfa4a9526b34d76b397c9ef080668b6e73Affected
  • 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b to before d0e8f1445c19b1786759ba72a38267e1449bab7eAffected
  • 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b to before badbd79313e6591616c1b78e29a9b71efed7f035Affected
  • 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b to before 2f3119686ef50319490ccaec81a575973da98815Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 5.4.301 through 5.4.*Not affected
  • 5.10.246 through 5.10.*Not affected
  • 5.15.195 through 5.15.*Not affected
  • 6.1.157 through 6.1.*Not affected
  • 6.6.113 through 6.6.*Not affected
  • 6.12.54 through 6.12.*Not affected
  • 6.17.4 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.