CVE-2026-68338
net/packet: avoid fanout hook re-registration after unregister
Reported by linux · Published August 10, 2026
In the Linux kernel, the following vulnerability has been resolved: net/packet: avoid fanout hook re-registration after unregister packet_set_ring() temporarily detaches a socket from packet delivery while reconfiguring its ring. It records the previous running state, clears po->num, unregisters the protocol hook when needed, drops po->bind_lock, and later restores po->num and re-registers the hook from the saved was_running value. That unlocked window can race with NETDEV_UNREGISTER. The notifier can observe the socket as not running, skip __unregister_prot_hook(), and invalidate the per-socket binding by setting po->ifindex to -1 and clearing po->prot_hook.dev. A one-member fanout group can still retain its shared fanout hook device pointer. When packet_set_ring() resumes, re-registering solely from the stale was_running state can re-add the fanout hook after the device has been unregistered. Treat po->ifindex == -1 as an invalidated binding after reacquiring po->bind_lock. This is distinct from ifindex 0, the normal unbound/wildcard state: ifindex -1 marks an existing device binding that was invalidated when the device was unregistered. Restore po->num as before, but do not re-register the hook if device unregister already detached the socket.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rtla | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.ppc64le, 0:6.12.0-211.69.1.el10_2.aarch64 |
| kernel-rt-modules-extra | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.x86_64, 0:6.12.0-211.69.1.el10_2.aarch64 |
| kernel-rt-debug-devel | errata.rockylinux.org | 4.18.0-553.178.1.rt7.519.el8, 0:4.18.0-553.178.1.rt7.519.el8_10.x86_64 |
| kernel-tools | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.ppc64le, 0:6.12.0-211.69.1.el10_2.aarch64 |
| kernel-tools-debuginfo | errata.rockylinux.org | 4.18.0-553.178.1.el8, 0:6.12.0-211.69.1.el10_2.x86_64, 0:4.18.0-553.178.1.el8_10.x86_64, 0:4.18.0-553.178.1.el8_10.aarch64 |
| kernel-core | errata.rockylinux.org | 4.18.0-553.178.1.el8, 0:6.12.0-211.69.1.el10_2.x86_64, 0:6.12.0-211.69.1.el10_2.s390x, 0:6.12.0-211.69.1.el10_2.ppc64le, 0:4.18.0-553.178.1.el8_10.aarch64 |
| kernel-devel | errata.rockylinux.org | 4.18.0-553.178.1.el8, 0:6.12.0-211.69.1.el10_2.x86_64, 0:6.12.0-211.69.1.el10_2.ppc64le, 0:6.12.0-211.69.1.el10_2.aarch64, 0:4.18.0-553.178.1.el8_10.x86_64 |
| kernel-64k | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.aarch64 |
| kernel-devel | Amazon Linux | 1:6.1.182-227.379.amzn2023 |
| kernel-debug-debuginfo | errata.rockylinux.org | 4.18.0-553.178.1.el8, 0:6.12.0-211.69.1.el10_2.ppc64le, 0:4.18.0-553.178.1.el8_10.x86_64, 0:4.18.0-553.178.1.el8_10.aarch64 |
| kernel-rt-debug-kvm | errata.rockylinux.org | 4.18.0-553.178.1.rt7.519.el8, 0:4.18.0-553.178.1.rt7.519.el8_10.x86_64 |
| kernel-rt-debuginfo | errata.rockylinux.org | 0:6.12.0-211.69.1.el10_2.aarch64 |
50 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | dc99f600698dcac69b8f56dda9a8a00d645c5ffc, dc99f600698dcac69b8f56dda9a8a00d645c5ffc, dc99f600698dcac69b8f56dda9a8a00d645c5ffc |
| Linux | Linux | 3.1, 0, 5.10.265 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| Linux | Linux | *, 6.1.183, 5.15.216 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.182-227.379 | 0 |
…and 18 more
Timeline
- Aug 10, 2026 CVE Published
- Aug 11, 2026 Coalition ESS Score
- Aug 21, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (10 in total, the first dated here)
- Oct 30, 2026 Distribution Patch (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68338
vulnetix vdb fixes CVE-2026-68338
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68338/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart