Linux
wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start()
In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start() Preserve the error code if iwl_setup_deferred_work() fails. The current code returns ERR_PTR(0) (which is NULL) on this path. I believe the missing error code potentially leads to a use after free involving debugfs.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ca980f1911a7144d451d1c31298ab8507c6bd88f, < 5c432da1ee191e9f7830dd516456706063d7bec3
- >= 7dd6350307af6521b6240b295c93b7eec4daebe6, < f95598a133a905fd937354ad902773d05593b8b9
- >= c0e43c3f6c0a79381b468574c241065998412b7c, < 991e2066f6009d3cb898413058c62dbcc92bd6d2
- >= 70a1b527eaea9430b1bd87de59f3b9f6bd225701, < 1d068272c21d886d06526454b68368100ba0a720
- >= 90a0d9f339960448a3acc1437a46730f975efd6a, < cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6
- c80832d445653baba5ac80cd2c2637c437ac881b
- b398120fbe0acfef60b16f6a0f69902d385d7728
- 2e9f85ee3b46453a2f250a57d3a9f10c70c71202
- 6663c52608d8d8727bf1911e6d9218069ba1c85e
- >= 5.4.297, < 5.5
- >= 5.10.241, < 5.11
- >= 5.15.190, < 5.16
- >= 6.1.148, < 6.2
Fixed in 5c432da1ee191e9f7830dd516456706063d7bec3, f95598a133a905fd937354ad902773d05593b8b9, 991e2066f6009d3cb898413058c62dbcc92bd6d2, 1d068272c21d886d06526454b68368100ba0a720, cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6, 5.5, 5.11, 5.16, 6.2
- >= 6.6.102, < 6.6.160
- >= 6.12.42, < 6.12.114
Fixed in 6.6.160, 6.12.114
Mitigation
Upgrade Linux to 5c432da1ee191e9f7830dd516456706063d7bec3 or f95598a133a905fd937354ad902773d05593b8b9 or 991e2066f6009d3cb898413058c62dbcc92bd6d2 or 1d068272c21d886d06526454b68368100ba0a720 or cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6 or 5.5 or 5.11 or 5.16 or 6.2 or later.
Upgrade Linux to 6.6.160 or 6.12.114 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.