{"api_version":"1","generated_at":"2026-06-24T22:48:46+00:00","cve":"CVE-2026-52998","urls":{"html":"https://cve.report/CVE-2026-52998","api":"https://cve.report/api/cve/CVE-2026-52998.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52998","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52998"},"summary":{"title":"netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nfnetlink_osf: fix potential NULL dereference in ttl check\n\nThe nf_osf_ttl() function accessed skb->dev to perform a local interface\naddress lookup without verifying that the device pointer was valid.\n\nAdditionally, the implementation utilized an in_dev_for_each_ifa_rcu\nloop to match the packet source address against local interface\naddresses. It assumed that packets from the same subnet should not see a\ndecrement on the initial TTL. A packet might appear it is from the same\nsubnet but it actually isn't especially in modern environments with\ncontainers and virtual switching.\n\nRemove the device dereference and interface loop. Replace the logic with\na switch statement that evaluates the TTL according to the ttl_check.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-24 17:17:10","updated_at":"2026-06-24 17:17:10"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/83fc5dd63455a779ea2dd0f7ffee3c920919d80b","name":"https://git.kernel.org/stable/c/83fc5dd63455a779ea2dd0f7ffee3c920919d80b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/711987ba281fd806322a7cd244e98e2a81903114","name":"https://git.kernel.org/stable/c/711987ba281fd806322a7cd244e98e2a81903114","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c996a90f3071cf43683e5423da31aadbe002b8b4","name":"https://git.kernel.org/stable/c/c996a90f3071cf43683e5423da31aadbe002b8b4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f4de0777e4554a7de19c920accde6319dd530782","name":"https://git.kernel.org/stable/c/f4de0777e4554a7de19c920accde6319dd530782","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5d05de2f0928d81309a815ecc76d1a3ad72cbc16","name":"https://git.kernel.org/stable/c/5d05de2f0928d81309a815ecc76d1a3ad72cbc16","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/95be653a76793856ff8b2d8bd82c2943c23f5ca8","name":"https://git.kernel.org/stable/c/95be653a76793856ff8b2d8bd82c2943c23f5ca8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/edc806f9122961f0d3819f7c69c14cccde31f277","name":"https://git.kernel.org/stable/c/edc806f9122961f0d3819f7c69c14cccde31f277","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/79b90a96688e521771fa6ed3dc7864b76b8df293","name":"https://git.kernel.org/stable/c/79b90a96688e521771fa6ed3dc7864b76b8df293","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-52998","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52998","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 f4de0777e4554a7de19c920accde6319dd530782 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 c996a90f3071cf43683e5423da31aadbe002b8b4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 edc806f9122961f0d3819f7c69c14cccde31f277 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 5d05de2f0928d81309a815ecc76d1a3ad72cbc16 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 95be653a76793856ff8b2d8bd82c2943c23f5ca8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 79b90a96688e521771fa6ed3dc7864b76b8df293 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 83fc5dd63455a779ea2dd0f7ffee3c920919d80b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 711987ba281fd806322a7cd244e98e2a81903114 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.31","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.31 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.258 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.209 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.175 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.141 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.91 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.33 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.10 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/netfilter/nfnetlink_osf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f4de0777e4554a7de19c920accde6319dd530782","status":"affected","version":"11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384","versionType":"git"},{"lessThan":"c996a90f3071cf43683e5423da31aadbe002b8b4","status":"affected","version":"11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384","versionType":"git"},{"lessThan":"edc806f9122961f0d3819f7c69c14cccde31f277","status":"affected","version":"11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384","versionType":"git"},{"lessThan":"5d05de2f0928d81309a815ecc76d1a3ad72cbc16","status":"affected","version":"11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384","versionType":"git"},{"lessThan":"95be653a76793856ff8b2d8bd82c2943c23f5ca8","status":"affected","version":"11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384","versionType":"git"},{"lessThan":"79b90a96688e521771fa6ed3dc7864b76b8df293","status":"affected","version":"11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384","versionType":"git"},{"lessThan":"83fc5dd63455a779ea2dd0f7ffee3c920919d80b","status":"affected","version":"11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384","versionType":"git"},{"lessThan":"711987ba281fd806322a7cd244e98e2a81903114","status":"affected","version":"11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/netfilter/nfnetlink_osf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.31"},{"lessThan":"2.6.31","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.258","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.209","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.175","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.141","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.91","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.33","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.258","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.209","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.175","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.141","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.91","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.33","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.10","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"2.6.31","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nfnetlink_osf: fix potential NULL dereference in ttl check\n\nThe nf_osf_ttl() function accessed skb->dev to perform a local interface\naddress lookup without verifying that the device pointer was valid.\n\nAdditionally, the implementation utilized an in_dev_for_each_ifa_rcu\nloop to match the packet source address against local interface\naddresses. It assumed that packets from the same subnet should not see a\ndecrement on the initial TTL. A packet might appear it is from the same\nsubnet but it actually isn't especially in modern environments with\ncontainers and virtual switching.\n\nRemove the device dereference and interface loop. Replace the logic with\na switch statement that evaluates the TTL according to the ttl_check."}],"providerMetadata":{"dateUpdated":"2026-06-24T16:29:10.874Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f4de0777e4554a7de19c920accde6319dd530782"},{"url":"https://git.kernel.org/stable/c/c996a90f3071cf43683e5423da31aadbe002b8b4"},{"url":"https://git.kernel.org/stable/c/edc806f9122961f0d3819f7c69c14cccde31f277"},{"url":"https://git.kernel.org/stable/c/5d05de2f0928d81309a815ecc76d1a3ad72cbc16"},{"url":"https://git.kernel.org/stable/c/95be653a76793856ff8b2d8bd82c2943c23f5ca8"},{"url":"https://git.kernel.org/stable/c/79b90a96688e521771fa6ed3dc7864b76b8df293"},{"url":"https://git.kernel.org/stable/c/83fc5dd63455a779ea2dd0f7ffee3c920919d80b"},{"url":"https://git.kernel.org/stable/c/711987ba281fd806322a7cd244e98e2a81903114"}],"title":"netfilter: nfnetlink_osf: fix potential NULL dereference in ttl check","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-52998","datePublished":"2026-06-24T16:29:10.874Z","dateReserved":"2026-06-09T07:44:35.377Z","dateUpdated":"2026-06-24T16:29:10.874Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-24 17:17:10","lastModifiedDate":"2026-06-24 17:17:10","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"52998","Ordinal":"1","Title":"netfilter: nfnetlink_osf: fix potential NULL dereference in ttl ","CVE":"CVE-2026-52998","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"52998","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nfnetlink_osf: fix potential NULL dereference in ttl check\n\nThe nf_osf_ttl() function accessed skb->dev to perform a local interface\naddress lookup without verifying that the device pointer was valid.\n\nAdditionally, the implementation utilized an in_dev_for_each_ifa_rcu\nloop to match the packet source address against local interface\naddresses. It assumed that packets from the same subnet should not see a\ndecrement on the initial TTL. A packet might appear it is from the same\nsubnet but it actually isn't especially in modern environments with\ncontainers and virtual switching.\n\nRemove the device dereference and interface loop. Replace the logic with\na switch statement that evaluates the TTL according to the ttl_check.","Type":"Description","Title":"netfilter: nfnetlink_osf: fix potential NULL dereference in ttl "}]}}}