{
  "threat_severity" : "Low",
  "public_date" : "2024-12-27T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: sched/deadline: Fix warning in migrate_enable for boosted tasks",
    "id" : "2334485",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2334485"
  },
  "cvss3" : {
    "cvss3_base_score" : "3.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
    "status" : "draft"
  },
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nsched/deadline: Fix warning in migrate_enable for boosted tasks\nWhen running the following command:\nwhile true; do\nstress-ng --cyclic 30 --timeout 30s --minimize --quiet\ndone\na warning is eventually triggered:\nWARNING: CPU: 43 PID: 2848 at kernel/sched/deadline.c:794\nsetup_new_dl_entity+0x13e/0x180\n...\nCall Trace:\n<TASK>\n? show_trace_log_lvl+0x1c4/0x2df\n? enqueue_dl_entity+0x631/0x6e0\n? setup_new_dl_entity+0x13e/0x180\n? __warn+0x7e/0xd0\n? report_bug+0x11a/0x1a0\n? handle_bug+0x3c/0x70\n? exc_invalid_op+0x14/0x70\n? asm_exc_invalid_op+0x16/0x20\nenqueue_dl_entity+0x631/0x6e0\nenqueue_task_dl+0x7d/0x120\n__do_set_cpus_allowed+0xe3/0x280\n__set_cpus_allowed_ptr_locked+0x140/0x1d0\n__set_cpus_allowed_ptr+0x54/0xa0\nmigrate_enable+0x7e/0x150\nrt_spin_unlock+0x1c/0x90\ngroup_send_sig_info+0xf7/0x1a0\n? kill_pid_info+0x1f/0x1d0\nkill_pid_info+0x78/0x1d0\nkill_proc_info+0x5b/0x110\n__x64_sys_kill+0x93/0xc0\ndo_syscall_64+0x5c/0xf0\nentry_SYSCALL_64_after_hwframe+0x6e/0x76\nRIP: 0033:0x7f0dab31f92b\nThis warning occurs because set_cpus_allowed dequeues and enqueues tasks\nwith the ENQUEUE_RESTORE flag set. If the task is boosted, the warning\nis triggered. A boosted task already had its parameters set by\nrt_mutex_setprio, and a new call to setup_new_dl_entity is unnecessary,\nhence the WARN_ON call.\nCheck if we are requeueing a boosted task and avoid calling\nsetup_new_dl_entity if that's the case." ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-56583\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-56583\nhttps://lore.kernel.org/linux-cve-announce/2024122754-CVE-2024-56583-b1dc@gregkh/T" ],
  "name" : "CVE-2024-56583",
  "csaw" : false
}