Patch Name: PHKL_30151 Patch Description: s700_800 11.11 NFS binary overwrite hang Creation Date: 04/01/29 Post Date: 04/04/05 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_30151: HANG Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30151 Symptoms: PHKL_30151: ( SR:8606331319 CR:JAGae92440 ) Debugging an application over a NFS mount point using gdb causes the kernel to hang with spurious faults. The kernel hangs with the following stack trace ulbcopy+0x68 copyin+0x158 handle_proc_requests+0x220 procxmt+0x114 kthread_daemon_startup+0x24 kthread_daemon_startup Defect Description: PHKL_30151: ( SR:8606331319 CR:JAGae92440 ) Binary file modification is allowed over NFS mount points. Altering text of a executing binary at the remote end causes inconsistencies to the VM data structures. This may cause the system to hang with spurious faults. Resolution: Try detect and stop the modified instance of executable from being exec'd, when the previous version of binary is still running. If the modified instance of the binary manages to escape the detection checks then the behavior of all new and existing processes using the binary is unpredictable. Enhancement: No SR: 8606331319 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvm.a(vm_exec.o) /usr/conf/lib/libvm.a(vm_textcache.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvm.a(vm_exec.o) /usr/conf/lib/libvm.a(vm_textcache.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvm.a(vm_exec.o): vm_exec.c $Date: 2004/01/29 00:58:10 $Revision: r11. 11/3 PATCH_11.11 (PHKL_30151) /usr/conf/lib/libvm.a(vm_textcache.o): vm_textcache.c $Date: 2004/01/29 00:58:10 $Revision: r11.11/2 PATCH_11.11 (PHKL_30151) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvm.a(vm_exec.o): vm_exec.c $Date: 2004/01/29 00:58:10 $Revision: r11. 11/3 PATCH_11.11 (PHKL_30151) /usr/conf/lib/libvm.a(vm_textcache.o): vm_textcache.c $Date: 2004/01/29 00:58:10 $Revision: r11.11/2 PATCH_11.11 (PHKL_30151) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 990485986 19436 /usr/conf/lib/libvm.a(vm_exec.o) 3908584498 2736 /usr/conf/lib/libvm.a(vm_textcache.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 408227870 43232 /usr/conf/lib/libvm.a(vm_exec.o) 2906601993 6752 /usr/conf/lib/libvm.a(vm_textcache.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 60 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHKL_30151 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30151.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30151. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHKL_30151.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30151.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30151.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None