# CVE-2024-50271: signal: restore the override_rlimit logic

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2024-11-19T01:30:09.788Z
- Modified: 2026-11-23T08:17:12.580Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

signal: restore the override_rlimit logic

Prior to commit d64696905554 ("Reimplement RLIMIT_SIGPENDING on top of
ucounts") UCOUNT_RLIMIT_SIGPENDING rlimit was not enforced for a class of
signals.  However now it's enforced unconditionally, even if
override_rlimit is set.  This behavior change caused production issues.  

For example, if the limit is reached and a process receives a SIGSEGV
signal, sigqueue_alloc fails to allocate the necessary resources for the
signal delivery, preventing the signal from being delivered with siginfo. 
This prevents the process from correctly identifying the fault address and
handling the error.  From the user-space perspective, applications are
unaware that the limit has been reached and that the siginfo is
effectively 'corrupted'.  This can lead to unpredictable behavior and
crashes, as we observed with java applications.

Fix this by passing override_rlimit into inc_rlimit_get_ucounts() and skip
the comparison to max there if override_rlimit is set.  This effectively
restores the old behavior.

(As written by CVE List.)

## Affected

- Linux Linux: from d64696905554e919321e31afc210606653b8f6a4 before 08628d4548c9d3d26ef76b0fa24b427e1bd77756; from d64696905554e919321e31afc210606653b8f6a4 before 012f4d5d25e9ef92ee129bd5aa7aa60f692681e1; from d64696905554e919321e31afc210606653b8f6a4 before 4877d9b2a2ebad3ae240127aaa4cb8258b145cf7; from d64696905554e919321e31afc210606653b8f6a4 before 0208ea17a1e4456fbfe555f13ae5c28f3d671e40; from d64696905554e919321e31afc210606653b8f6a4 before 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed; 5.14 (not affected: before 5.14; from 5.15.226 up to 5.15.*; from 6.1.117 up to 6.1.*; from 6.6.61 up to 6.6.*; from 6.11.8 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.14 before 6.1.117; from 6.2 before 6.6.61; from 6.7 before 6.11.8; 6.12

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/08628d4548c9d3d26ef76b0fa24b427e1bd77756>
- <https://git.kernel.org/stable/c/012f4d5d25e9ef92ee129bd5aa7aa60f692681e1> (patch)
- <https://git.kernel.org/stable/c/4877d9b2a2ebad3ae240127aaa4cb8258b145cf7> (patch)
- <https://git.kernel.org/stable/c/0208ea17a1e4456fbfe555f13ae5c28f3d671e40> (patch)
- <https://git.kernel.org/stable/c/9e05e5c7ee8758141d2db7e8fea2cab34500c6ed> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-50271](https://www.cve.org/CVERecord?id=CVE-2024-50271), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2024-50271](https://nvd.nist.gov/vuln/detail/CVE-2024-50271), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2024-50271 · Whole record: https://cve.day/CVE-2024-50271.json · Rebuilt by cve.day 2026-11-25T22:58:48.405Z
