Bug 2044811

Summary: kernel: vDSO lacks unwind information on aarch64
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: kernelAssignee: Mark Salter <msalter>
kernel sub component: aarch64 QA Contact: Jeff Bastian <jbastian>
Status: CLOSED WONTFIX Docs Contact:
Severity: unspecified    
Priority: unspecified CC: dledford, jbastian, msalter, sam
Version: 9.0   
Target Milestone: rc   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2044483 Environment:
Last Closed: 2023-07-25 07:28:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2044483    
Bug Blocks:    

Description Florian Weimer 2022-01-25 09:09:02 UTC
+++ This bug was initially created as a clone of Bug #2044483 +++

As seen with kernel-core-5.14.0-44.el9.aarch64:

# eu-readelf -l /lib/modules/5.14.0-44.el9.aarch64/vdso/vdso.so 
Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
  LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x000918 0x000918 R E 0x10
  DYNAMIC        0x0007f8 0x00000000000007f8 0x00000000000007f8 0x000100 0x000100 R   0x8
  NOTE           0x000268 0x0000000000000268 0x0000000000000268 0x000068 0x000068 R   0x4

 Section to Segment mapping:
  Segment Sections...
   00      [RO: .hash .dynsym .dynstr .gnu.version .gnu.version_d .note .text .dynamic .got .got.plt]
   01      [RO: .dynamic]
   02      [RO: .note]

This is a regression from RHEL 8, where the GNU_EH_FRAME segment was present:

# eu-readelf -l /lib/modules/4.18.0-359.el8.aarch64/vdso/vdso.so 
Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
  LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x000a00 0x000a00 R E 0x8
  DYNAMIC        0x0008e0 0x00000000000008e0 0x00000000000008e0 0x000100 0x000100 R   0x8
  NOTE           0x0002b8 0x00000000000002b8 0x00000000000002b8 0x00003c 0x00003c R   0x4
  GNU_EH_FRAME   0x0007a8 0x00000000000007a8 0x00000000000007a8 0x000034 0x000034 R   0x4

 Section to Segment mapping:
  Segment Sections...
   00      [RO: .hash .dynsym .dynstr .gnu.version .gnu.version_d .note .text .eh_frame_hdr .eh_frame .dynamic .got .got.plt]
   01      [RO: .dynamic]
   02      [RO: .note]
   03      [RO: .eh_frame_hdr]


This change may interfere with debugging tools, unwinding through signal frames, etc.

Comment 4 RHEL Program Management 2023-07-25 07:28:13 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.