{"id":"CVE-2022-49026","state":"PUBLISHED","title":"e100: Fix possible use after free in e100_xmit_prepare","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ne100: Fix possible use after free in e100_xmit_prepare\n\nIn e100_xmit_prepare(), if we can't map the skb, then return -ENOMEM, so\ne100_xmit_frame() will return NETDEV_TX_BUSY and the upper layer will\nresend the skb. But the skb is already freed, which will cause UAF bug\nwhen the upper layer resends the skb.\n\nRemove the harmful free.","publishedAt":"2024-10-21T20:06:31.876Z","updatedAt":"2026-08-05T08:53:32.469Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5e5d49422dfb035ca9e280cd61d434095c151272","status":"affected","lessThan":"b775f37d943966f6f77dca402f5a9dedce502c25","versionType":"git"},{"version":"5e5d49422dfb035ca9e280cd61d434095c151272","status":"affected","lessThan":"9fc27d22cdb9b1fcd754599d216a8992fed280cd","versionType":"git"},{"version":"5e5d49422dfb035ca9e280cd61d434095c151272","status":"affected","lessThan":"b46f6144ab89d3d757ead940759c505091626a7d","versionType":"git"},{"version":"5e5d49422dfb035ca9e280cd61d434095c151272","status":"affected","lessThan":"45605c75c52c7ae7bfe902214343aabcfe5ba0ff","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/e100.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.3","versionType":"semver"},{"version":"5.10.158","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.82","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.12","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","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/intel/e100.c"]}],"references":["https://git.kernel.org/stable/c/b775f37d943966f6f77dca402f5a9dedce502c25","https://git.kernel.org/stable/c/9fc27d22cdb9b1fcd754599d216a8992fed280cd","https://git.kernel.org/stable/c/b46f6144ab89d3d757ead940759c505091626a7d","https://git.kernel.org/stable/c/45605c75c52c7ae7bfe902214343aabcfe5ba0ff"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49026.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49026","state":"PUBLISHED","datePublished":"2024-10-21T20:06:31.876Z","dateUpdated":"2026-08-05T08:53:32.469Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-22T01:27:53.651Z"},"containers":{"cna":{"title":"e100: Fix possible use after free in e100_xmit_prepare","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ne100: Fix possible use after free in e100_xmit_prepare\n\nIn e100_xmit_prepare(), if we can't map the skb, then return -ENOMEM, so\ne100_xmit_frame() will return NETDEV_TX_BUSY and the upper layer will\nresend the skb. But the skb is already freed, which will cause UAF bug\nwhen the upper layer resends the skb.\n\nRemove the harmful free."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5e5d49422dfb035ca9e280cd61d434095c151272","status":"affected","lessThan":"b775f37d943966f6f77dca402f5a9dedce502c25","versionType":"git"},{"version":"5e5d49422dfb035ca9e280cd61d434095c151272","status":"affected","lessThan":"9fc27d22cdb9b1fcd754599d216a8992fed280cd","versionType":"git"},{"version":"5e5d49422dfb035ca9e280cd61d434095c151272","status":"affected","lessThan":"b46f6144ab89d3d757ead940759c505091626a7d","versionType":"git"},{"version":"5e5d49422dfb035ca9e280cd61d434095c151272","status":"affected","lessThan":"45605c75c52c7ae7bfe902214343aabcfe5ba0ff","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/e100.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.3","versionType":"semver"},{"version":"5.10.158","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.82","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.12","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","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/intel/e100.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b775f37d943966f6f77dca402f5a9dedce502c25"},{"url":"https://git.kernel.org/stable/c/9fc27d22cdb9b1fcd754599d216a8992fed280cd"},{"url":"https://git.kernel.org/stable/c/b46f6144ab89d3d757ead940759c505091626a7d"},{"url":"https://git.kernel.org/stable/c/45605c75c52c7ae7bfe902214343aabcfe5ba0ff"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The UAF is in the e100 ndo_start_xmit path (e100_xmit_frame → e100_exec_cb → e100_xmit_prepare), reached when a local process transmits via an ordinary socket send routed over the e100 netdev; remote peers do not parse into this TX-prepare path.\nAC:L - Once DMA mapping fails, the free-then-NETDEV_TX_BUSY requeue UAF is deterministic with no race; a local attacker can induce mapping failure by exhausting swiotlb/IOMMU resources against this 32-bit DMA device, which is within attacker influence.\nPR:L - Any unprivileged local user can send packets out an up e100 interface through the generic networking stack; no CAP_NET_ADMIN or other capability is required on the transmit path.\nUI:N - The attacker triggers the TX path and resource exhaustion themselves via their own send syscalls; no victim action is required.\nS:U - This is a standard in-kernel skb heap UAF enabling local privilege escalation within the same kernel security authority, with no VM, IOMMU, or sandbox boundary crossed.\nC:H - Use-after-free of the requeued skb allows heap spraying and reuse of the freed object, enabling arbitrary kernel memory disclosure primitives.\nI:H - The same skb UAF (and the dangling cb->skb later freed again in e100_clean_cbs) enables heap corruption and write primitives suitable for control-flow hijacking or arbitrary kernel writes.\nA:H - Reusing the freed skb on TX retry or interface cleanup reliably causes kernel oops/panic even without a full exploit."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T08:53:32.469Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"5.10.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"5.15.82"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"6.0.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.3","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-49026","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:11:54.975076Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:18:36.450Z"}}]}}}