{
  "threat_severity" : "Low",
  "public_date" : "2025-02-26T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: highmem: fix checks in __kmap_local_sched_{in,out}",
    "id" : "2347739",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2347739"
  },
  "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" : "verified"
  },
  "cwe" : "CWE-20",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nhighmem: fix checks in __kmap_local_sched_{in,out}\nWhen CONFIG_DEBUG_KMAP_LOCAL is enabled __kmap_local_sched_{in,out} check\nthat even slots in the tsk->kmap_ctrl.pteval are unmapped.  The slots are\ninitialized with 0 value, but the check is done with pte_none.  0 pte\nhowever does not necessarily mean that pte_none will return true.  e.g.\non xtensa it returns false, resulting in the following runtime warnings:\nWARNING: CPU: 0 PID: 101 at mm/highmem.c:627 __kmap_local_sched_out+0x51/0x108\nCPU: 0 PID: 101 Comm: touch Not tainted 5.17.0-rc7-00010-gd3a1cdde80d2-dirty #13\nCall Trace:\ndump_stack+0xc/0x40\n__warn+0x8f/0x174\nwarn_slowpath_fmt+0x48/0xac\n__kmap_local_sched_out+0x51/0x108\n__schedule+0x71a/0x9c4\npreempt_schedule_irq+0xa0/0xe0\ncommon_exception_return+0x5c/0x93\ndo_wp_page+0x30e/0x330\nhandle_mm_fault+0xa70/0xc3c\ndo_page_fault+0x1d8/0x3c4\ncommon_exception+0x7f/0x7f\nWARNING: CPU: 0 PID: 101 at mm/highmem.c:664 __kmap_local_sched_in+0x50/0xe0\nCPU: 0 PID: 101 Comm: touch Tainted: G        W         5.17.0-rc7-00010-gd3a1cdde80d2-dirty #13\nCall Trace:\ndump_stack+0xc/0x40\n__warn+0x8f/0x174\nwarn_slowpath_fmt+0x48/0xac\n__kmap_local_sched_in+0x50/0xe0\nfinish_task_switch$isra$0+0x1ce/0x2f8\n__schedule+0x86e/0x9c4\npreempt_schedule_irq+0xa0/0xe0\ncommon_exception_return+0x5c/0x93\ndo_wp_page+0x30e/0x330\nhandle_mm_fault+0xa70/0xc3c\ndo_page_fault+0x1d8/0x3c4\ncommon_exception+0x7f/0x7f\nFix it by replacing !pte_none(pteval) with pte_val(pteval) != 0." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-05-22T00:00:00Z",
    "advisory" : "RHSA-2024:3138",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "kernel-0:4.18.0-553.el8_10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2458",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-284.11.1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2458",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-284.11.1.el9_2"
  } ],
  "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" : "Out of support scope",
    "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" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-49081\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-49081\nhttps://lore.kernel.org/linux-cve-announce/2025022657-CVE-2022-49081-7a0f@gregkh/T" ],
  "name" : "CVE-2022-49081",
  "csaw" : false
}