CVE-2024-57899

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/01/2025
Last modified:
04/08/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> wifi: mac80211: fix mbss changed flags corruption on 32 bit systems<br /> <br /> On 32-bit systems, the size of an unsigned long is 4 bytes,<br /> while a u64 is 8 bytes. Therefore, when using<br /> or_each_set_bit(bit, &amp;bits, sizeof(changed) * BITS_PER_BYTE),<br /> the code is incorrectly searching for a bit in a 32-bit<br /> variable that is expected to be 64 bits in size,<br /> leading to incorrect bit finding.<br /> <br /> Solution: Ensure that the size of the bits variable is correctly<br /> adjusted for each architecture.<br /> <br /> Call Trace:<br /> ? show_regs+0x54/0x58<br /> ? __warn+0x6b/0xd4<br /> ? ieee80211_link_info_change_notify+0xcc/0xd4 [mac80211]<br /> ? report_bug+0x113/0x150<br /> ? exc_overflow+0x30/0x30<br /> ? handle_bug+0x27/0x44<br /> ? exc_invalid_op+0x18/0x50<br /> ? handle_exception+0xf6/0xf6<br /> ? exc_overflow+0x30/0x30<br /> ? ieee80211_link_info_change_notify+0xcc/0xd4 [mac80211]<br /> ? exc_overflow+0x30/0x30<br /> ? ieee80211_link_info_change_notify+0xcc/0xd4 [mac80211]<br /> ? ieee80211_mesh_work+0xff/0x260 [mac80211]<br /> ? cfg80211_wiphy_work+0x72/0x98 [cfg80211]<br /> ? process_one_work+0xf1/0x1fc<br /> ? worker_thread+0x2c0/0x3b4<br /> ? kthread+0xc7/0xf0<br /> ? mod_delayed_work_on+0x4c/0x4c<br /> ? kthread_complete_and_exit+0x14/0x14<br /> ? ret_from_fork+0x24/0x38<br /> ? kthread_complete_and_exit+0x14/0x14<br /> ? ret_from_fork_asm+0xf/0x14<br /> ? entry_INT80_32+0xf0/0xf0<br /> <br /> [restore no-op path for no changes]

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.70 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.9 (excluding)
cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*