net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.246, 5.15.195, 5.4.301, 6.1.157, 6.12.54, 6.17.4, 6.6.113
- CVEs
- CVE-2025-40187
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:45 UTC · Revision 1
Source evidence
net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()
core-osv · Original sourcePublished 12 Nov 2025, 21:56 UTC
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.
osv:CVE-2025-40187
Kernel
Fixed versions: 5.4.301, 5.10.246, 5.15.195, 6.1.157, 6.6.113, 6.12.54, 6.17.4
Complete source record
{
"id": "f9dab839ac6037f150c694550c23980db370682a89e91a62e11283cae67558a1",
"url": "https://osv.dev/vulnerability/CVE-2025-40187",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()",
"summary": "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.",
"evidence": "osv:CVE-2025-40187",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.301",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.246",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.195",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.157",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.113",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.54",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-40187",
"aliases": [
"CVE-2025-40187"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40187.json"
}
}
],
"modified": "2026-10-28T02:30:38.095065307Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/025419f4e216a3ae0d0cec622262e98e8078c447",
"https://git.kernel.org/stable/c/1014b83778c8677f1d7a57c26dc728baa801ac62",
"https://git.kernel.org/stable/c/2f3119686ef50319490ccaec81a575973da98815",
"https://git.kernel.org/stable/c/7f702f85df0266ed7b5bab81ba50394c92f3c928",
"https://git.kernel.org/stable/c/badbd79313e6591616c1b78e29a9b71efed7f035",
"https://git.kernel.org/stable/c/c21f45cfa4a9526b34d76b397c9ef080668b6e73",
"https://git.kernel.org/stable/c/d0e8f1445c19b1786759ba72a38267e1449bab7e",
"https://git.kernel.org/stable/c/dbceedc0213e75bf3e9f9f9e2f66b10699d004fe",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40187.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40187",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40187.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40187",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505449,
"published_at": "2025-11-12T21:56:29.504+00:00"
}