{
  "threat_severity" : "Moderate",
  "public_date" : "2024-05-01T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: ARM: 9359/1: flush: check if the folio is reserved for no-mapping addresses",
    "id" : "2278167",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2278167"
  },
  "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-439",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nARM: 9359/1: flush: check if the folio is reserved for no-mapping addresses\nSince commit a4d5613c4dc6 (\"arm: extend pfn_valid to take into account\nfreed memory map alignment\") changes the semantics of pfn_valid() to check\npresence of the memory map for a PFN. A valid page for an address which\nis reserved but not mapped by the kernel[1], the system crashed during\nsome uio test with the following memory layout:\nnode   0: [mem 0x00000000c0a00000-0x00000000cc8fffff]\nnode   0: [mem 0x00000000d0000000-0x00000000da1fffff]\nthe uio layout is：0xc0900000, 0x100000\nthe crash backtrace like:\nUnable to handle kernel paging request at virtual address bff00000\n[...]\nCPU: 1 PID: 465 Comm: startapp.bin Tainted: G           O      5.10.0 #1\nHardware name: Generic DT based system\nPC is at b15_flush_kern_dcache_area+0x24/0x3c\nLR is at __sync_icache_dcache+0x6c/0x98\n[...]\n(b15_flush_kern_dcache_area) from (__sync_icache_dcache+0x6c/0x98)\n(__sync_icache_dcache) from (set_pte_at+0x28/0x54)\n(set_pte_at) from (remap_pfn_range+0x1a0/0x274)\n(remap_pfn_range) from (uio_mmap+0x184/0x1b8 [uio])\n(uio_mmap [uio]) from (__mmap_region+0x264/0x5f4)\n(__mmap_region) from (__do_mmap_mm+0x3ec/0x440)\n(__do_mmap_mm) from (do_mmap+0x50/0x58)\n(do_mmap) from (vm_mmap_pgoff+0xfc/0x188)\n(vm_mmap_pgoff) from (ksys_mmap_pgoff+0xac/0xc4)\n(ksys_mmap_pgoff) from (ret_fast_syscall+0x0/0x5c)\nCode: e0801001 e2423001 e1c00003 f57ff04f (ee070f3e)\n---[ end trace 09cf0734c3805d52 ]---\nKernel panic - not syncing: Fatal exception\nSo check if PG_reserved was set to solve this issue.\n[1]: https://lore.kernel.org/lkml/Zbtdue57RO0QScJM@linux.ibm.com/", "A flaw was found in the Linux kernel’s ARM memory management functionality, where certain memory layouts cause a kernel panic. This flaw allows an attacker who can specify or alter memory layouts to cause a denial of service." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-09-24T00:00:00Z",
    "advisory" : "RHSA-2024:6997",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-427.37.1.el9_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-09-24T00:00:00Z",
    "advisory" : "RHSA-2024:6997",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-427.37.1.el9_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Extended Update Support",
    "release_date" : "2024-08-07T00:00:00Z",
    "advisory" : "RHSA-2024:5066",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.2",
    "package" : "kernel-0:5.14.0-284.77.1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Extended Update Support",
    "release_date" : "2024-08-07T00:00:00Z",
    "advisory" : "RHSA-2024:5067",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.2::nfv",
    "package" : "kernel-rt-0:5.14.0-284.77.1.rt14.362.el9_2"
  } ],
  "package_state" : [ {
    "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" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "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-2024-26947\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-26947\nhttps://lore.kernel.org/linux-cve-announce/2024050126-CVE-2024-26947-c9b8@gregkh/T" ],
  "name" : "CVE-2024-26947",
  "csaw" : false
}