netfilter: nf_conntrack_expect: use expect->helper
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ea781f197d6a835cbb93a0bf88ee1696296ed8aa · < f01794106042ee27e54af6fdf5b319a2fe3df94d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_conntrack_expect: use expect->helper
Use expect->helper in ctnetlink and /proc to dump the helper name. Using nfct_help() without holding a reference to the master conntrack is unsafe.
Use exp->master->helper in ctnetlink path if userspace does not provide an explicit helper when creating an expectation to retain the existing behaviour. The ctnetlink expectation path holds the reference on the master conntrack and nf_conntrack_expect lock and the nfnetlink glue path refers to the master ct that is attached to the skb.
From the CVE record · Linux
The Linux kernel’s nf_conntrack_expect code can access a master conntrack’s helper without holding the required reference when dumping the helper name through ctnetlink or /proc. The input does not specify how an attacker could trigger this issue or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels should check their vendor’s advisory for affected versions; none are listed in the input.