powerpc/pseries: Whitelist dtl slub object for copying to userspace
Reading the dispatch trace log from /sys/kernel/debug/powerpc/dtl/cpu-*
results in a BUG() when the config CONFIG_HARDENED_USERCOPY is enabled as
shown below.
kernel BUG at mm/usercopy.c:102!
Oops: Exception in kernel mode, sig: 5 [#1]
LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA pSeries
Modules linked in: xfs libcrc32c dm_service_time sd_mod t10_pi sg ibmvfc
scsi_transport_fc ibmveth pseries_wdt dm_multipath dm_mirror dm_region_hash dm_log dm_mod fuse
CPU: 27 PID: 1815 Comm: python3 Not tainted 6.10.0-rc3 #85
Hardware name: IBM,9040-MRX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1060.00 (NM1060_042) hv:phyp pSeries
NIP: c0000000005d23d4 LR: c0000000005d23d0 CTR: 00000000006ee6f8
REGS: c000000120c078c0 TRAP: 0700 Not tainted (6.10.0-rc3)
MSR: 8000000000029033 <SF,EE,ME,IR,DR,RI,LE> CR: 2828220f XER: 0000000e
CFAR: c0000000001fdc80 IRQMASK: 0
[ ... GPRs omitted ... ]
NIP [c0000000005d23d4] usercopy_abort+0x78/0xb0
LR [c0000000005d23d0] usercopy_abort+0x74/0xb0
Call Trace:
usercopy_abort+0x74/0xb0 (unreliable)
__check_heap_object+0xf8/0x120
check_heap_object+0x218/0x240
__check_object_size+0x84/0x1a4
dtl_file_read+0x17c/0x2c4
full_proxy_read+0x8c/0x110
vfs_read+0xdc/0x3a0
ksys_read+0x84/0x144
system_call_exception+0x124/0x330
system_call_vectored_common+0x15c/0x2ec
--- interrupt: 3000 at 0x7fff81f3ab34
Commit 6d07d1cd300f ("usercopy: Restrict non-usercopy caches to size 0")
requires that only whitelisted areas in slab/slub objects can be copied to
userspace when usercopy hardening is enabled using CONFIG_HARDENED_USERCOPY.
Dtl contains hypervisor dispatch events which are expected to be read by
privileged users. Hence mark this safe for user access.
Specify useroffset=0 and usersize=DISPATCH_LOG_BYTES to whitelist the
entire object.
Metrics
Affected Vendors & Products
| Source | ID | Title | 
|---|---|---|
  Debian DLA | 
                DLA-4008-1 | linux-6.1 security update | 
  Debian DSA | 
                DSA-5747-1 | linux security update | 
  Ubuntu USN | 
                USN-7088-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7088-2 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7088-3 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7088-4 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7088-5 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7089-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7089-2 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7089-3 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7089-4 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7089-5 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7089-6 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7089-7 | Linux kernel (Low Latency) vulnerabilities | 
  Ubuntu USN | 
                USN-7090-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7095-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7100-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7100-2 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7119-1 | Linux kernel (IoT) vulnerabilities | 
  Ubuntu USN | 
                USN-7123-1 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7144-1 | Linux kernel (Intel IoTG) vulnerabilities | 
  Ubuntu USN | 
                USN-7156-1 | Linux kernel (GKE) vulnerabilities | 
  Ubuntu USN | 
                USN-7194-1 | Linux kernel (Azure) vulnerabilities | 
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Mon, 03 Nov 2025 22:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | 
Thu, 09 Oct 2025 18:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | 
        
        Linux
         Linux linux Kernel  | 
|
| Weaknesses | NVD-CWE-noinfo | |
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:*  | 
|
| Vendors & Products | 
        
        Linux
         Linux linux Kernel  | 
|
| Metrics | 
        
        
        cvssV3_1
         
  | 
    
        
        
        cvssV3_1
         
  | 
Wed, 13 Nov 2024 02:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:9 cpe:/o:redhat:enterprise_linux:9  | 
Wed, 06 Nov 2024 20:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | 
        
        ssvc
         
  | 
Tue, 24 Sep 2024 11:00:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | 
        
        Redhat
         Redhat enterprise Linux  | 
|
| CPEs | cpe:/o:redhat:enterprise_linux:8 | |
| Vendors & Products | 
        
        Redhat
         Redhat enterprise Linux  | 
Wed, 11 Sep 2024 18:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | 
        
        ssvc
         
  | 
    
Wed, 11 Sep 2024 13:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | 
        
        ssvc
         
  | 
Mon, 19 Aug 2024 22:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Weaknesses | CWE-99 | |
| Metrics | 
        
        
        cvssV3_1
         
 
  | 
    
        
        
        cvssV3_1
         
 
  | 
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2025-11-03T22:00:14.771Z
Reserved: 2024-07-12T12:17:45.628Z
Link: CVE-2024-41065
Updated: 2025-11-03T22:00:14.771Z
Status : Modified
Published: 2024-07-29T15:15:14.410
Modified: 2025-11-03T22:17:29.863
Link: CVE-2024-41065
                        OpenCVE Enrichment
                    No data.
 Debian DLA
 Debian DSA
 Ubuntu USN