PT-2024-35591 · Linux+6 · Linux Kernel+6
Lonial Con
·
Published
2024-09-24
·
Updated
2025-10-17
·
CVE-2024-53125
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.11.5
Description
A vulnerability has been resolved in the Linux kernel where the
sync linked regs() function must preserve subreg def. Range propagation must not affect subreg def marks. If this issue is not addressed, the verifier may incorrectly rewrite certain code examples when the BPF F TEST RND HI32 flag is set. This can lead to incorrect handling of register values, potentially resulting in unexpected behavior. The issue arises from the copy register state() function overriding the subreg def of w1, causing the verifier to insert random values for the hi32 bits of w1 when the BPF F TEST RND HI32 flag is set.Recommendations
To resolve this issue, update the Linux kernel to version 6.11.5 or later. As a temporary workaround, consider disabling the use of the
BPF F TEST RND HI32 flag until the issue is resolved. Additionally, restrict the use of the sync linked regs() function to minimize the risk of exploitation. Avoid using the w1 register in sensitive operations until the issue is fixed.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu