CVE-2026-43116

netfilter: ctnetlink: ensure safe access to master conntrack

HIGH
7.8
CVSS Score
Published: May 6, 2026 at 07:40 AM UTC
Updated: October 19, 2026 at 08:18 PM UTC
4 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: ctnetlink: ensure safe access to master conntrack Holding reference on the expectation is not sufficient, the master conntrack object can just go away, making exp->master invalid. To access exp->master safely: - Grab the nf_conntrack_expect_lock, this gets serialized with clean_from_lists() which also holds this lock when the master conntrack goes away. - Hold reference on master conntrack via nf_conntrack_find_get(). Not so easy since the master tuple to look up for the master conntrack is not available in the existing problematic paths. This patch goes for extending the nf_conntrack_expect_lock section to address this issue for simplicity, in the cases that are described below this is just slightly extending the lock section. The add expectation command already holds a reference to the master conntrack from ctnetlink_create_expect(). However, the delete expectation command needs to grab the spinlock before looking up for the expectation. Expand the existing spinlock section to address this to cover the expectation lookup. Note that, the nf_ct_expect_iterate_net() calls already grabs the spinlock while iterating over the expectation table, which is correct. The get expectation command needs to grab the spinlock to ensure master conntrack does not go away. This also expands the existing spinlock section to cover the expectation lookup too. I needed to move the netlink skb allocation out of the spinlock to keep it GFP_KERNEL. For the expectation events, the IPEXP_DESTROY event is already delivered under the spinlock, just move the delivery of IPEXP_NEW under the spinlock too because the master conntrack event cache is reached through exp->master. While at it, add lockdep notations to help identify what codepaths need to grab the spinlock.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.16 ≤ v < 6.18.246.19 ≤ v < 6.19.147.07.0 rc17.0 rc27.0 rc37.0 rc47.0 rc5c1d10adb4a521de5760112853f42aaeefcec96eb
Vendor states this is fixed in 497f99b26fffdc5635706d1b4811f1ed8ee21a5b (fixed)
Vendor states this is fixed in 5e1c1d22268ae710c238342c8030c21daf298168 (fixed)
Vendor states this is fixed in 9e1196d27ef496f404c76f7a9d03761142d991c4 (fixed)
Vendor states this is fixed in bffcaad9afdfe45d7fc777397d3b83c1e3ebffe5 (fixed)
Vendor states this is fixed in d52fa1fa7440676b8c238037a050ab008c22737f (fixed)
Vendor states this is fixed in f338ced0473849c9f6ed0b77ca99f1aab5826787 (fixed)
Vendor states this is fixed in 2.6.16 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.94 (unaffected)
Vendor states this is fixed in 6.18.24 (unaffected)
Vendor states this is fixed in 6.19.14 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card