{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-68338","id":"CVE-2026-68338","title":"net/packet: avoid fanout hook re-registration after unregister","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/packet: avoid fanout hook re-registration after unregister\n\npacket_set_ring() temporarily detaches a socket from packet delivery while\nreconfiguring its ring. It records the previous running state, clears\npo->num, unregisters the protocol hook when needed, drops po->bind_lock,\nand later restores po->num and re-registers the h","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/packet: avoid fanout hook re-registration after unregister\n\npacket_set_ring() temporarily detaches a socket from packet delivery while\nreconfiguring its ring. It records the previous running state, clears\npo->num, unregisters the protocol hook when needed, drops po->bind_lock,\nand later restores po->num and re-registers the hook from the saved\nwas_running value.\n\nThat unlocked window can race with NETDEV_UNREGISTER. The notifier can\nobserve the socket as not running, skip __unregister_prot_hook(), and\ninvalidate the per-socket binding by setting po->ifindex to -1 and clearing\npo->prot_hook.dev. A one-member fanout group can still retain its shared\nfanout hook device pointer. When packet_set_ring() resumes, re-registering\nsolely from the stale was_running state can re-add the fanout hook after\nthe device has been unregistered.\n\nTreat po->ifindex == -1 as an invalidated binding after reacquiring\npo->bind_lock. This is distinct from ifindex 0, the normal\nunbound/wildcard state: ifindex -1 marks an existing device binding that\nwas invalidated when the device was unregistered. Restore po->num as\nbefore, but do not re-register the hook if device unregister already\ndetached the socket.","published":"2026-08-10T12:03:14.549Z","updated":"2026-11-14T17:28:34.960685784Z","reserved":"2026-07-30T09:28:09.384Z","status":"Received","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":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":"dc99f600698dcac69b8f56dda9a8a00d645c5ffc","lessThan":"acb40ebfa5c4d62f84339fcbf713f2a9fd033a71","status":"affected","versionType":"git"},{"version":"dc99f600698dcac69b8f56dda9a8a00d645c5ffc","lessThan":"c820f4b7f2fa38f8769db0d0cefdd94e2721504d","status":"affected","versionType":"git"},{"version":"dc99f600698dcac69b8f56dda9a8a00d645c5ffc","lessThan":"4628efbdc7affd094181f5263e65c1062e31f15f","status":"affected","versionType":"git"},{"version":"dc99f600698dcac69b8f56dda9a8a00d645c5ffc","lessThan":"80ec024d53a05c60ad1d08968dcf745f10c1665c","status":"affected","versionType":"git"},{"version":"dc99f600698dcac69b8f56dda9a8a00d645c5ffc","lessThan":"0a052e0808e015e68144a9877e6ef42b952c49fa","status":"affected","versionType":"git"},{"version":"dc99f600698dcac69b8f56dda9a8a00d645c5ffc","lessThan":"1bc55c29cd85818e9052f17deb287d5a11fb817f","status":"affected","versionType":"git"},{"version":"dc99f600698dcac69b8f56dda9a8a00d645c5ffc","lessThan":"a885387dae7986a55bae5c77a15bdd447f64e9b9","status":"affected","versionType":"git"},{"version":"dc99f600698dcac69b8f56dda9a8a00d645c5ffc","lessThan":"50aff80475abd3533eef4320477037e6fcc6b56e","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.1","status":"affected"},{"version":"0","lessThan":"3.1","status":"unaffected","versionType":"semver"},{"version":"5.10.265","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.216","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.183","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.148","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.101","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.42","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.6","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/acb40ebfa5c4d62f84339fcbf713f2a9fd033a71","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c820f4b7f2fa38f8769db0d0cefdd94e2721504d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4628efbdc7affd094181f5263e65c1062e31f15f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/80ec024d53a05c60ad1d08968dcf745f10c1665c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0a052e0808e015e68144a9877e6ef42b952c49fa","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1bc55c29cd85818e9052f17deb287d5a11fb817f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a885387dae7986a55bae5c77a15bdd447f64e9b9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/50aff80475abd3533eef4320477037e6fcc6b56e","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68338.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68338","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00136,"epssPercentile":0.03166,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-68338","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68338","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-68338","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-2026-68338","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}