CVE-2026-31414 PUBLISHED

netfilter: nf_conntrack_expect: use expect->helper

Assigner: Linux
Reserved: 09.03.2026 Published: 13.04.2026 Updated: 11.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from ea781f197d6a835cbb93a0bf88ee1696296ed8aa to 847cb7fe26c5ce5dce0d1a41fac1ea488b7f1781 (excl.)
  • affected from ea781f197d6a835cbb93a0bf88ee1696296ed8aa to e7ccaa0a62a8ff2be5d521299ce79390c318d306 (excl.)
  • affected from ea781f197d6a835cbb93a0bf88ee1696296ed8aa to 4bd1b3d839172724b33d8d02c5a4ff6a1c775417 (excl.)
  • affected from ea781f197d6a835cbb93a0bf88ee1696296ed8aa to b53294bff19e56ada2f230ceb8b1ffde61cc3817 (excl.)
  • affected from ea781f197d6a835cbb93a0bf88ee1696296ed8aa to 3dfd3f7712b5a800f2ba632179e9b738076a51f0 (excl.)
  • affected from ea781f197d6a835cbb93a0bf88ee1696296ed8aa to f01794106042ee27e54af6fdf5b319a2fe3df94d (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.30 is affected
  • unaffected from 0 to 2.6.30 (excl.)
  • unaffected from 6.1.168 to 6.1.* (incl.)
  • unaffected from 6.6.134 to 6.6.* (incl.)
  • unaffected from 6.12.81 to 6.12.* (incl.)
  • unaffected from 6.18.22 to 6.18.* (incl.)
  • unaffected from 6.19.12 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References