sctp: diag: reject stale associations in dump_one path (Linux Linux)

CVE-2026-52917
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: diag: reject stale associations in dump_one path The SCTP exact sock_diag lookup can hold a transport reference, block on lock_sock(sk), and then resume after sctp_association_free() has marked the association dead and freed its bind address list. When that happens, inet_assoc_attr_size() and inet_diag_msg_sctpasoc_fill() can still dereference association state that is no longer valid for reporting. In particular, inet_diag_msg_sctpasoc_fill() may read an empty bind-address list as a real sctp_sockaddr_entry and trigger an out-of-bounds read from unrelated association memory. Reject the association after taking the socket lock if it has been reaped or detached from the endpoint, and report the lookup as stale. This keeps the exact dump-one path from formatting torn association state.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8f840e47f190cbe61a96945c13e9551048d42cef < 6657af827e21883ae90693e42e7f59a6aab690b5 ; affected 8f840e47f190cbe61a96945c13e9551048d42cef < b2be72d401833194917e44fbd8d8144bb4f2db16 ; affected 8f840e47f190cbe61a96945c13e9551048d42cef < 5425de8bd6e9fe5bd67d158e3348171ae7510117 ; affected 8f840e47f190cbe61a96945c13e9551048d42cef < e97c2a535e23ed0fdd2660993fb3f10d9535c9bc ; affected 8f840e47f190cbe61a96945c13e9551048d42cef < 480f754580b5686b928977d16a59f20cef83ff01 ; affected 8f840e47f190cbe61a96945c13e9551048d42cef < 78c4f964b2f94e405721c093773f6250e1e676b2
Linux · Linuxaffected 4.7 ; unaffected 0 < 4.7 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD