{"id":"CVE-2026-68379","state":"PUBLISHED","title":"tcp: fix TIME_WAIT socket reference leak on PSP policy failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix TIME_WAIT socket reference leak on PSP policy failure\n\nRelease the TIME_WAIT socket reference and jump to discard_it\nupon PSP policy failure in both IPv4 and IPv6 receive paths.\nThis prevents a memory leak of tcp_tw_bucket structures.","publishedAt":"2026-08-10T12:03:57.537Z","updatedAt":"2026-08-17T05:04:25.324Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"659a2899a57da59f433182eba571881884d6323e","status":"affected","lessThan":"e666af5dcc905ba694745963174d232deb478c55","versionType":"git"},{"version":"659a2899a57da59f433182eba571881884d6323e","status":"affected","lessThan":"374742a961becbbfc7fbfd1382d978a05e492741","versionType":"git"},{"version":"659a2899a57da59f433182eba571881884d6323e","status":"affected","lessThan":"2c1931a81122c3cdc4c89448fe0442c69e21c0d5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_ipv4.c","net/ipv6/tcp_ipv6.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_ipv4.c","net/ipv6/tcp_ipv6.c"]}],"references":["https://git.kernel.org/stable/c/e666af5dcc905ba694745963174d232deb478c55","https://git.kernel.org/stable/c/374742a961becbbfc7fbfd1382d978a05e492741","https://git.kernel.org/stable/c/2c1931a81122c3cdc4c89448fe0442c69e21c0d5"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68379.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68379","state":"PUBLISHED","datePublished":"2026-08-10T12:03:57.537Z","dateUpdated":"2026-08-17T05:04:25.324Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.387Z"},"containers":{"cna":{"title":"tcp: fix TIME_WAIT socket reference leak on PSP policy failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix TIME_WAIT socket reference leak on PSP policy failure\n\nRelease the TIME_WAIT socket reference and jump to discard_it\nupon PSP policy failure in both IPv4 and IPv6 receive paths.\nThis prevents a memory leak of tcp_tw_bucket structures."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"659a2899a57da59f433182eba571881884d6323e","status":"affected","lessThan":"e666af5dcc905ba694745963174d232deb478c55","versionType":"git"},{"version":"659a2899a57da59f433182eba571881884d6323e","status":"affected","lessThan":"374742a961becbbfc7fbfd1382d978a05e492741","versionType":"git"},{"version":"659a2899a57da59f433182eba571881884d6323e","status":"affected","lessThan":"2c1931a81122c3cdc4c89448fe0442c69e21c0d5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_ipv4.c","net/ipv6/tcp_ipv6.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_ipv4.c","net/ipv6/tcp_ipv6.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e666af5dcc905ba694745963174d232deb478c55"},{"url":"https://git.kernel.org/stable/c/374742a961becbbfc7fbfd1382d978a05e492741"},{"url":"https://git.kernel.org/stable/c/2c1931a81122c3cdc4c89448fe0442c69e21c0d5"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The leak is triggered entirely by a received TCP segment processed in tcp_v4_rcv()/tcp_v6_rcv() do_time_wait path; a remote peer sending a crafted SYN to a socket in TIME_WAIT reaches the faulty code with no local access.\nAC:L - The attacker fully controls the trigger: send a plain non-PSP-encapsulated SYN with a sequence number above tw_rcv_nxt on the known 4-tuple of a just-closed PSP connection, which deterministically yields TCP_TW_SYN plus a PSP policy failure and leaks the reference every time.\nPR:N - No authentication or privileges are needed; the packet is handled in the TCP input path before any socket-level authorization, and the sender need only be the remote endpoint of a previously established connection.\nUI:N - Processing happens in softirq context on packet receive with no involvement from any local user or administrator.\nS:U - The leaked tcp_timewait_sock and psp_assoc objects are kernel memory managed by the same security authority as the vulnerable TCP receive path; no privilege or virtualization boundary is crossed.\nC:N - The missing inet_twsk_put() only omits a refcount decrement; no memory is read out of bounds, no freed object is accessed, and no data is returned to the attacker.\nI:N - No kernel data is modified or corrupted; the refcount simply never reaches zero, and refcount_t saturates rather than wrapping, so no use-after-free or write primitive arises.\nA:H - Each triggering packet permanently leaks a tcp_timewait_sock slab object plus its pinned psp_assoc, never reclaimed for the life of the boot; an unauthenticated peer can repeat this across arbitrarily many connections to exhaust kernel memory and drive the system to OOM."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:04:25.324Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}