netfilter: conntrack: add missing netlink policy validations
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.258, 5.15.209, 6.1.175, 6.6.136, 6.12.83, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From a258860e01b80e8f554a4ab1a6c95e6042eb8b73 · fixed in e7b5766693477c52424cc6c79dd30a7a9c7db52c; From a258860e01b80e8f554a4ab1a6c95e6042eb8b73 · fixed in 78bba9f73942aa7dca47d817d8cec0fb9b443b70; From a258860e01b80e8f554a4ab1a6c95e6042eb8b73 · fixed in be88a337bf07afb1ee173f1099294d1b7ab3fefe; From a258860e01b80e8f554a4ab1a6c95e6042eb8b73 · fixed in c5e918390002edf0cff80a0e7ce1f86f16a9507c; From a258860e01b80e8f554a4ab1a6c95e6042eb8b73 · fixed in 9174d28f3f15d8c4962f5980c0be167633880443; From a258860e01b80e8f554a4ab1a6c95e6042eb8b73 · fixed in 67c53c1978cef3c504237275e39c857e2f6af56e; From a258860e01b80e8f554a4ab1a6c95e6042eb8b73 · fixed in 0fbae1e74493d5a160a70c51aeba035d8266ea7d; From a258860e01b80e8f554a4ab1a6c95e6042eb8b73 · fixed in f900e1d77ee0ef87bfb5ab3fe60f0b3d8ad5ba05
- Linux Linux
2.6.27
- KernelLinux
From 2.6.27 · fixed in 5.10.258; From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.136; From 6.7.0 · fixed in 6.12.83; From 6.13.0 · fixed in 6.18.24; From 6.19.0 · fixed in 6.19.10
References 8
git.kernel.org
- stable/c/e7b5766693477c52424cc6c79dd30a7a9c7db52c
- stable/c/78bba9f73942aa7dca47d817d8cec0fb9b443b70
- stable/c/be88a337bf07afb1ee173f1099294d1b7ab3fefe
- stable/c/c5e918390002edf0cff80a0e7ce1f86f16a9507c
- stable/c/9174d28f3f15d8c4962f5980c0be167633880443
- stable/c/67c53c1978cef3c504237275e39c857e2f6af56e
- stable/c/0fbae1e74493d5a160a70c51aeba035d8266ea7d
- stable/c/f900e1d77ee0ef87bfb5ab3fe60f0b3d8ad5ba05