{"id":"CVE-2024-26808","state":"PUBLISHED","title":"netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain\n\nRemove netdevice from inet/ingress basechain in case NETDEV_UNREGISTER\nevent is reported, otherwise a stale reference to netdevice remains in\nthe hook list.","publishedAt":"2024-04-04T09:50:26.672Z","updatedAt":"2026-08-05T11:27:26.994Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"9489e214ea8f2a90345516016aa51f2db3a8cc2f","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"70f17b48c86622217a58d5099d29242fc9adac58","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"af149a46890e8285d1618bd68b8d159bdb87fdb3","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"e5888acbf1a3d8d021990ce6c6061fd5b2bb21b4","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"36a0a80f32209238469deb481967d777a3d539ee","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"01acb2e8666a6529697141a6017edbf206921913","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nft_chain_filter.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"5.10.210","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.149","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.76","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.15","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.3","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nft_chain_filter.c"]}],"references":["https://git.kernel.org/stable/c/9489e214ea8f2a90345516016aa51f2db3a8cc2f","https://git.kernel.org/stable/c/70f17b48c86622217a58d5099d29242fc9adac58","https://git.kernel.org/stable/c/af149a46890e8285d1618bd68b8d159bdb87fdb3","https://git.kernel.org/stable/c/e5888acbf1a3d8d021990ce6c6061fd5b2bb21b4","https://git.kernel.org/stable/c/36a0a80f32209238469deb481967d777a3d539ee","https://git.kernel.org/stable/c/01acb2e8666a6529697141a6017edbf206921913","https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26808.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26808","state":"PUBLISHED","datePublished":"2024-04-04T09:50:26.672Z","dateUpdated":"2026-08-05T11:27:26.994Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.179Z"},"containers":{"cna":{"title":"netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain\n\nRemove netdevice from inet/ingress basechain in case NETDEV_UNREGISTER\nevent is reported, otherwise a stale reference to netdevice remains in\nthe hook list."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"9489e214ea8f2a90345516016aa51f2db3a8cc2f","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"70f17b48c86622217a58d5099d29242fc9adac58","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"af149a46890e8285d1618bd68b8d159bdb87fdb3","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"e5888acbf1a3d8d021990ce6c6061fd5b2bb21b4","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"36a0a80f32209238469deb481967d777a3d539ee","versionType":"git"},{"version":"60a3815da702fd9e4759945f26cce5c47d3967ad","status":"affected","lessThan":"01acb2e8666a6529697141a6017edbf206921913","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nft_chain_filter.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"5.10.210","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.149","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.76","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.15","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.3","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nft_chain_filter.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9489e214ea8f2a90345516016aa51f2db3a8cc2f"},{"url":"https://git.kernel.org/stable/c/70f17b48c86622217a58d5099d29242fc9adac58"},{"url":"https://git.kernel.org/stable/c/af149a46890e8285d1618bd68b8d159bdb87fdb3"},{"url":"https://git.kernel.org/stable/c/e5888acbf1a3d8d021990ce6c6061fd5b2bb21b4"},{"url":"https://git.kernel.org/stable/c/36a0a80f32209238469deb481967d777a3d539ee"},{"url":"https://git.kernel.org/stable/c/01acb2e8666a6529697141a6017edbf206921913"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is reached through the NETLINK_NETFILTER socket interface (nftables configuration) plus local netdevice operations; it is not exposed to remote packet processing.\nAC:L - The attacker fully controls every step — creating the inet ingress base chain, binding it to a device, and unregistering that device — so the stale reference is created deterministically with no race or uncontrolled precondition.\nPR:L - Configuring nft chains requires CAP_NET_ADMIN, but this is obtainable by an unprivileged user in a new network namespace via unshare -Urn, so only low privileges are truly needed.\nUI:N - The entire sequence is driven by the attacker's own syscalls; no action by any other user is required.\nS:U - The use-after-free occurs within kernel memory in the same security authority; it does not cross a virtualization or IOMMU boundary.\nC:H - The dangling net_device reference enables reads of freed heap memory (e.g. hook->ops.dev->name is leaked to userspace during chain dump), which with heap grooming yields sensitive kernel data disclosure.\nI:H - The use-after-free leaves the freed net_device reclaimable and later written through (nf_unregister_net_hook updates dev->nf_hooks_ingress), giving a controllable write primitive that can be leveraged for privilege escalation.\nA:H - Dereferencing the stale, freed net_device reliably triggers a use-after-free that oopses/panics the kernel."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:27:26.994Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.10.210"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.15.149"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.1.76"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.6.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.7.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/9489e214ea8f2a90345516016aa51f2db3a8cc2f","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/70f17b48c86622217a58d5099d29242fc9adac58","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/af149a46890e8285d1618bd68b8d159bdb87fdb3","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e5888acbf1a3d8d021990ce6c6061fd5b2bb21b4","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/36a0a80f32209238469deb481967d777a3d539ee","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/01acb2e8666a6529697141a6017edbf206921913","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:14:13.575Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-02-27T19:35:33.665875Z","id":"CVE-2024-26808","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-27T19:36:03.888Z"}}]}}}