{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38678","id":"CVE-2025-38678","title":"netfilter: nf_tables: reject duplicate device on updates","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: reject duplicate device on updates\n\nA chain/flowtable update with duplicated devices in the same batch is\npossible. Unfortunately, netdev event path only removes the first\ndevice that is found, leaving unregistered the hook of the duplicated\ndevice.\n\nCheck if a duplicated device exists in the transaction bat","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: reject duplicate device on updates\n\nA chain/flowtable update with duplicated devices in the same batch is\npossible. Unfortunately, netdev event path only removes the first\ndevice that is found, leaving unregistered the hook of the duplicated\ndevice.\n\nCheck if a duplicated device exists in the transaction batch, bail out\nwith EEXIST in such case.\n\nWARNING is hit when unregistering the hook:\n\n [49042.221275] WARNING: CPU: 4 PID: 8425 at net/netfilter/core.c:340 nf_hook_entry_head+0xaa/0x150\n [49042.221375] CPU: 4 UID: 0 PID: 8425 Comm: nft Tainted: G S                  6.16.0+ #170 PREEMPT(full)\n [...]\n [49042.221382] RIP: 0010:nf_hook_entry_head+0xaa/0x150","published":"2025-09-03T13:01:15.799Z","updated":"2026-10-28T02:30:39.925849966Z","reserved":"2025-04-16T04:51:24.031Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"78d9f48f7f44431a25da2b46b3a8812f6ff2b981","lessThan":"0521e694d5b80899fba8695881a6349f9bc538cb","status":"affected","versionType":"git"},{"version":"78d9f48f7f44431a25da2b46b3a8812f6ff2b981","lessThan":"4681960bc0f4f8bcc782cbf2fd205f48ad314dfd","status":"affected","versionType":"git"},{"version":"78d9f48f7f44431a25da2b46b3a8812f6ff2b981","lessThan":"4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2","status":"affected","versionType":"git"},{"version":"78d9f48f7f44431a25da2b46b3a8812f6ff2b981","lessThan":"3f358a66a04513311668ea4b40f5064e253d8386","status":"affected","versionType":"git"},{"version":"78d9f48f7f44431a25da2b46b3a8812f6ff2b981","lessThan":"cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c","status":"affected","versionType":"git"},{"version":"78d9f48f7f44431a25da2b46b3a8812f6ff2b981","lessThan":"d7615bde541f16517d6790412da6ec46fa8a4c1f","status":"affected","versionType":"git"},{"version":"78d9f48f7f44431a25da2b46b3a8812f6ff2b981","lessThan":"cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"5.10.247","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.197","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.159","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.117","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.59","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.2","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0521e694d5b80899fba8695881a6349f9bc538cb","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4681960bc0f4f8bcc782cbf2fd205f48ad314dfd","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3f358a66a04513311668ea4b40f5064e253d8386","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d7615bde541f16517d6790412da6ec46fa8a4c1f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38678.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38678","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00292,"epssPercentile":0.22187,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38678","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38678","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38678","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38678","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}