In the Linux kernel, the following vulnerability has been resolved:
net: usb: rtl8150: enable basic endpoint checking
Syzkaller reports [1] encountering a common issue of utilizing a wrong usb endpoint type during URB submitting stage. This, in turn, triggers a warning shown below.
For now, enable simple endpoint checking (specifically, bulk and interrupt eps, testing control one is not essential) to mitigate the issue with a view to do other related cosmetic changes later, if they are necessary.
[1] Syzkaller report: usb 1-1: BOGUS urb xfer, pipe 3 != type 1 WARNING: CPU: 1 PID: 2586 at drivers/usb/core/urb.c:503 usbsubmiturb+0xe4b/0x1730 driv> Modules linked in: CPU: 1 UID: 0 PID: 2586 Comm: dhcpcd Not tainted 6.11.0-rc4-syzkaller-00069-gfc88bb11617> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:usbsubmiturb+0xe4b/0x1730 drivers/usb/core/urb.c:503 Code: 84 3c 02 00 00 e8 05 e4 fc fc 4c 89 ef e8 fd 25 d7 fe 45 89 e0 89 e9 4c 89 f2 48 8> RSP: 0018:ffffc9000441f740 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888112487a00 RCX: ffffffff811a99a9 RDX: ffff88810df6ba80 RSI: ffffffff811a99b6 RDI: 0000000000000001 RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff8881023bf0a8 R14: ffff888112452a20 R15: ffff888112487a7c FS: 00007fc04eea5740(0000) GS:ffff8881f6300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0a1de9f870 CR3: 000000010dbd0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> rtl8150open+0x300/0xe30 drivers/net/usb/rtl8150.c:733 _devopen+0x2d4/0x4e0 net/core/dev.c:1474 _devchangeflags+0x561/0x720 net/core/dev.c:8838 devchangeflags+0x8f/0x160 net/core/dev.c:8910 devinetioctl+0x127a/0x1f10 net/ipv4/devinet.c:1177 inetioctl+0x3aa/0x3f0 net/ipv4/afinet.c:1003 sockdoioctl+0x116/0x280 net/socket.c:1222 sockioctl+0x22e/0x6c0 net/socket.c:1341 vfsioctl fs/ioctl.c:51 [inline] _dosysioctl fs/ioctl.c:907 [inline] _sesysioctl fs/ioctl.c:893 [inline] _x64sysioctl+0x193/0x220 fs/ioctl.c:893 dosyscallx64 arch/x86/entry/common.c:52 [inline] dosyscall64+0xcd/0x250 arch/x86/entry/common.c:83 entrySYSCALL64afterhwframe+0x77/0x7f RIP: 0033:0x7fc04ef73d49 ...
This change has not been tested on real hardware.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69193031150949512851240336636714803543",
"112598874899809725525827524388556065672",
"152489011713127770073906441215592805805",
"196079651788477749397432179708696300296",
"197297308640541327943435552251908152235",
"25631560485221308196679276497554709283",
"310109679103055356149753782042766882471",
"326341849453202068878253542665373498843",
"155540172083167583166320261563261850301",
"167195816364409831444671831328037691020"
]
},
"id": "CVE-2025-21708-28d6c760",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@431be4f78220d34ce21d67a6b843b7ca81bd82e9"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69193031150949512851240336636714803543",
"112598874899809725525827524388556065672",
"152489011713127770073906441215592805805",
"196079651788477749397432179708696300296",
"197297308640541327943435552251908152235",
"25631560485221308196679276497554709283",
"310109679103055356149753782042766882471",
"326341849453202068878253542665373498843",
"155540172083167583166320261563261850301",
"167195816364409831444671831328037691020"
]
},
"id": "CVE-2025-21708-41829905",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e10b392a7495a5dbbb25247e2c17d380d9899263"
},
{
"digest": {
"length": 1249.0,
"function_hash": "278517246311756646978899995267162637227"
},
"id": "CVE-2025-21708-49474554",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "rtl8150_probe",
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3c706829ceb6e347bd4ddfd17f1d3048acd69da2"
},
{
"digest": {
"length": 1249.0,
"function_hash": "278517246311756646978899995267162637227"
},
"id": "CVE-2025-21708-6ed1f0db",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "rtl8150_probe",
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@431be4f78220d34ce21d67a6b843b7ca81bd82e9"
},
{
"digest": {
"length": 1249.0,
"function_hash": "278517246311756646978899995267162637227"
},
"id": "CVE-2025-21708-742fcd2f",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "rtl8150_probe",
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f78a2b9ed4cb1e62c60d0a8905d9a37bc18c20d"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69193031150949512851240336636714803543",
"112598874899809725525827524388556065672",
"152489011713127770073906441215592805805",
"196079651788477749397432179708696300296",
"197297308640541327943435552251908152235",
"25631560485221308196679276497554709283",
"310109679103055356149753782042766882471",
"326341849453202068878253542665373498843",
"155540172083167583166320261563261850301",
"167195816364409831444671831328037691020"
]
},
"id": "CVE-2025-21708-774204cb",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d42168f109f96b5d18812a789086015a435ee667"
},
{
"digest": {
"length": 1249.0,
"function_hash": "278517246311756646978899995267162637227"
},
"id": "CVE-2025-21708-95ad944f",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "rtl8150_probe",
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90b7f2961798793275b4844348619b622f983907"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69193031150949512851240336636714803543",
"112598874899809725525827524388556065672",
"152489011713127770073906441215592805805",
"196079651788477749397432179708696300296",
"197297308640541327943435552251908152235",
"25631560485221308196679276497554709283",
"310109679103055356149753782042766882471",
"326341849453202068878253542665373498843",
"155540172083167583166320261563261850301",
"167195816364409831444671831328037691020"
]
},
"id": "CVE-2025-21708-9e12012d",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c843515ad2be7349dd6b60e5fd299d0da0b8458b"
},
{
"digest": {
"length": 1249.0,
"function_hash": "278517246311756646978899995267162637227"
},
"id": "CVE-2025-21708-a6f5c420",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "rtl8150_probe",
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c843515ad2be7349dd6b60e5fd299d0da0b8458b"
},
{
"digest": {
"length": 1249.0,
"function_hash": "278517246311756646978899995267162637227"
},
"id": "CVE-2025-21708-be2e74af",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "rtl8150_probe",
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e10b392a7495a5dbbb25247e2c17d380d9899263"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69193031150949512851240336636714803543",
"112598874899809725525827524388556065672",
"152489011713127770073906441215592805805",
"196079651788477749397432179708696300296",
"197297308640541327943435552251908152235",
"25631560485221308196679276497554709283",
"310109679103055356149753782042766882471",
"326341849453202068878253542665373498843",
"155540172083167583166320261563261850301",
"167195816364409831444671831328037691020"
]
},
"id": "CVE-2025-21708-be4cff70",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90b7f2961798793275b4844348619b622f983907"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69193031150949512851240336636714803543",
"112598874899809725525827524388556065672",
"152489011713127770073906441215592805805",
"196079651788477749397432179708696300296",
"197297308640541327943435552251908152235",
"25631560485221308196679276497554709283",
"310109679103055356149753782042766882471",
"326341849453202068878253542665373498843",
"155540172083167583166320261563261850301",
"167195816364409831444671831328037691020"
]
},
"id": "CVE-2025-21708-d3af1434",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f78a2b9ed4cb1e62c60d0a8905d9a37bc18c20d"
},
{
"digest": {
"length": 1249.0,
"function_hash": "278517246311756646978899995267162637227"
},
"id": "CVE-2025-21708-e652205a",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "rtl8150_probe",
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f395b7efcee8df54309eb2d4a624ef13f5d88b66"
},
{
"digest": {
"length": 1249.0,
"function_hash": "278517246311756646978899995267162637227"
},
"id": "CVE-2025-21708-ec8c8ac6",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "rtl8150_probe",
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d42168f109f96b5d18812a789086015a435ee667"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69193031150949512851240336636714803543",
"112598874899809725525827524388556065672",
"152489011713127770073906441215592805805",
"196079651788477749397432179708696300296",
"197297308640541327943435552251908152235",
"25631560485221308196679276497554709283",
"310109679103055356149753782042766882471",
"326341849453202068878253542665373498843",
"155540172083167583166320261563261850301",
"167195816364409831444671831328037691020"
]
},
"id": "CVE-2025-21708-f38a8938",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3c706829ceb6e347bd4ddfd17f1d3048acd69da2"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"69193031150949512851240336636714803543",
"112598874899809725525827524388556065672",
"152489011713127770073906441215592805805",
"196079651788477749397432179708696300296",
"197297308640541327943435552251908152235",
"25631560485221308196679276497554709283",
"310109679103055356149753782042766882471",
"326341849453202068878253542665373498843",
"155540172083167583166320261563261850301",
"167195816364409831444671831328037691020"
]
},
"id": "CVE-2025-21708-f6828037",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/usb/rtl8150.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f395b7efcee8df54309eb2d4a624ef13f5d88b66"
}
]