Bug 1222466 (CVE-2024-26694)

Summary: VUL-0: CVE-2024-26694: kernel: wifi: iwlwifi: fix double-free bug
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, mhocko, osalvador, rfrohl
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/400168/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26694:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-08 12:34:56 UTC
In the Linux kernel, the following vulnerability has been resolved:

wifi: iwlwifi: fix double-free bug

The storage for the TLV PC register data wasn't done like all
the other storage in the drv->fw area, which is cleared at the
end of deallocation. Therefore, the freeing must also be done
differently, explicitly NULL'ing it out after the free, since
otherwise there's a nasty double-free bug here if a file fails
to load after this has been parsed, and we get another free
later (e.g. because no other file exists.) Fix that by adding
the missing NULL assignment.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26694
https://www.cve.org/CVERecord?id=CVE-2024-26694
https://git.kernel.org/stable/c/353d321f63f7dbfc9ef58498cc732c9fe886a596
https://git.kernel.org/stable/c/ab9d4bb9a1892439b3123fc52b19e32b9cdf80ad
https://git.kernel.org/stable/c/d24eb9a27bea8fe5237fa71be274391d9d51eff2
https://bugzilla.redhat.com/show_bug.cgi?id=2273092
Comment 4 Oscar Salvador 2024-04-17 03:52:32 UTC
nothing to do. Back to sec-team