Skip to content
Threat Brief

← All advisories

CVE-2024-50271

Medium 5.5No known exploitationFix available

signal: restore the override_rlimit logic

Record last updated

CVSS score

5.5

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

None

No EPSS score available

CISA remediation deadline

None

Not in the KEV catalog

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.

Patching and mitigation

Patch status
Fix available (source: CVE record (Linux))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom d64696905554e919321e31afc210606653b8f6a4 before 08628d4548c9d3d26ef76b0fa24b427e1bd7775608628d4548c9d3d26ef76b0fa24b427e1bd77756CVE Program
LinuxLinuxfrom d64696905554e919321e31afc210606653b8f6a4 before 012f4d5d25e9ef92ee129bd5aa7aa60f692681e1012f4d5d25e9ef92ee129bd5aa7aa60f692681e1CVE Program
LinuxLinuxfrom d64696905554e919321e31afc210606653b8f6a4 before 4877d9b2a2ebad3ae240127aaa4cb8258b145cf74877d9b2a2ebad3ae240127aaa4cb8258b145cf7CVE Program
LinuxLinuxfrom d64696905554e919321e31afc210606653b8f6a4 before 0208ea17a1e4456fbfe555f13ae5c28f3d671e400208ea17a1e4456fbfe555f13ae5c28f3d671e40CVE Program
LinuxLinuxfrom d64696905554e919321e31afc210606653b8f6a4 before 9e05e5c7ee8758141d2db7e8fea2cab34500c6ed9e05e5c7ee8758141d2db7e8fea2cab34500c6edCVE Program
LinuxLinux5.14Not documentedCVE Program
LinuxLinux (unaffected)from 5.15.226 up to and including 5.15.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.1.117 up to and including 6.1.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.11.8 up to and including 6.11.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.6.61 up to and including 6.6.*Not documentedCVE Program
LinuxLinux (unaffected)6.12Not documentedCVE Program
LinuxLinux (unaffected)all versions before 5.14Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (Linux)

    Source: CVE record (Linux) (opens in a new tab)

Vendor guidance and references

CVE-2024-50271: signal: restore the override_rlimit logic · Threat Brief