{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-52982: net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit()","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-52982","status":"final","version":"1","initial_release_date":"2026-06-24T16:28:57.763Z","current_release_date":"2026-06-28T06:37:35.269Z","revision_history":[{"date":"2026-06-24T16:28:57.763Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: rtl8150: fix use-after-free in rtl8150_start_xmit()\n\nsyzbot reported a KASAN slab-use-after-free read in rtl8150_start_xmit()\nwhen accessing skb->len for tx statistics after usb_submit_urb() has\nbeen called:\n\n  BUG: KASAN: slab-use-after-free in rtl8150_start_xmit+0x71f/0x760\n    drivers/net/usb/rtl8150.c:712\n  Read of size 4 at addr ffff88810eb7a930 by task kworker/0:4/5226\n\nThe URB completion handler write_bulk_callback() frees the skb via\ndev_kfree_skb_irq(dev->tx_skb). The URB may complete on another CPU\nin softirq context before usb_submit_urb() returns in the submitter,\nso by the time the submitter reads skb->len the skb has already been\nqueued to the per-CPU completion_queue and freed by net_tx_action():\n\n  CPU A (xmit)                      CPU B (USB completion softirq)\n  ------------                      ------------------------------\n  dev->tx_skb = skb;\n  usb_submit_urb()      --+\n                          |-------> write_bulk_callback()\n                          |           dev_kfree_skb_irq(dev->tx_skb)\n                          |         net_tx_action()\n                          |           napi_skb_cache_put()   <-- free\n  netdev->stats.tx_bytes  |\n    += skb->len;          <-- UAF read\n\nFix it by caching skb->len before submitting the URB and using the\ncached value when updating the tx_bytes counter.\n\nThe pre-existing tx_bytes semantics are preserved: the counter tracks\nthe original frame length (skb->len), not the ETH_ZLEN/USB-alignment\npadded \"count\" value that is handed to the device.  Changing that\nwould be a user-visible accounting change and is out of scope for\nthis UAF fix.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-52982 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-52982"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-52982"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/5af290c86fa81ddbc86a08d54229af5daa40c6a4"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/24831b0b2ada9fef18d1f486b7b7c444ee5ba637"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/423b5b86e14e190f6e3161eb5f2ea5f908295ba7"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/5db090ca07b28a63fb1499690cf19a3f3adafacb"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/30cf9829d09ca958279c937af8e35495cd2f1e09"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/6999d70e0eda39af029fa1891c48f0a8832b09d5"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/4dd7eb94f79486b77ca6b4c8676aedbc465dc802"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/23f0e34c64acba15cad4d23e50f41f533da195fa"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5af290c86fa81ddbc86a08d54229af5daa40c6a4","product":{"name":"Linux Linux >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5af290c86fa81ddbc86a08d54229af5daa40c6a4","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <24831b0b2ada9fef18d1f486b7b7c444ee5ba637","product":{"name":"Linux Linux >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <24831b0b2ada9fef18d1f486b7b7c444ee5ba637","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <423b5b86e14e190f6e3161eb5f2ea5f908295ba7","product":{"name":"Linux Linux >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <423b5b86e14e190f6e3161eb5f2ea5f908295ba7","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5db090ca07b28a63fb1499690cf19a3f3adafacb","product":{"name":"Linux Linux >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5db090ca07b28a63fb1499690cf19a3f3adafacb","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <30cf9829d09ca958279c937af8e35495cd2f1e09","product":{"name":"Linux Linux >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <30cf9829d09ca958279c937af8e35495cd2f1e09","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6999d70e0eda39af029fa1891c48f0a8832b09d5","product":{"name":"Linux Linux >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6999d70e0eda39af029fa1891c48f0a8832b09d5","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4dd7eb94f79486b77ca6b4c8676aedbc465dc802","product":{"name":"Linux Linux >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4dd7eb94f79486b77ca6b4c8676aedbc465dc802","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <23f0e34c64acba15cad4d23e50f41f533da195fa","product":{"name":"Linux Linux >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <23f0e34c64acba15cad4d23e50f41f533da195fa","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version","name":"2.6.12","product":{"name":"Linux Linux 2.6.12","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.10.258","product":{"name":"Linux Linux 5.10.258","product_id":"CSAFPID-11","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.15.209","product":{"name":"Linux Linux 5.15.209","product_id":"CSAFPID-12","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.1.175","product":{"name":"Linux Linux 6.1.175","product_id":"CSAFPID-13","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.6.141","product":{"name":"Linux Linux 6.6.141","product_id":"CSAFPID-14","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.91","product":{"name":"Linux Linux 6.12.91","product_id":"CSAFPID-15","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.33","product":{"name":"Linux Linux 6.18.33","product_id":"CSAFPID-16","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.10","product":{"name":"Linux Linux 7.0.10","product_id":"CSAFPID-17","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1","product":{"name":"Linux Linux 7.1","product_id":"CSAFPID-18","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.12:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-52982","title":"net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit()","notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: rtl8150: fix use-after-free in rtl8150_start_xmit()\n\nsyzbot reported a KASAN slab-use-after-free read in rtl8150_start_xmit()\nwhen accessing skb->len for tx statistics after usb_submit_urb() has\nbeen called:\n\n  BUG: KASAN: slab-use-after-free in rtl8150_start_xmit+0x71f/0x760\n    drivers/net/usb/rtl8150.c:712\n  Read of size 4 at addr ffff88810eb7a930 by task kworker/0:4/5226\n\nThe URB completion handler write_bulk_callback() frees the skb via\ndev_kfree_skb_irq(dev->tx_skb). The URB may complete on another CPU\nin softirq context before usb_submit_urb() returns in the submitter,\nso by the time the submitter reads skb->len the skb has already been\nqueued to the per-CPU completion_queue and freed by net_tx_action():\n\n  CPU A (xmit)                      CPU B (USB completion softirq)\n  ------------                      ------------------------------\n  dev->tx_skb = skb;\n  usb_submit_urb()      --+\n                          |-------> write_bulk_callback()\n                          |           dev_kfree_skb_irq(dev->tx_skb)\n                          |         net_tx_action()\n                          |           napi_skb_cache_put()   <-- free\n  netdev->stats.tx_bytes  |\n    += skb->len;          <-- UAF read\n\nFix it by caching skb->len before submitting the URB and using the\ncached value when updating the tx_bytes counter.\n\nThe pre-existing tx_bytes semantics are preserved: the counter tracks\nthe original frame length (skb->len), not the ETH_ZLEN/USB-alignment\npadded \"count\" value that is handed to the device.  Changing that\nwould be a user-visible accounting change and is out of scope for\nthis UAF fix.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"],"fixed":["CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15","CSAFPID-16","CSAFPID-17","CSAFPID-18"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 23f0e34c64acba15cad4d23e50f41f533da195fa, 24831b0b2ada9fef18d1f486b7b7c444ee5ba637, 30cf9829d09ca958279c937af8e35495cd2f1e09, 423b5b86e14e190f6e3161eb5f2ea5f908295ba7, 4dd7eb94f79486b77ca6b4c8676aedbc465dc802, 5.10.258, 5.15.209, 5af290c86fa81ddbc86a08d54229af5daa40c6a4, 5db090ca07b28a63fb1499690cf19a3f3adafacb, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 6999d70e0eda39af029fa1891c48f0a8832b09d5, 7.0.10, 7.1.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"]}]}]}