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.
References
Configurations
Configuration 1 (hide)
|
History
15 Jul 2026, 12:55
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://git.kernel.org/stable/c/5d05de2f0928d81309a815ecc76d1a3ad72cbc16 - Patch | |
| References | () https://git.kernel.org/stable/c/711987ba281fd806322a7cd244e98e2a81903114 - Patch | |
| References | () https://git.kernel.org/stable/c/79b90a96688e521771fa6ed3dc7864b76b8df293 - Patch | |
| References | () https://git.kernel.org/stable/c/83fc5dd63455a779ea2dd0f7ffee3c920919d80b - Patch | |
| References | () https://git.kernel.org/stable/c/95be653a76793856ff8b2d8bd82c2943c23f5ca8 - Patch | |
| References | () https://git.kernel.org/stable/c/c996a90f3071cf43683e5423da31aadbe002b8b4 - Patch | |
| References | () https://git.kernel.org/stable/c/edc806f9122961f0d3819f7c69c14cccde31f277 - Patch | |
| References | () https://git.kernel.org/stable/c/f4de0777e4554a7de19c920accde6319dd530782 - Patch | |
| First Time |
Linux linux Kernel
Linux |
|
| CWE | CWE-476 | |
| CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
28 Jun 2026, 08:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
24 Jun 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-24 17:17
Updated : 2026-07-15 12:55
NVD link : CVE-2026-52998
Mitre link : CVE-2026-52998
CVE.ORG link : CVE-2026-52998
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference
