{"id":"CVE-2026-139248","state":"PUBLISHED","title":"octeontx2: Fix use-after-free of qos node in delete path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2: Fix use-after-free of qos node in delete path\n\nhash_del_rcu() only unlinks the node; a reader that already holds the\nbucket iterator still uses the node.  The immediate kfree() has no\ngrace period, so a concurrent transmit on a socket whose skb priority\ncarries the deleted classid reads node->classid / node->qid from freed\nmemory (use-after-free in the softirq transmit path).\n\nFix this by calling synchronize_net() before the node is freed, as\nmlx5e does.\n\nFound during a static-analysis-assisted audit: candidate sites were\nsurfaced by a Coccinelle rule, and the reader/writer paths were\nconfirmed by LLM-assisted (GLM-5.3) code inspection.  The issue was\nnot observed at runtime; it is identified by code inspection only.","publishedAt":"2026-11-30T13:32:59.536Z","updatedAt":"2026-11-30T13:32:59.536Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394","versionType":"git"},{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6","versionType":"git"},{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"a90c1fe77463c549b2da5718ca212a663e06618e","versionType":"git"},{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"69b78aa3fef0f9c56077578159b94d6b6834f21f","versionType":"git"},{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"dcaa6219648955f7a8160313f1685321dbd1bf28","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/nic/qos.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/nic/qos.c"]}],"references":["https://git.kernel.org/stable/c/f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394","https://git.kernel.org/stable/c/6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6","https://git.kernel.org/stable/c/a90c1fe77463c549b2da5718ca212a663e06618e","https://git.kernel.org/stable/c/69b78aa3fef0f9c56077578159b94d6b6834f21f","https://git.kernel.org/stable/c/dcaa6219648955f7a8160313f1685321dbd1bf28"],"weaknesses":[],"ingestedAt":"2026-11-30T13:46:04.484Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139248.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139248","state":"PUBLISHED","datePublished":"2026-11-30T13:32:59.536Z","dateUpdated":"2026-11-30T13:32:59.536Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.922Z"},"containers":{"cna":{"title":"octeontx2: Fix use-after-free of qos node in delete path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2: Fix use-after-free of qos node in delete path\n\nhash_del_rcu() only unlinks the node; a reader that already holds the\nbucket iterator still uses the node.  The immediate kfree() has no\ngrace period, so a concurrent transmit on a socket whose skb priority\ncarries the deleted classid reads node->classid / node->qid from freed\nmemory (use-after-free in the softirq transmit path).\n\nFix this by calling synchronize_net() before the node is freed, as\nmlx5e does.\n\nFound during a static-analysis-assisted audit: candidate sites were\nsurfaced by a Coccinelle rule, and the reader/writer paths were\nconfirmed by LLM-assisted (GLM-5.3) code inspection.  The issue was\nnot observed at runtime; it is identified by code inspection only."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394","versionType":"git"},{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6","versionType":"git"},{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"a90c1fe77463c549b2da5718ca212a663e06618e","versionType":"git"},{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"69b78aa3fef0f9c56077578159b94d6b6834f21f","versionType":"git"},{"version":"5e6808b4c68d7882971514ab3279926eb07c8b2d","status":"affected","lessThan":"dcaa6219648955f7a8160313f1685321dbd1bf28","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/nic/qos.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeontx2/nic/qos.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394"},{"url":"https://git.kernel.org/stable/c/6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6"},{"url":"https://git.kernel.org/stable/c/a90c1fe77463c549b2da5718ca212a663e06618e"},{"url":"https://git.kernel.org/stable/c/69b78aa3fef0f9c56077578159b94d6b6834f21f"},{"url":"https://git.kernel.org/stable/c/dcaa6219648955f7a8160313f1685321dbd1bf28"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:32:59.536Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}