Patch Name: PHKL_27279 Patch Description: s700_800 11.11 VxVM B.03.12.4 panic in vol_dump_disks() Creation Date: 02/06/27 Post Date: 02/07/19 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: HPvxvm B.03.12.4 Filesets: HPvxvm.VXVM-KRN,fr=B.03.12.4,fa=HP-UX_B.11.11_32,v=HP HPvxvm.VXVM-KRN,fr=B.03.12.4,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_27279: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_27279 Symptoms: PHKL_27279: System will panic when disk configuration is changed and "vxdctl enable" is run while Glance is running. Defect Description: PHKL_27279: The vol_dump_disks() function uses improper locking and is exposed to a race condition: After vol_dump_disks has allocated buffers to store information about a data structure, the structure grows concurrently with vol_dump_disks' execution. This causes vol_dump_disks to overflow its buffers and corrupt kernel memory. Since this is a memory corruption, the panic could occur in various places, but vol_dump_disks() will almost always be on the stack. Resolution: Fix locking strategy in vol_dump_disks(), and add new overflow checks to be sure that memory corruption will not occur. This patch also fixes related locking problems in functions voldg_dump_groups() and voldg_delete_finish(). SR: 8606264326 Patch Files: HPvxvm.VXVM-KRN,fr=B.03.12.4,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxvm.a(dg.o) /usr/conf/lib/libvxvm.a(disk.o) HPvxvm.VXVM-KRN,fr=B.03.12.4,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxvm.a(dg.o) /usr/conf/lib/libvxvm.a(disk.o) what(1) Output: HPvxvm.VXVM-KRN,fr=B.03.12.4,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxvm.a(dg.o): dg.c $Date: 2002/06/26 15:15:19 $Revision: r11.11/1 PATCH_11.11 (PHKL_27279) /usr/conf/lib/libvxvm.a(disk.o): disk.c $Date: 2002/06/26 15:14:52 $Revision: r11.11/ 1 PATCH_11.11 (PHKL_27279) HPvxvm.VXVM-KRN,fr=B.03.12.4,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxvm.a(dg.o): dg.c $Date: 2002/06/26 15:15:19 $Revision: r11.11/1 PATCH_11.11 (PHKL_27279) /usr/conf/lib/libvxvm.a(disk.o): disk.c $Date: 2002/06/26 15:14:52 $Revision: r11.11/ 1 PATCH_11.11 (PHKL_27279) cksum(1) Output: HPvxvm.VXVM-KRN,fr=B.03.12.4,fa=HP-UX_B.11.11_32,v=HP: 2742674611 10140 /usr/conf/lib/libvxvm.a(dg.o) 499237044 7816 /usr/conf/lib/libvxvm.a(disk.o) HPvxvm.VXVM-KRN,fr=B.03.12.4,fa=HP-UX_B.11.11_64,v=HP: 542664462 24256 /usr/conf/lib/libvxvm.a(dg.o) 734887618 16816 /usr/conf/lib/libvxvm.a(disk.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 80 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_27279 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_27279.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_27279. 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_27279.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_27279.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_27279.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None