CVE-2026-31407
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Summary
In the Linux kernel, the following vulnerability has been resolved:
netfilter: conntrack: add missing netlink policy validations
Hyunwoo Kim reports out-of-bounds access in sctp and ctnetlink.
These attributes are used by the kernel without any validation. Extend the netlink policies accordingly.
Quoting the reporter: nlattr_to_sctp() assigns the user-supplied CTA_PROTOINFO_SCTP_STATE value directly to ct->proto.sctp.state without checking that it is within the valid range. [..]
and: … with exp->dir = 100, the access at ct->master->tuplehash[100] reads 5600 bytes past the start of a 320-byte nf_conn object, causing a slab-out-of-bounds read confirmed by UBSAN.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | a258860e01b80e8f554a4ab1a6c95e6042eb8b73 < e7b5766693477c52424cc6c79dd30a7a9c7db52c | affected |
| Linux | Linux | a258860e01b80e8f554a4ab1a6c95e6042eb8b73 < 78bba9f73942aa7dca47d817d8cec0fb9b443b70 | affected |
| Linux | Linux | a258860e01b80e8f554a4ab1a6c95e6042eb8b73 < be88a337bf07afb1ee173f1099294d1b7ab3fefe | affected |
| Linux | Linux | a258860e01b80e8f554a4ab1a6c95e6042eb8b73 < c5e918390002edf0cff80a0e7ce1f86f16a9507c | affected |
| Linux | Linux | a258860e01b80e8f554a4ab1a6c95e6042eb8b73 < 9174d28f3f15d8c4962f5980c0be167633880443 | affected |
| Linux | Linux | a258860e01b80e8f554a4ab1a6c95e6042eb8b73 < 67c53c1978cef3c504237275e39c857e2f6af56e | affected |
| Linux | Linux | a258860e01b80e8f554a4ab1a6c95e6042eb8b73 < 0fbae1e74493d5a160a70c51aeba035d8266ea7d | affected |
| Linux | Linux | a258860e01b80e8f554a4ab1a6c95e6042eb8b73 < f900e1d77ee0ef87bfb5ab3fe60f0b3d8ad5ba05 | affected |
| Linux | Linux | 2.6.27 | affected |
| Linux | Linux | 0 < 2.6.27 | unaffected |
| Linux | Linux | 5.10.258 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.209 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.175 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.136 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.83 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.24 <= 6.18.* | unaffected |
| Linux | Linux | 6.19.10 <= 6.19.* | unaffected |
| Linux | Linux | 7.0 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/e7b5766693477c52424cc6c79dd30a7a9c7db52c
- https://git.kernel.org/stable/c/78bba9f73942aa7dca47d817d8cec0fb9b443b70
- https://git.kernel.org/stable/c/be88a337bf07afb1ee173f1099294d1b7ab3fefe
- https://git.kernel.org/stable/c/c5e918390002edf0cff80a0e7ce1f86f16a9507c
- https://git.kernel.org/stable/c/9174d28f3f15d8c4962f5980c0be167633880443
- https://git.kernel.org/stable/c/67c53c1978cef3c504237275e39c857e2f6af56e
- https://git.kernel.org/stable/c/0fbae1e74493d5a160a70c51aeba035d8266ea7d
- https://git.kernel.org/stable/c/f900e1d77ee0ef87bfb5ab3fe60f0b3d8ad5ba05
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.