CVE-2024-50271
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
19/11/2024
Last modified:
03/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
signal: restore the override_rlimit logic<br />
<br />
Prior to commit d64696905554 ("Reimplement RLIMIT_SIGPENDING on top of<br />
ucounts") UCOUNT_RLIMIT_SIGPENDING rlimit was not enforced for a class of<br />
signals. However now it&#39;s enforced unconditionally, even if<br />
override_rlimit is set. This behavior change caused production issues. <br />
<br />
For example, if the limit is reached and a process receives a SIGSEGV<br />
signal, sigqueue_alloc fails to allocate the necessary resources for the<br />
signal delivery, preventing the signal from being delivered with siginfo. <br />
This prevents the process from correctly identifying the fault address and<br />
handling the error. From the user-space perspective, applications are<br />
unaware that the limit has been reached and that the siginfo is<br />
effectively &#39;corrupted&#39;. This can lead to unpredictable behavior and<br />
crashes, as we observed with java applications.<br />
<br />
Fix this by passing override_rlimit into inc_rlimit_get_ucounts() and skip<br />
the comparison to max there if override_rlimit is set. This effectively<br />
restores the old behavior.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.14 (including) | 6.1.117 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.61 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.11.8 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/012f4d5d25e9ef92ee129bd5aa7aa60f692681e1
- https://git.kernel.org/stable/c/0208ea17a1e4456fbfe555f13ae5c28f3d671e40
- https://git.kernel.org/stable/c/4877d9b2a2ebad3ae240127aaa4cb8258b145cf7
- https://git.kernel.org/stable/c/9e05e5c7ee8758141d2db7e8fea2cab34500c6ed
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html



