Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-50140
linux linux kernel

Score5.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.30%
within the next 30 days
CategoryOther
Published7 November 2024
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

In the Linux kernel, the following vulnerability has been resolved: sched/core: Disable page allocation in task_tick_mm_cid() With KASAN and PREEMPT_RT enabled, calling task_work_add() in task_tick_mm_cid() may cause the following splat. [ 63.696416] BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 [ 63.696416] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 610, name: modprobe [ 63.696416] preempt_count: 10001, expected: 0 [ 63.696416] RCU nest depth: 1, expected: 1 This problem is caused by the following call trace. sched_tick() [ acquire rq->__lock ] -> task_tick_mm_cid() -> task_work_add() -> __kasan_record_aux_stack() -> kasan_save_stack() -> stack_depot_save_flags() -> alloc_pages_mpol_noprof() -> __alloc_pages_noprof() -> get_page_from_freelist() -> rmqueue() -> rmqueue_pcplist() -> __rmqueue_pcplist() -> rmqueue_bulk() -> rt_spin_lock() The rq lock is a raw_spinlock_t. We can't sleep while holding it. IOW, we can't call alloc_pages() in stack_depot_save_flags(). The task_tick_mm_cid() function with its task_work_add() call was introduced by commit 223baf9d17f2 ("sched: Fix performance regression introduced by mm_cid") in v6.4 kernel. Fortunately, there is a kasan_record_aux_stack_noalloc() variant that calls stack_depot_save_flags() while not allowing it to allocate new pages. To allow task_tick_mm_cid() to use task_work without page allocation, a new TWAF_NO_ALLOC flag is added to enable calling kasan_record_aux_stack_noalloc() instead of kasan_record_aux_stack() if set. The task_tick_mm_cid() function is modified to add this new flag. The possible downside is the missing stack trace in a KASAN report due to new page allocation required when task_work_add_noallloc() is called which should be rare.

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

Affected products

VendorProductVersions
linuxlinux kernel>=6.4 <6.6.59
linuxlinux kernel>=6.7 <6.11.6
linuxlinux kernel6.12

Sources

Latest in the same category

  • CVE-2026-129979 Not scored
    Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List. The…
    Other · 1 December 2026
  • CVE-2026-129978 Not scored
    Net::PublicSuffixList versions before 0.99_01 for Perl miss public suffixes in hosts that contain uppercase letters. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List. suffix_exists…
    Other · 1 December 2026
  • CVE-2026-129977 Not scored
    Net::PublicSuffixList versions before 0.99_01 for Perl return a public suffix one label too short for hosts under a wildcard rule. Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.…
    Other · 1 December 2026
  • CVE-2026-121478 Medium 4.3
    A flaw was found in sequoia-sq. This flaw allows an attacker to spoof signature verification results displayed in terminal output. Because control characters in user identifiers are not properly sanitized in…
    Other · 1 December 2026
  • CVE-2026-75938 High 8.8
    A flaw was found in openshift/cluster-api-provider-ibmcloud. When the IBMPowerVSCluster.Spec.Ignition is configured, the controller embeds an IBM Identity and Access Management (IAM) bearer token directly into the…
    Other · 30 November 2026
  • CVE-2026-125092 High 7
    Kong Gateway Enterprise and Kong AI Gateway match Routes using the raw request target including a URI fragment, allowing a crafted request to be matched to a Route whose plugins allow it while the upstream serves a…
    Other · 30 November 2026