CVE-2026-52998: netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check

Published Jun 24, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nfnetlinkosf: fix potential NULL dereference in ttl check

The nfosfttl() function accessed skb->dev to perform a local interface address lookup without verifying that the device pointer was valid.

Additionally, the implementation utilized an indevforeachifarcu loop to match the packet source address against local interface addresses. It assumed that packets from the same subnet should not see a decrement on the initial TTL. A packet might appear it is from the same subnet but it actually isn't especially in modern environments with containers and virtual switching.

Remove the device dereference and interface loop. Replace the logic with a switch statement that evaluates the TTL according to the ttlcheck.

Affected Software

9 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.139.1-1<6.6.143.1-1
6.6.143.1-1
Linux Linux kernel>=2.6.31<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.141
Linux Linux kernel>=6.7<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.143.1-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check
  3. Compensating control

    Apply the kernel fix so ttl_check no longer dereferences skb->dev without verifying the device pointer is valid (fix potential NULL dereference in nfnetlink_osf TTL check).

Event History

Jun 24, 2026
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
DescriptionSeverity
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the practical impact of successful exploitation?

The vulnerability can cause a kernel NULL pointer dereference, resulting in a denial of service through system instability or a crash. The provided severity vector indicates network-based exploitation requires no privileges or user interaction.

2

Which systems are identified as affected?

The listed affected software includes the Linux kernel and Microsoft azl3 kernel 6.6.139.1-1. The data does not identify specific kernel version ranges or configuration prerequisites beyond the nfnetlink_osf code path.

3

What changed in the fix?

The fix removes access to skb->dev and the local-interface address iteration used during TTL checking. TTL handling is replaced with a switch statement based on the ttl_check setting, avoiding the invalid device-pointer dereference and subnet-assumption logic.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203