Patch Name: PHKL_23284 Patch Description: s700 10.20 mpctl(2) negative SPU check Creation Date: 01/02/05 Post Date: 01/02/19 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_23284: PANIC Path Name: /hp-ux_patches/s700/10.X/PHKL_23284 Symptoms: PHKL_23284: (SR: 8606173973 CR: JAGad43226) When mpctl() is called with MPC_GETNEXTSPU and arg1 has a negative value, the system will panic with a Data Page Fault. The stack trace is as follows: panic+0x14 report_trap_or_int_and_panic+0x80 trap+0xdb8 thandler+0xd20 mpctl+0x158 syscall+0x480 syscallinit+0x54c Defect Description: PHKL_23284: (SR: 8606173973 CR: JAGad43226) The negative SPU value represented by arg1 is not valid, but there aren't any checks for this before that value is used. The usage of the invalid SPU results in the Data Page Fault. Resolution: A check was added to cause mpctl() to return with an error if it is called with MPC_GETNEXTSPU and a negative value for arg1. SR: 8606173973 Patch Files: /usr/conf/lib/libhp-ux.a(pm_policy.o) what(1) Output: /usr/conf/lib/libhp-ux.a(pm_policy.o): pm_policy.c $Date: 2001/02/01 16:29:25 $ $Revision : 1.7.98.12 $ PATCH_10.20 (PHKL_23284) cksum(1) Output: 2834533851 16880 /usr/conf/lib/libhp-ux.a(pm_policy.o) Patch Conflicts: None Patch Dependencies: s700: 10.20: PHKL_16750 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_23285: s800: 10.20 Patch Package Size: 70 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_23284 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_23284.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_23284. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_23284.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_23284.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch depends on base patch PHKL_16750 . For successful installation, please ensure that PHKL_16750 is in the same depot with this patch, or PHKL_16750 is already installed.