Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-52982

net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit()
Back to all
CVE

CVE-2026-52982

net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit()

In the Linux kernel, the following vulnerability has been resolved:

net: usb: rtl8150: fix use-after-free in rtl8150startxmit()

syzbot reported a KASAN slab-use-after-free read in rtl8150startxmit()

when accessing skb->len for tx statistics after usbsubmiturb() has

been called:

  BUG: KASAN: slab-use-after-free in rtl8150startxmit+0x71f/0x760

    drivers/net/usb/rtl8150.c:712

  Read of size 4 at addr ffff88810eb7a930 by task kworker/0:4/5226

The URB completion handler writebulkcallback() frees the skb via

devkfreeskbirq(dev->txskb). The URB may complete on another CPU

in softirq context before usbsubmiturb() returns in the submitter,

so by the time the submitter reads skb->len the skb has already been

queued to the per-CPU completionqueue and freed by nettx_action():

  CPU A (xmit)                      CPU B (USB completion softirq)

  ------------                      ------------------------------

  dev->tx_skb = skb;

  usbsubmiturb()      --+

                          |-------> writebulkcallback()

                          |           devkfreeskbirq(dev->txskb)

                          |         nettxaction()

                          |           napiskbcache_put()   <-- free

  netdev->stats.tx_bytes  |

    += skb->len;          <-- UAF read

Fix it by caching skb->len before submitting the URB and using the

cached value when updating the tx_bytes counter.

The pre-existing tx_bytes semantics are preserved: the counter tracks

the original frame length (skb->len), not the ETH_ZLEN/USB-alignment

padded "count" value that is handed to the device.  Changing that

would be a user-visible accounting change and is out of scope for

this UAF fix.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/23f0e34c64acba15cad4d23e50f41f533da195fa, https://git.kernel.org/stable/c/24831b0b2ada9fef18d1f486b7b7c444ee5ba637, https://git.kernel.org/stable/c/30cf9829d09ca958279c937af8e35495cd2f1e09, https://git.kernel.org/stable/c/423b5b86e14e190f6e3161eb5f2ea5f908295ba7, https://git.kernel.org/stable/c/4dd7eb94f79486b77ca6b4c8676aedbc465dc802, https://git.kernel.org/stable/c/5af290c86fa81ddbc86a08d54229af5daa40c6a4, https://git.kernel.org/stable/c/5db090ca07b28a63fb1499690cf19a3f3adafacb, https://git.kernel.org/stable/c/6999d70e0eda39af029fa1891c48f0a8832b09d5, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52982.json, https://nvd.nist.gov/vuln/detail/CVE-2026-52982, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00536%
EPSS Percentile
0.43035%
Introduced Version
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2,2.6.12,5.11.0,5.16.0,6.2.0,6.7.0,6.13.0,6.19.0,0
Fix Available
23f0e34c64acba15cad4d23e50f41f533da195fa,5.10.258,5.15.209,6.1.175,6.6.141,6.12.91,6.18.33,7.0.10,6.1.176-1,5.10.259-1,6.1.176-1~deb11u1,6.12.94-1,4.15.0-254.266,4.15.0-1195.208,5.4.0-1162.173~18.04.1,4.15.0-1205.220,4.15.0-1188.205,5.4.0-1165.174~18.04.1,5.4.0-234.254~18.04.1,5.4.0-1108.113~18.04.1,4.15.0-1177.182,4.15.0-1158.169,5.4.0-1145.158~18.04.1,5.4.0-234.254,5.4.0-1162.173,5.15.0-1112.119~20.04.1,5.4.0-1167.173,5.15.0-1117.126~20.04.1,5.15.0-1117.126~20.04.2,5.4.0-1121.128,5.4.0-1165.174,5.15.0-186.196~20.04.1,5.4.0-1108.113,5.15.0-1106.110~20.04.1,5.15.0-1107.113~20.04.1,5.4.0-1066.69,5.15.0-184.194~20.04.1,5.15.0-1064.66~20.04.1,5.4.0-1160.170,5.15.0-1109.115~20.04.1,5.4.0-1145.158,5.4.0-1080.84,6.8.0-136.136,6.8.0-1061.64,6.8.0-1063.71,6.8.0-1062.69,6.8.0-1064.72,6.8.0-1059.67,6.8.0-1046.50,7.0.0-28.28~24.04.1,6.8.0-1061.62,6.8.0-136.136.2,6.8.0-1059.62,7.0.0-1016.16~24.04.1,6.8.0-1059.62.1,6.8.0-1030.31,6.8.0-1058.61,6.8.0-1061.65,6.8.0-1033.34,5.15.0-186.196,5.15.0-1112.119,6.8.0-1061.64~22.04.1,5.15.0-1117.126,6.8.0-1063.71~22.04.1,6.8.0-1062.69~22.04.1,5.15.0-1112.122,6.8.0-1064.72~22.04.1,5.15.0-1108.114,5.15.0-1095.103,6.8.0-136.136~22.04.1,5.15.0-1106.110,6.8.0-1061.62~22.04.1,5.15.0-1107.113,5.15.0-1104.109,5.15.0-184.194,6.8.0-136.136.2~22.04.1,5.15.0-1107.108,6.8.0-1059.62~22.04.1,5.15.0-1064.66,5.15.0-1053.53,5.15.0-1109.115,6.8.0-1058.61~22.04.1,6.8.0-136.136~22.04.3,5.15.0-1075.79,0:5.10.258-257.1041.amzn2,0:1.0-0.amzn2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading