VDB

CVE-2024-50271

CVE-2024-50271 PUBLISHED CVSS 5.5 MEDIUM

signal: restore the override_rlimit logic

Reported by linux · Published November 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux5.14, 4877d9b2a2ebad3ae240127aaa4cb8258b145cf7

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxd64696905554e919321e31afc210606653b8f6a4, d64696905554e919321e31afc210606653b8f6a4, d64696905554e919321e31afc210606653b8f6a4
LinuxLinux5.14, 0, 6.1.117
LinuxLinux*, *, *
amazon:2023kernel-livepatch-6.1.119-129.2010
amazon:2023kernel-modules-extra0
amazon:2023python3-perf0
linuxlinux_kernel5.14, 5.14, 5.14
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0
amazon:2023perf0
amazon:2023kernel-libbpf0
amazon:2023kernel-headers0
amazon:2023kernel0
amazon:2023bpftool0

Timeline

  • Nov 18, 2024 CVE Published
  • Nov 19, 2024 EPSS Score (30 in total, the first dated here)
  • Nov 19, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 2, 2026 Security Advisory (209 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (162 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-50271
vulnetix vdb fixes CVE-2024-50271

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50271/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›