{
  "id": "CVE-2025-38159",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38159",
  "published_at": "2025-07-03T08:36:01.49Z",
  "title": "wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds",
  "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\nwifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds\n\nSet the size to 6 instead of 2, since 'para' array is passed to\n'rtw_fw_bt_wifi_control(rtwdev, para[0], \u0026para[1])', which reads\n5 bytes:\n\nvoid rtw_fw_bt_wifi_control(struct rtw_dev *rtwdev, u8 op_code, u8 *data)\n{\n    ...\n    SET_BT_WIFI_CONTROL_DATA1(h2c_pkt, *data);\n    SET_BT_WIFI_CONTROL_DATA2(h2c_pkt, *(data + 1));\n    ...\n    SET_BT_WIFI_CONTROL_DATA5(h2c_pkt, *(data + 4));\n\nDetected using the static analysis tool - Svace.",
  "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= 4136214f7c46839c15f0f177fe1d5052302c0205, \u003c 1ee8ea6937d13b20f90ff35d71ccc03ba448182d",
          "\u003e= 4136214f7c46839c15f0f177fe1d5052302c0205, \u003c 68a1037f0bac4de9a585aa9c879ef886109f3647",
          "\u003e= 4136214f7c46839c15f0f177fe1d5052302c0205, \u003c 74e18211c2c89ab66c9546baa7408288db61aa0d",
          "\u003e= 4136214f7c46839c15f0f177fe1d5052302c0205, \u003c c13255389499275bc5489a0b5b7940ccea3aef04",
          "\u003e= 4136214f7c46839c15f0f177fe1d5052302c0205, \u003c 9febcc8bded8be0d7efd8237fcef599b6d93b788",
          "\u003e= 4136214f7c46839c15f0f177fe1d5052302c0205, \u003c 4c2c372de2e108319236203cce6de44d70ae15cd"
        ],
        "fixed_in": [
          "1ee8ea6937d13b20f90ff35d71ccc03ba448182d",
          "68a1037f0bac4de9a585aa9c879ef886109f3647",
          "74e18211c2c89ab66c9546baa7408288db61aa0d",
          "c13255389499275bc5489a0b5b7940ccea3aef04",
          "9febcc8bded8be0d7efd8237fcef599b6d93b788",
          "4c2c372de2e108319236203cce6de44d70ae15cd"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.4"
        ],
        "fixed_in": [
          "0",
          "5.15.186",
          "6.1.142",
          "6.6.94",
          "6.12.34",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 1ee8ea6937d13b20f90ff35d71ccc03ba448182d or 68a1037f0bac4de9a585aa9c879ef886109f3647 or 74e18211c2c89ab66c9546baa7408288db61aa0d or c13255389499275bc5489a0b5b7940ccea3aef04 or 9febcc8bded8be0d7efd8237fcef599b6d93b788 or 4c2c372de2e108319236203cce6de44d70ae15cd or later.",
      "Upgrade Linux to 0 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": []
}
