netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check
Summary
| CVE | CVE-2026-52998 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-24 17:17:10 UTC |
| Updated | 2026-07-15 12:55:19 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.005080000 probability, percentile 0.397960000 (date 2026-07-13)
Problem Types: CWE-476
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 f4de0777e4554a7de19c920accde6319dd530782 git | Not specified |
| CNA | Linux | Linux | affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 c996a90f3071cf43683e5423da31aadbe002b8b4 git | Not specified |
| CNA | Linux | Linux | affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 edc806f9122961f0d3819f7c69c14cccde31f277 git | Not specified |
| CNA | Linux | Linux | affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 5d05de2f0928d81309a815ecc76d1a3ad72cbc16 git | Not specified |
| CNA | Linux | Linux | affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 95be653a76793856ff8b2d8bd82c2943c23f5ca8 git | Not specified |
| CNA | Linux | Linux | affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 79b90a96688e521771fa6ed3dc7864b76b8df293 git | Not specified |
| CNA | Linux | Linux | affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 83fc5dd63455a779ea2dd0f7ffee3c920919d80b git | Not specified |
| CNA | Linux | Linux | affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 711987ba281fd806322a7cd244e98e2a81903114 git | Not specified |
| CNA | Linux | Linux | affected 2.6.31 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.31 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.258 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.141 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.91 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.33 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.10 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/83fc5dd63455a779ea2dd0f7ffee3c920919d80b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/711987ba281fd806322a7cd244e98e2a81903114 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c996a90f3071cf43683e5423da31aadbe002b8b4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/f4de0777e4554a7de19c920accde6319dd530782 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/5d05de2f0928d81309a815ecc76d1a3ad72cbc16 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/95be653a76793856ff8b2d8bd82c2943c23f5ca8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/edc806f9122961f0d3819f7c69c14cccde31f277 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/79b90a96688e521771fa6ed3dc7864b76b8df293 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.