{"api_version":"1","generated_at":"2026-12-02T03:08:57+00:00","cve":"CVE-2026-139255","urls":{"html":"https://cve.report/CVE-2026-139255","api":"https://cve.report/api/cve/CVE-2026-139255.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139255","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139255"},"summary":{"title":"xsk: freeze deferred pool teardown without blocking unregister","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: freeze deferred pool teardown without blocking unregister\n\nDeferred pool destruction calls ndo_bpf() under RTNL. system_wq is\nnot frozen during system sleep, so that callback can run after a\ndevice has suspended and gated its clocks. Use system_freezable_wq\nso running destruction finishes before device suspend and new work\nwaits until process thaw.\n\nKeep assigned pools visible to NETDEV_UNREGISTER independently of\nthe socket list. A released socket has already left that list, but\nits final pool put can queue destruction after workqueues freeze.\nA resume-time unregister would then wait for a device reference\nwhose release cannot run until the resume completes.\n\nTrack assigned pools per netdev with netdev operations locking and detach\nremaining pools after the notifier socket walk, including copy-mode pools.\nThis also covers leased queues without scanning pools from unrelated\ndevices or network namespaces. Remove the entry on assignment failure and\nnormal teardown. The deferred worker still owns the pool and later observes\nthe cleared device pointer, avoiding a second driver detach or put.\n\nThe lifetime problem was identified by code inspection of the deferred\nrelease and system-sleep paths.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:48","updated_at":"2026-11-30 14:18:48"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/fece8420e76fe53ee84f0439f18d026b4c7641da","name":"https://git.kernel.org/stable/c/fece8420e76fe53ee84f0439f18d026b4c7641da","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e20e5f49c083eeba97f5cb14e02f637473c799e2","name":"https://git.kernel.org/stable/c/e20e5f49c083eeba97f5cb14e02f637473c799e2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b63d4baaa5b5450f07e85ae36311fbe770e0f43e","name":"https://git.kernel.org/stable/c/b63d4baaa5b5450f07e85ae36311fbe770e0f43e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d20aa0909529597e07b83771a980e070d767c945","name":"https://git.kernel.org/stable/c/d20aa0909529597e07b83771a980e070d767c945","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139255","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139255","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c1efc2af158869795d3334a12fed2afd9c51539 b63d4baaa5b5450f07e85ae36311fbe770e0f43e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c1efc2af158869795d3334a12fed2afd9c51539 d20aa0909529597e07b83771a980e070d767c945 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c1efc2af158869795d3334a12fed2afd9c51539 e20e5f49c083eeba97f5cb14e02f637473c799e2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c1efc2af158869795d3334a12fed2afd9c51539 fece8420e76fe53ee84f0439f18d026b4c7641da git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/linux/netdevice.h","include/net/xsk_buff_pool.h","net/xdp/xsk.c","net/xdp/xsk_buff_pool.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b63d4baaa5b5450f07e85ae36311fbe770e0f43e","status":"affected","version":"1c1efc2af158869795d3334a12fed2afd9c51539","versionType":"git"},{"lessThan":"d20aa0909529597e07b83771a980e070d767c945","status":"affected","version":"1c1efc2af158869795d3334a12fed2afd9c51539","versionType":"git"},{"lessThan":"e20e5f49c083eeba97f5cb14e02f637473c799e2","status":"affected","version":"1c1efc2af158869795d3334a12fed2afd9c51539","versionType":"git"},{"lessThan":"fece8420e76fe53ee84f0439f18d026b4c7641da","status":"affected","version":"1c1efc2af158869795d3334a12fed2afd9c51539","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/linux/netdevice.h","include/net/xsk_buff_pool.h","net/xdp/xsk.c","net/xdp/xsk_buff_pool.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.10"},{"lessThan":"5.10","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: freeze deferred pool teardown without blocking unregister\n\nDeferred pool destruction calls ndo_bpf() under RTNL. system_wq is\nnot frozen during system sleep, so that callback can run after a\ndevice has suspended and gated its clocks. Use system_freezable_wq\nso running destruction finishes before device suspend and new work\nwaits until process thaw.\n\nKeep assigned pools visible to NETDEV_UNREGISTER independently of\nthe socket list. A released socket has already left that list, but\nits final pool put can queue destruction after workqueues freeze.\nA resume-time unregister would then wait for a device reference\nwhose release cannot run until the resume completes.\n\nTrack assigned pools per netdev with netdev operations locking and detach\nremaining pools after the notifier socket walk, including copy-mode pools.\nThis also covers leased queues without scanning pools from unrelated\ndevices or network namespaces. Remove the entry on assignment failure and\nnormal teardown. The deferred worker still owns the pool and later observes\nthe cleared device pointer, avoiding a second driver detach or put.\n\nThe lifetime problem was identified by code inspection of the deferred\nrelease and system-sleep paths."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:33:03.357Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b63d4baaa5b5450f07e85ae36311fbe770e0f43e"},{"url":"https://git.kernel.org/stable/c/d20aa0909529597e07b83771a980e070d767c945"},{"url":"https://git.kernel.org/stable/c/e20e5f49c083eeba97f5cb14e02f637473c799e2"},{"url":"https://git.kernel.org/stable/c/fece8420e76fe53ee84f0439f18d026b4c7641da"}],"title":"xsk: freeze deferred pool teardown without blocking unregister","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139255","datePublished":"2026-11-30T13:33:03.357Z","dateReserved":"2026-11-30T13:22:15.923Z","dateUpdated":"2026-11-30T13:33:03.357Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:48","lastModifiedDate":"2026-11-30 14:18:48","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139255","Ordinal":"1","Title":"xsk: freeze deferred pool teardown without blocking unregister","CVE":"CVE-2026-139255","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139255","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: freeze deferred pool teardown without blocking unregister\n\nDeferred pool destruction calls ndo_bpf() under RTNL. system_wq is\nnot frozen during system sleep, so that callback can run after a\ndevice has suspended and gated its clocks. Use system_freezable_wq\nso running destruction finishes before device suspend and new work\nwaits until process thaw.\n\nKeep assigned pools visible to NETDEV_UNREGISTER independently of\nthe socket list. A released socket has already left that list, but\nits final pool put can queue destruction after workqueues freeze.\nA resume-time unregister would then wait for a device reference\nwhose release cannot run until the resume completes.\n\nTrack assigned pools per netdev with netdev operations locking and detach\nremaining pools after the notifier socket walk, including copy-mode pools.\nThis also covers leased queues without scanning pools from unrelated\ndevices or network namespaces. Remove the entry on assignment failure and\nnormal teardown. The deferred worker still owns the pool and later observes\nthe cleared device pointer, avoiding a second driver detach or put.\n\nThe lifetime problem was identified by code inspection of the deferred\nrelease and system-sleep paths.","Type":"Description","Title":"xsk: freeze deferred pool teardown without blocking unregister"}]}}}