# CVE-2024-50271: signal: restore the override\_rlimit logic

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-770
- **Published:** 2024-11-19T01:30:09.788Z
- **Modified:** 2026-11-23T08:17:12.580Z

## Who should check

- Anyone running Linux \>= d64696905554e919321e31afc210606653b8f6a4, \< 08628d4548c9d3d26ef76b0fa24b427e1bd77756; \>= d64696905554e919321e31afc210606653b8f6a4, \< 012f4d5d25e9ef92ee129bd5aa7aa60f692681e1; \>= d64696905554e919321e31afc210606653b8f6a4, \< 4877d9b2a2ebad3ae240127aaa4cb8258b145cf7; \>= d64696905554e919321e31afc210606653b8f6a4, \< 0208ea17a1e4456fbfe555f13ae5c28f3d671e40; \>= d64696905554e919321e31afc210606653b8f6a4, \< 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed
- Anyone running Linux 5.14

## 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.

## Affected and fixed versions

- Linux: \>= d64696905554e919321e31afc210606653b8f6a4, \< 08628d4548c9d3d26ef76b0fa24b427e1bd77756; \>= d64696905554e919321e31afc210606653b8f6a4, \< 012f4d5d25e9ef92ee129bd5aa7aa60f692681e1; \>= d64696905554e919321e31afc210606653b8f6a4, \< 4877d9b2a2ebad3ae240127aaa4cb8258b145cf7; \>= d64696905554e919321e31afc210606653b8f6a4, \< 0208ea17a1e4456fbfe555f13ae5c28f3d671e40; \>= d64696905554e919321e31afc210606653b8f6a4, \< 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50271. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50271.md
Affected: Linux >= d64696905554e919321e31afc210606653b8f6a4, < 08628d4548c9d3d26ef76b0fa24b427e1bd77756; >= d64696905554e919321e31afc210606653b8f6a4, < 012f4d5d25e9ef92ee129bd5aa7aa60f692681e1; >= d64696905554e919321e31afc210606653b8f6a4, < 4877d9b2a2ebad3ae240127aaa4cb8258b145cf7; >= d64696905554e919321e31a…
Fixed in: Linux 08628d4548c9d3d26ef76b0fa24b427e1bd77756, Linux 012f4d5d25e9ef92ee129bd5aa7aa60f692681e1, Linux 4877d9b2a2ebad3ae240127aaa4cb8258b145cf7, Linux 0208ea17a1e4456fbfe555f13ae5c28f3d671e40, Linux 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50271 being exploited?

There is no confirmed exploitation: CVE-2024-50271 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50271?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50271?

Linux \>= d64696905554e919321e31afc210606653b8f6a4, \< 08628d4548c9d3d26ef76b0fa24b427e1bd77756; \>= d64696905554e919321e31afc210606653b8f6a4, \< 012f4d5d25e9ef92ee129bd5aa7aa60f692681e1; \>= d64696905554e919321e31afc210606653b8f6a4, \< 4877d9b2a2ebad3ae240127aaa4cb8258b145cf7; \>= d64696905554e919321e31afc210606653b8f6a4, \< 0208ea17a1e4456fbfe555f13ae5c28f3d671e40; \>= d64696905554e919321e31afc210606653b8f6a4, \< 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed; Linux 5.14.

### Is there a fix for CVE-2024-50271?

Yes. Fixed in Linux 08628d4548c9d3d26ef76b0fa24b427e1bd77756, Linux 012f4d5d25e9ef92ee129bd5aa7aa60f692681e1, Linux 4877d9b2a2ebad3ae240127aaa4cb8258b145cf7, Linux 0208ea17a1e4456fbfe555f13ae5c28f3d671e40, Linux 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed. Upgrade Linux to 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed or later.

### How do I check if I'm affected by CVE-2024-50271?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://git.kernel.org/stable/c/08628d4548c9d3d26ef76b0fa24b427e1bd77756>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50271>

HTML: <https://flawdb.com/CVE-2024-50271> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50271>
