{
  "id": "CVE-2025-38153",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38153",
  "published_at": "2025-07-03T08:35:56.526Z",
  "title": "net: usb: aqc111: fix error handling of usbnet read calls",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: aqc111: fix error handling of usbnet read calls\n\nSyzkaller, courtesy of syzbot, identified an error (see report [1]) in\naqc111 driver, caused by incomplete sanitation of usb read calls'\nresults. This problem is quite similar to the one fixed in commit\n920a9fa27e78 (\"net: asix: add proper error handling of usb read errors\").\n\nFor instance, usbnet_read_cmd() may read fewer than 'size' bytes,\neven if the caller expected the full amount, and aqc111_read_cmd()\nwill not check its result properly. As [1] shows, this may lead\nto MAC address in aqc111_bind() being only partly initialized,\ntriggering KMSAN warnings.\n\nFix the issue by verifying that the number of bytes read is\nas expected and not less.\n\n[1] Partial syzbot report:\nBUG: KMSAN: uninit-value in is_valid_ether_addr include/linux/etherdevice.h:208 [inline]\nBUG: KMSAN: uninit-value in usbnet_probe+0x2e57/0x4390 drivers/net/usb/usbnet.c:1830\n is_valid_ether_addr include/linux/etherdevice.h:208 [inline]\n usbnet_probe+0x2e57/0x4390 drivers/net/usb/usbnet.c:1830\n usb_probe_interface+0xd01/0x1310 drivers/usb/core/driver.c:396\n call_driver_probe drivers/base/dd.c:-1 [inline]\n really_probe+0x4d1/0xd90 drivers/base/dd.c:658\n __driver_probe_device+0x268/0x380 drivers/base/dd.c:800\n...\n\nUninit was stored to memory at:\n dev_addr_mod+0xb0/0x550 net/core/dev_addr_lists.c:582\n __dev_addr_set include/linux/netdevice.h:4874 [inline]\n eth_hw_addr_set include/linux/etherdevice.h:325 [inline]\n aqc111_bind+0x35f/0x1150 drivers/net/usb/aqc111.c:717\n usbnet_probe+0xbe6/0x4390 drivers/net/usb/usbnet.c:1772\n usb_probe_interface+0xd01/0x1310 drivers/usb/core/driver.c:396\n...\n\nUninit was stored to memory at:\n ether_addr_copy include/linux/etherdevice.h:305 [inline]\n aqc111_read_perm_mac drivers/net/usb/aqc111.c:663 [inline]\n aqc111_bind+0x794/0x1150 drivers/net/usb/aqc111.c:713\n usbnet_probe+0xbe6/0x4390 drivers/net/usb/usbnet.c:1772\n usb_probe_interface+0xd01/0x1310 drivers/usb/core/driver.c:396\n call_driver_probe drivers/base/dd.c:-1 [inline]\n...\n\nLocal variable buf.i created at:\n aqc111_read_perm_mac drivers/net/usb/aqc111.c:656 [inline]\n aqc111_bind+0x221/0x1150 drivers/net/usb/aqc111.c:713\n usbnet_probe+0xbe6/0x4390 drivers/net/usb/usbnet.c:1772",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= df2d59a2ab6c9ceac2c4104272fce03493b8f62f, \u003c 8c97655275482ef5384ce0501640630a0fc0f6f4",
          "\u003e= df2d59a2ab6c9ceac2c4104272fce03493b8f62f, \u003c 11273279012c922f37cfb4dd95d142803fc07b98",
          "\u003e= df2d59a2ab6c9ceac2c4104272fce03493b8f62f, \u003c f398d2dfe450ce2c031d10b585448862d74a0501",
          "\u003e= df2d59a2ab6c9ceac2c4104272fce03493b8f62f, \u003c acb47a40b5e38be03ef659b7bacdddc592ed73b7",
          "\u003e= df2d59a2ab6c9ceac2c4104272fce03493b8f62f, \u003c 60790d287c1a1ced3554d4a87c2f27bf299a932a",
          "\u003e= df2d59a2ab6c9ceac2c4104272fce03493b8f62f, \u003c 30a9e834c74e260533b8d0885e3c89f6f32f7993",
          "\u003e= df2d59a2ab6c9ceac2c4104272fce03493b8f62f, \u003c 7c01863b1c47f040d9674171e77789a423b9b128",
          "\u003e= df2d59a2ab6c9ceac2c4104272fce03493b8f62f, \u003c 405b0d610745fb5e84fc2961d9b960abb9f3d107"
        ],
        "fixed_in": [
          "8c97655275482ef5384ce0501640630a0fc0f6f4",
          "11273279012c922f37cfb4dd95d142803fc07b98",
          "f398d2dfe450ce2c031d10b585448862d74a0501",
          "acb47a40b5e38be03ef659b7bacdddc592ed73b7",
          "60790d287c1a1ced3554d4a87c2f27bf299a932a",
          "30a9e834c74e260533b8d0885e3c89f6f32f7993",
          "7c01863b1c47f040d9674171e77789a423b9b128",
          "405b0d610745fb5e84fc2961d9b960abb9f3d107"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.0"
        ],
        "fixed_in": [
          "0",
          "5.4.295",
          "5.10.239",
          "5.15.186",
          "6.1.142",
          "6.6.94",
          "6.12.34",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8c97655275482ef5384ce0501640630a0fc0f6f4 or 11273279012c922f37cfb4dd95d142803fc07b98 or f398d2dfe450ce2c031d10b585448862d74a0501 or acb47a40b5e38be03ef659b7bacdddc592ed73b7 or 60790d287c1a1ced3554d4a87c2f27bf299a932a or 30a9e834c74e260533b8d0885e3c89f6f32f7993 or 7c01863b1c47f040d9674171e77789a423b9b128 or 405b0d610745fb5e84fc2961d9b960abb9f3d107 or later.",
      "Upgrade Linux to 0 or 5.4.295 or 5.10.239 or 5.15.186 or 6.1.142 or 6.6.94 or 6.12.34 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
