# CVE-2026-52998: netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-06-24T16:29:10.874Z
- Modified: 2026-11-10T13:19:21.687Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 before f4de0777e4554a7de19c920accde6319dd530782; from 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 before c996a90f3071cf43683e5423da31aadbe002b8b4; from 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 before edc806f9122961f0d3819f7c69c14cccde31f277; from 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 before 5d05de2f0928d81309a815ecc76d1a3ad72cbc16; from 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 before 95be653a76793856ff8b2d8bd82c2943c23f5ca8; from 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 before 79b90a96688e521771fa6ed3dc7864b76b8df293; from 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 before 83fc5dd63455a779ea2dd0f7ffee3c920919d80b; from 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 before 711987ba281fd806322a7cd244e98e2a81903114; 2.6.31 (not affected: before 2.6.31; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.31 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/f4de0777e4554a7de19c920accde6319dd530782> (patch)
- <https://git.kernel.org/stable/c/c996a90f3071cf43683e5423da31aadbe002b8b4> (patch)
- <https://git.kernel.org/stable/c/edc806f9122961f0d3819f7c69c14cccde31f277> (patch)
- <https://git.kernel.org/stable/c/5d05de2f0928d81309a815ecc76d1a3ad72cbc16> (patch)
- <https://git.kernel.org/stable/c/95be653a76793856ff8b2d8bd82c2943c23f5ca8> (patch)
- <https://git.kernel.org/stable/c/79b90a96688e521771fa6ed3dc7864b76b8df293> (patch)
- <https://git.kernel.org/stable/c/83fc5dd63455a779ea2dd0f7ffee3c920919d80b> (patch)
- <https://git.kernel.org/stable/c/711987ba281fd806322a7cd244e98e2a81903114> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-52998](https://www.cve.org/CVERecord?id=CVE-2026-52998), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-52998](https://nvd.nist.gov/vuln/detail/CVE-2026-52998), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-52998 · Whole record: https://cve.day/CVE-2026-52998.json · Rebuilt by cve.day 2026-11-25T22:59:25.648Z
