CVE-2026-99165

Source
https://cve.org/CVERecord?id=CVE-2026-99165
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99165.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99165
Downstream
Published
2026-10-28T10:35:17Z
Modified
2026-11-01T02:30:37Z
Summary
sctp: revalidate output stream after association connect wait
Details

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

sctp: revalidate output stream after association connect wait

When message interleaving is enabled, the first send waits for association establishment before building its data chunks. The wait drops the socket lock, and handshake processing can reduce the output stream count to the peer-advertised inbound stream count. sctp_stream_init() then frees the extension of every removed stream.

The sender resumes with the stream that it checked before the wait. If the peer removed that stream, sctp_outq_tail() later dereferences its NULL extension. Fatal-oops policies then panic the host.

KASAN: null-ptr-deref in range [0x38-0x3f] RIP: sctp_outq_tail+0x49e/0xaa0 Call Trace: sctp_primitive_SEND sctp_sendmsg_to_asoc sctp_sendmsg

A range check alone is insufficient. Stream reconfiguration can grow the output count again while the lock is released without recreating extensions freed by the earlier shrink. The stream can then be in range while its extension remains NULL. The send-buffer wait has the same issue.

Factor the range and extension checks into a helper and repeat both after each send-path wait that drops the socket lock. Once the lock is reacquired, the validation remains stable through data creation and queueing.

If validation fails after the connect wait, the auto-created association is already established. Return ESRCH so the existing caller path keeps it under state-machine ownership instead of freeing it directly, which would leave protocol, counter and socket state inconsistent.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99165.json"
}
References

Affected packages

Git / 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
668c9beb9020d5834ee9e43c208190a07d2b1928
Fixed
26af2969b29cc5eb893a454fee2a36b39521a5bd
Fixed
b925652ba3a3ee11b2617e68de92379144b5b84b
Fixed
504bdf55438ad4b1ecbfba0f7fe95e1933f7fb66
Fixed
994694a2d4611d7b76cf05ff401a92b1c0451e1f
Fixed
84f741b7bb3974e674c9739055826aa040362bba
Fixed
77a63d1b813b08c4e5a948f5e04fbaca6176aa8f
Fixed
fd56ac95ec31a05b66e8938debfa847f49c0e993
Fixed
b7ad72414c673ce1fa1f463e807cd4f34f8be9bf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99165.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.16.0
Fixed
5.10.273
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.224
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.191
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.161
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.115
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.59
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99165.json"