CVE 7.5 HIGH

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

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Basic Information

ID CVE-2026-52998
Source Linux
Published Jun 24, 2026 at 16:29
Modified Jun 28, 2026 at 06:37

Affected Product

Vendor Linux
Product Linux
Version 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Affected Versions Linux Linux 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Linux Linux 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Linux Linux 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Linux Linux 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Linux Linux 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Linux Linux 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Linux Linux 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Linux Linux 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384
Linux Linux 2.6.31

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.