{"id":"CVE-2025-38159","summary":"wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds","details":"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], &para[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.","modified":"2026-04-16T04:35:56.908651255Z","published":"2025-07-03T08:36:01.490Z","related":["ALSA-2025:13589","ALSA-2025:13590","ALSA-2025:13962","SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2026:0350-1","SUSE-SU-2026:0369-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0474-1","SUSE-SU-2026:0496-1","SUSE-SU-2026:0617-1","SUSE-SU-2026:0939-1","SUSE-SU-2026:0940-1","SUSE-SU-2026:0983-1","SUSE-SU-2026:0985-1","SUSE-SU-2026:0992-1","SUSE-SU-2026:0997-1","SUSE-SU-2026:1000-1","SUSE-SU-2026:1002-1","SUSE-SU-2026:1039-1","SUSE-SU-2026:1046-1","SUSE-SU-2026:1048-1","SUSE-SU-2026:1049-1","SUSE-SU-2026:1059-1","SUSE-SU-2026:1073-1","SUSE-SU-2026:1101-1","SUSE-SU-2026:1125-1","SUSE-SU-2026:20847-1","SUSE-SU-2026:20848-1","SUSE-SU-2026:20849-1","SUSE-SU-2026:20850-1","SUSE-SU-2026:20857-1","SUSE-SU-2026:20858-1","SUSE-SU-2026:20859-1","SUSE-SU-2026:20880-1","SUSE-SU-2026:20881-1","SUSE-SU-2026:20882-1","SUSE-SU-2026:20891-1","SUSE-SU-2026:20892-1","SUSE-SU-2026:20893-1","SUSE-SU-2026:20894-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38159.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1ee8ea6937d13b20f90ff35d71ccc03ba448182d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c2c372de2e108319236203cce6de44d70ae15cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68a1037f0bac4de9a585aa9c879ef886109f3647"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74e18211c2c89ab66c9546baa7408288db61aa0d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9febcc8bded8be0d7efd8237fcef599b6d93b788"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c13255389499275bc5489a0b5b7940ccea3aef04"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38159.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38159"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4136214f7c46839c15f0f177fe1d5052302c0205"},{"fixed":"1ee8ea6937d13b20f90ff35d71ccc03ba448182d"},{"fixed":"68a1037f0bac4de9a585aa9c879ef886109f3647"},{"fixed":"74e18211c2c89ab66c9546baa7408288db61aa0d"},{"fixed":"c13255389499275bc5489a0b5b7940ccea3aef04"},{"fixed":"9febcc8bded8be0d7efd8237fcef599b6d93b788"},{"fixed":"4c2c372de2e108319236203cce6de44d70ae15cd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38159.json"}}],"schema_version":"1.7.5"}