CVE-2026-52998

Source
https://cve.org/CVERecord?id=CVE-2026-52998
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52998.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52998
Downstream
Published
2026-06-24T16:29:10.874Z
Modified
2026-07-08T08:13:46.102374410Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check
Details

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

netfilter: nfnetlink_osf: 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 indevforeachifa_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52998.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Fixed
f4de0777e4554a7de19c920accde6319dd530782
Fixed
c996a90f3071cf43683e5423da31aadbe002b8b4
Fixed
edc806f9122961f0d3819f7c69c14cccde31f277
Fixed
5d05de2f0928d81309a815ecc76d1a3ad72cbc16
Fixed
95be653a76793856ff8b2d8bd82c2943c23f5ca8
Fixed
79b90a96688e521771fa6ed3dc7864b76b8df293
Fixed
83fc5dd63455a779ea2dd0f7ffee3c920919d80b
Fixed
711987ba281fd806322a7cd244e98e2a81903114

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52998.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.31
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.141
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.91
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.33
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52998.json"