{"id":"CVE-2026-74411","summary":"wifi: rtw89: Correct data type for scan index to avoid infinite loop","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw89: Correct data type for scan index to avoid infinite loop\n\nA kernel soft lockup was observed during Wi-Fi scanning on the 6GHz band.\nThe CPU becomes stuck in rtw89_hw_scan_add_chan_ax for over 20 seconds,\nleading to a system panic.\n\nRIP points to 0f b6 c3 (movzbl %bl, %eax), which zero-extends\nthe low 8 bits of RBX into RAX.\nRBX (the counter i) has reached a huge value: 0x137466a1.\n\n  watchdog: BUG: soft lockup - CPU#2 stuck for 26s! [kworker/u16:4:6124]\n  Workqueue: events_unbound cfg80211_wiphy_work [cfg80211]\n  RIP: 0010:rtw89_hw_scan_add_chan_ax+0xb3/0x6e0 [rtw89_core]\n  Code: a0 48 89 45 a8 44 89 6d 9c 44 89 75 98 eb 29 66 66 2e 0f 1f\n  84 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 83 c3 01\n  \u003c0f\u003e b6 c3 41 3b 44 24 74 0f 83 0b 02 00 00 0f b6 c3 48 8d 14 80 49\n  RSP: 0018:ffffcb48cbaa39f8 EFLAGS: 00000202\n  RAX: 0000000000000005 RBX: 00000000137466a1 RCX: 0000000000000000\n  RDX: ffff89ffc9d851a8 RSI: 0000000000004f0d RDI: 0000000096af0130\n  RBP: ffffcb48cbaa3a60 R08: 0000000000000000 R09: ffff8a00b7502080\n  R10: ffff8a00b75ff600 R11: 0000000000000000 R12: ffff89ffc7553870\n  R13: ffff8a00b7ac8f19 R14: ffff8a00b75020d8 R15: ffff89ffc3d54d80\n  FS:  0000000000000000(0000) GS:ffff8a014f962000(0000)\n  knlGS:0000000000000000\n  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n  CR2: 00007558d7f9f4c4 CR3: 0000000178040001 CR4: 00000000001706f0\n  Call Trace:\n   \u003cTASK\u003e\n   rtw89_hw_scan_prep_chan_list_ax+0x8a/0x400 [rtw89_core]\n   rtw89_hw_scan_start+0x546/0x8a0 [rtw89_core]\n   ? rtw89_fw_h2c_default_cmac_tbl+0x13c/0x1f0 [rtw89_core]\n   rtw89_ops_hw_scan+0xae/0x120 [rtw89_core]\n   drv_hw_scan+0xbb/0x180 [mac80211]\n   __ieee80211_start_scan+0x2fc/0x750 [mac80211]\n   ieee80211_request_scan+0xe/0x20 [mac80211]\n   ieee80211_scan+0x123/0x190 [mac80211]\n   rdev_scan+0x40/0x110 [cfg80211]\n   cfg80211_scan_6ghz+0x5a1/0xa30 [cfg80211]\n\nBy objdump with source:\n\n\tfor (i = 0; i \u003c req-\u003en_6ghz_params; i++) {\n   5fbc0:\t83 c3 01             \tadd    $0x1,%ebx --\u003e i++\n   5fbc3:\t0f b6 c3             \tmovzbl %bl,%eax  --\u003e get counter\n   fbc6:\t41 3b 44 24 74       \tcmp    0x74(%r12),%eax\n\n   * RBX: 00000000137466a1 -\u003e %bl = a1 -\u003e EAX = 000000a1 (161)","modified":"2026-08-18T03:56:47.838085027Z","published":"2026-08-15T05:59:18.696Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74411.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/05d46e30303275f21f13c951166d39c85df976d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/08fdcb529df6df3562dd2b0035f88dd5be8b3c68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/140fa699cfd0e18ab2f1497acd951fb3548610f5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a1ab5fdcae896e20ca6d68fa0fbd2816cb7471f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/966fbed4b4463fbcb49c5becf3f86eae776861bd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74411.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74411"},{"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":"c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0"},{"fixed":"966fbed4b4463fbcb49c5becf3f86eae776861bd"},{"fixed":"05d46e30303275f21f13c951166d39c85df976d4"},{"fixed":"7a1ab5fdcae896e20ca6d68fa0fbd2816cb7471f"},{"fixed":"140fa699cfd0e18ab2f1497acd951fb3548610f5"},{"fixed":"08fdcb529df6df3562dd2b0035f88dd5be8b3c68"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74411.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74411.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}