{"id":"CVE-2026-97516","revision":"477bac107ee24a5e80e88d4f97909231","records":[{"revision":"477bac107ee24a5e80e88d4f97909231","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-97516","aliases":[],"title":"wifi: rtw88: Add NULL check for chip->edcca_th in rtw_fw_adaptivity_result()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtw88: Add NULL check for chip->edcca_th in rtw_fw_adaptivity_result()\n\nIt was recently reported that rtw_fw_adaptivity_result()\nin fw.c dereferences rtwdev->chip->edcca_th without\na NULL check. The issue is that devices with the\n8821CE chip don't define edcca_th in their chip\ninfo. As a result, when rtw_fw_adaptivity_result()\ntries to dereference it, the kernel triggers an oops.\n\nAdd a NULL check for edcca_th before dereferencing\nit in rtw_fw_adaptivity_result() in fw.c. Placing\nthe check at the function entry avoids logging any\ngarbage values.\n\nThis change does not address the root cause for\nthis behavior, but it prevents the NULL dereference\nand the resulting oops while a more permanent solution\nis developed.\n\nTested on a 8822CE chip which defines edcca_th, so\nthis issue is not present on it, but it still uses\nthis driver and I can verify there are no regressions.","state":0,"publishedAt":"2026-09-24T16:05:14.263+00:00","modifiedAt":"2026-10-03T10:59:10.452+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/wireless/realtek/rtw88/fw.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"fe7bc23a8c5eba8a49061c1d15d0a9d45ef18130\",\n                            \"lessThan\": \"a8cdb18ef80d67790d8611ba94ae3d81901c9e04\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"fe7bc23a8c5eba8a49061c1d15d0a9d45ef18130\",\n                            \"lessThan\": \"0b58a5ac9170a6f5e6425f8e1a4b3e1d9c2bf53d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"fe7bc23a8c5eba8a49061c1d15d0a9d45ef18130\",\n                            \"lessThan\": \"6fa23cafaf30f4877e357f8eebcff00dff4aa9cb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"fe7bc23a8c5eba8a49061c1d15d0a9d45ef18130\",\n                            \"lessThan\": \"1d1f250432cd8704c3c125168887f9724021c81a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"fe7bc23a8c5eba8a49061c1d15d0a9d45ef18130\",\n                            \"lessThan\": \"d5e6f353ce1e1c25b8458ea390ed09d2377412c5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/wireless/realtek/rtw88/fw.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.16\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.16\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.189\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.158\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.111\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.53\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/a8cdb18ef80d67790d8611ba94ae3d81901c9e04","https://git.kernel.org/stable/c/0b58a5ac9170a6f5e6425f8e1a4b3e1d9c2bf53d","https://git.kernel.org/stable/c/6fa23cafaf30f4877e357f8eebcff00dff4aa9cb","https://git.kernel.org/stable/c/1d1f250432cd8704c3c125168887f9724021c81a","https://git.kernel.org/stable/c/d5e6f353ce1e1c25b8458ea390ed09d2377412c5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97516","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-97516","identifiers":["CVE-2026-97516"]},"retained":false,"historicalAffected":[]}],"coverage":[]}