CVE-2026-52998CWE-476

CVE-2026-52998

High · published June 24, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
47.0
In the wild
Unconfirmed
What it is

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

netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check

The nf_osf_ttl() function accessed skb->dev to perform a local interface

address lookup without verifying that the device pointer was valid.

Additionally, the implementation utilized an in_dev_for_each_ifa_rcu

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 ttl_check.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00579 · 47.0th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-06-24T21:17Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.31, < 5.10.2585.10.258
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1416.6.141
linux/linux_kernel≥ 6.7, < 6.12.916.12.91
linux/linux_kernel≥ 6.13, < 6.18.336.18.33
linux/linux_kernel≥ 6.19, < 7.0.107.0.10
References (10)
EPSS history
Timeline
  • 24 JUN 16:29Z
    netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check
    cvelistv5