CVE-2024-41065

CVE Details

Release Date:2024-07-29

Description


In the Linux kernel, the following vulnerability has been resolved:\npowerpc/pseries: Whitelist dtl slub object for copying to userspace\nReading the dispatch trace log from /sys/kernel/debug/powerpc/dtl/cpu-*\nresults in a BUG() when the config CONFIG_HARDENED_USERCOPY is enabled as\nshown below.\nkernel BUG at mm/usercopy.c:102!\nOops: Exception in kernel mode, sig: 5 [#1]\nLE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA pSeries\nModules linked in: xfs libcrc32c dm_service_time sd_mod t10_pi sg ibmvfc\nscsi_transport_fc ibmveth pseries_wdt dm_multipath dm_mirror dm_region_hash dm_log dm_mod fuse\nCPU: 27 PID: 1815 Comm: python3 Not tainted 6.10.0-rc3 #85\nHardware name: IBM,9040-MRX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1060.00 (NM1060_042) hv:phyp pSeries\nNIP: c0000000005d23d4 LR: c0000000005d23d0 CTR: 00000000006ee6f8\nREGS: c000000120c078c0 TRAP: 0700 Not tainted (6.10.0-rc3)\nMSR: 8000000000029033 CR: 2828220f XER: 0000000e\nCFAR: c0000000001fdc80 IRQMASK: 0\n[ ... GPRs omitted ... ]\nNIP [c0000000005d23d4] usercopy_abort+0x78/0xb0\nLR [c0000000005d23d0] usercopy_abort+0x74/0xb0\nCall Trace:\nusercopy_abort+0x74/0xb0 (unreliable)\n__check_heap_object+0xf8/0x120\ncheck_heap_object+0x218/0x240\n__check_object_size+0x84/0x1a4\ndtl_file_read+0x17c/0x2c4\nfull_proxy_read+0x8c/0x110\nvfs_read+0xdc/0x3a0\nksys_read+0x84/0x144\nsystem_call_exception+0x124/0x330\nsystem_call_vectored_common+0x15c/0x2ec\n--- interrupt: 3000 at 0x7fff81f3ab34\nCommit 6d07d1cd300f ('usercopy: Restrict non-usercopy caches to size 0')\nrequires that only whitelisted areas in slab/slub objects can be copied to\nuserspace when usercopy hardening is enabled using CONFIG_HARDENED_USERCOPY.\nDtl contains hypervisor dispatch events which are expected to be read by\nprivileged users. Hence mark this safe for user access.\nSpecify useroffset=0 and usersize=DISPATCH_LOG_BYTES to whitelist the\nentire object.

See more information about CVE-2024-41065 from MITRE CVE dictionary and NIST NVD


CVSS Scoring


NOTE: The following CVSS v3.1 metrics and score provided are preliminary and subject to review.

Base Score: 4.4 CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack Vector: Local network Attack Complexity: Low
Privileges Required: High User Interaction: None
Scope: Unchanged Confidentiality Impact: None
Integrity Impact: None Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 7 (kernel-uek)ELSA-2024-127802024-10-11
Oracle Linux version 7 (kernel-uek)ELSA-2024-127822024-10-14
Oracle Linux version 8 (kernel)ELSA-2024-70002024-09-24
Oracle Linux version 8 (kernel-uek)ELSA-2024-127802024-10-11
Oracle Linux version 8 (kernel-uek)ELSA-2024-127822024-10-14
Oracle Linux version 8 (kernel-uek)ELSA-2024-128152024-11-11
Oracle Linux version 9 (kernel)ELSA-2024-93152024-11-14
Oracle Linux version 9 (kernel-uek)ELSA-2024-128152024-11-11


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete