Patch Name: PHKL_18802 Patch Description: s700_800 11.04 (VVOS) Potential deadlock in setlabel Creation Date: 99/06/09 Post Date: 99/11/10 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: VirtualVaultOS.VVOS-KRN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP VirtualVaultOS.VVOS-KRN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_18802 Symptoms: PHKL_18802: No known symptoms. Defect Description: PHKL_18802: There is a potential deadlock when setlabel passes down an argument that contains a pointer that hasn't been validated. If setlabel grabs a r/w lock and then calls copyin to get the data into kernel space with a pointer that would generate a page fault, the page fault handler could grab another lock of a higher order creating a situation that could lead to a deadlock. Resolution: The setlabel() system call validates the arguments before grabbing any locks. SR: 0000000000 Patch Files: VirtualVaultOS.VVOS-KRN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: /usr/conf/lib/libsec.a(sec_calls.o) VirtualVaultOS.VVOS-KRN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: /usr/conf/lib/libsec.a(sec_calls.o) what(1) Output: VirtualVaultOS.VVOS-KRN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: /usr/conf/lib/libsec.a(sec_calls.o): $Source: kern/sec/sec_calls.c, sysmisc, vvos_rose, r ose0008 $ $Date: 99/06/09 14:27:12 $ $Revisi on: 1.46.1.19 PATCH_11.04 (PHKL_18802) $ VirtualVaultOS.VVOS-KRN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: /usr/conf/lib/libsec.a(sec_calls.o): $Source: kern/sec/sec_calls.c, sysmisc, vvos_rose, r ose0008 $ $Date: 99/06/09 14:27:12 $ $Revisi on: 1.46.1.19 PATCH_11.04 (PHKL_18802) $ cksum(1) Output: VirtualVaultOS.VVOS-KRN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: 4227537936 27556 /usr/conf/lib/libsec.a(sec_calls.o) VirtualVaultOS.VVOS-KRN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: 2973717198 70320 /usr/conf/lib/libsec.a(sec_calls.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 120 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_18802 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_18802.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_18802. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHKL_18802.depot 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_18802.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_18802.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_18802.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None