{
  "threat_severity" : "Moderate",
  "public_date" : "2024-09-04T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: sched/smt: Fix unbalance sched_smt_present dec/inc",
    "id" : "2309789",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2309789"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-665",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nsched/smt: Fix unbalance sched_smt_present dec/inc\nI got the following warn report while doing stress test:\njump label: negative count!\nWARNING: CPU: 3 PID: 38 at kernel/jump_label.c:263 static_key_slow_try_dec+0x9d/0xb0\nCall Trace:\n<TASK>\n__static_key_slow_dec_cpuslocked+0x16/0x70\nsched_cpu_deactivate+0x26e/0x2a0\ncpuhp_invoke_callback+0x3ad/0x10d0\ncpuhp_thread_fun+0x3f5/0x680\nsmpboot_thread_fn+0x56d/0x8d0\nkthread+0x309/0x400\nret_from_fork+0x41/0x70\nret_from_fork_asm+0x1b/0x30\n</TASK>\nBecause when cpuset_cpu_inactive() fails in sched_cpu_deactivate(),\nthe cpu offline failed, but sched_smt_present is decremented before\ncalling sched_cpu_deactivate(), it leads to unbalanced dec/inc, so\nfix it by incrementing sched_smt_present in the error path." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  } ],
  "package_state" : [ {
    "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" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Will not fix",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Will not fix",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Will not fix",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-44958\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-44958\nhttps://lore.kernel.org/linux-cve-announce/2024090413-CVE-2024-44958-80e9@gregkh/T" ],
  "name" : "CVE-2024-44958",
  "csaw" : false
}