{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99676","id":"CVE-2026-99676","title":"Linux kernel use-after-free in lockless socket access","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: restore refcount ordering for lockless socket access\n\nBefore commit fb041bb7c0a9 (\"locking/refcount: Consolidate implementations\nof refcount_t\"), default builds implemented refcount_inc_not_zero() using\natomic_add_unless(), which provided full memory ordering on success. The\ncommit removed that ordering on weakly ordered arc","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: restore refcount ordering for lockless socket access\n\nBefore commit fb041bb7c0a9 (\"locking/refcount: Consolidate implementations\nof refcount_t\"), default builds implemented refcount_inc_not_zero() using\natomic_add_unless(), which provided full memory ordering on success. The\ncommit removed that ordering on weakly ordered architectures, allowing\naccesses after a successful reference acquisition to be reordered before\nit.\n\nUse refcount_inc_not_zero_acquire() in the IPv4 and IPv6 established\nlookups and in inet_twsk_purge(), where the socket is validated again\nafter taking a reference.\n\nbpf_sk_assign() can receive a socket pointer obtained through BTF\nwithout a reference. Use acquire ordering when it takes its own reference\nfor a refcounted socket.\n\nUse refcount_set_release() when setting refcounts in the SYN cookie,\nTCP Fast Open, request migration, and TIME_WAIT paths. Keep the existing\nTIME_WAIT smp_wmb(), which separately orders the refcount store before\nehash publication.","published":"2026-11-20T05:50:24.118Z","updated":"2026-11-20T05:50:24.118Z","reserved":"2026-09-25T10:25:14.428Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca","lessThan":"6f4fc93f76cd8ebd3c89a064573715503048d1ad","status":"affected","versionType":"git"},{"version":"fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca","lessThan":"ddd14d0b5b5e650077779d9a158cb7a80ee8297b","status":"affected","versionType":"git"},{"version":"fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca","lessThan":"52f5a5ab318f5b120eb686069fbd0108016c02b2","status":"affected","versionType":"git"},{"version":"fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca","lessThan":"5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2","status":"affected","versionType":"git"},{"version":"d0d583484d2ed9f5903edbbfa7e2a68f78b950b0","status":"affected","versionType":"git"},{"version":"5.4.208","lessThan":"5.5","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6f4fc93f76cd8ebd3c89a064573715503048d1ad","tags":[]},{"url":"https://git.kernel.org/stable/c/ddd14d0b5b5e650077779d9a158cb7a80ee8297b","tags":[]},{"url":"https://git.kernel.org/stable/c/52f5a5ab318f5b120eb686069fbd0108016c02b2","tags":[]},{"url":"https://git.kernel.org/stable/c/5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99676","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99676","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99676","ok":false,"note":"no open-source package data"},{"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-99676","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}