We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-50271

signal: restore the override_rlimit logic



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.

Reserved 2024-10-21 | Published 2024-11-19 | Updated 2024-11-19 | Assigner Linux

Product status

Default status
unaffected

d64696905554 before 012f4d5d25e9
affected

d64696905554 before 4877d9b2a2eb
affected

d64696905554 before 0208ea17a1e4
affected

d64696905554 before 9e05e5c7ee87
affected

Default status
affected

5.14
affected

Any version before 5.14
unaffected

6.1.117
unaffected

6.6.61
unaffected

6.11.8
unaffected

6.12
unaffected

References

git.kernel.org/...c/012f4d5d25e9ef92ee129bd5aa7aa60f692681e1

git.kernel.org/...c/4877d9b2a2ebad3ae240127aaa4cb8258b145cf7

git.kernel.org/...c/0208ea17a1e4456fbfe555f13ae5c28f3d671e40

git.kernel.org/...c/9e05e5c7ee8758141d2db7e8fea2cab34500c6ed

cve.org (CVE-2024-50271)

nvd.nist.gov (CVE-2024-50271)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-50271

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.