VDB

CVE-2026-68338

CVE-2026-68338 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
rtlaerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.ppc64le, 0:6.12.0-211.69.1.el10_2.aarch64
kernel-rt-modules-extraerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.x86_64, 0:6.12.0-211.69.1.el10_2.aarch64
kernel-rt-debug-develerrata.rockylinux.org4.18.0-553.178.1.rt7.519.el8, 0:4.18.0-553.178.1.rt7.519.el8_10.x86_64
kernel-toolserrata.rockylinux.org0:6.12.0-211.69.1.el10_2.ppc64le, 0:6.12.0-211.69.1.el10_2.aarch64
kernel-tools-debuginfoerrata.rockylinux.org4.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-coreerrata.rockylinux.org4.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-develerrata.rockylinux.org4.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-64kerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.aarch64
kernel-develAmazon Linux1:6.1.182-227.379.amzn2023
kernel-debug-debuginfoerrata.rockylinux.org4.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-kvmerrata.rockylinux.org4.18.0-553.178.1.rt7.519.el8, 0:4.18.0-553.178.1.rt7.519.el8_10.x86_64
kernel-rt-debuginfoerrata.rockylinux.org0:6.12.0-211.69.1.el10_2.aarch64

50 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxdc99f600698dcac69b8f56dda9a8a00d645c5ffc, dc99f600698dcac69b8f56dda9a8a00d645c5ffc, dc99f600698dcac69b8f56dda9a8a00d645c5ffc
LinuxLinux3.1, 0, 5.10.265
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-tools0
amazon:2023python3-perf0
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023bpftool6.120
amazon:2023perf6.180
amazon:2023kernel6.12-tools-devel0
LinuxLinux*, 6.1.183, 5.15.216
amazon:2023kernel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.1.182-227.3790

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›