PROBLEM 1:	(Patch ID: OSF350-069)		(Case ID: HPXQA3279)
**********
When illegal user arguments are passed to the semop() system call, such that
exactly none of the requested operations work, the system call code continues
in a path that corrupts memory by depositing a PID number in areas beyond
the semaphore structure's allocated memory.  When this occurs, the 16-byte
elements in kmembuckets[0] are the target of the corruption.

Due to the unpredictable nature of the consequences of the memory corruption,
there is no obvious stack trace that would point to this bug.  However, here
are 3 actual traces that were caused by this bug:

>  0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903]
   1 thread_preempt() ["../../../../src/kernel/kern/sched_prim.c":3450]
   2 boot() ["../../../../src/kernel/arch/alpha/machdep.c":1679]
   3 panic("kernel memory fault") ["../../../../src/kernel/bsd/subr_prf.c":757]
   4 trap() ["../../../../src/kernel/arch/alpha/trap.c":1213]
   5 _XentMM() ["../../../../src/kernel/arch/alpha/locore.s":1307]
   6 btokup() ["../../../../src/kernel/bsd/kern_malloc.c":1058]
   7 free() ["../../../../src/kernel/bsd/kern_malloc.c":727]
   8 fifo_buffree() ["../../../../src/kernel/vfs/fifo_vnops.c":1523]
   9 fifo_close() ["../../../../src/kernel/vfs/fifo_vnops.c":525]
  10 vn_close() ["../../../../src/kernel/vfs/vfs_vnops.c":1220]
  11 closef() ["../../../../src/kernel/bsd/kern_descrip.c":1393]
  12 exit() ["../../../../src/kernel/bsd/kern_exit.c":858]
  13 psig() ["../../../../src/kernel/bsd/kern_sig.c":3926]
  14 syscall() ["../../../../src/kernel/arch/alpha/syscall_trap.c":659]
  15 _Xsyscall() ["../../../../src/kernel/arch/alpha/locore.s":1094]


>  0 boot() ["../../../../src/kernel/arch/alpha/machdep.c":1735]
   1 panic("Unaligned kernel space access from kernel mode")
        ["../../../../src/kernel/bsd/subr_prf.c":757]
   2 afault_print() ["../../../../src/kernel/arch/alpha/trap.c":1418]
   3 _XentUna() ["../../../../src/kernel/arch/alpha/locore.s":1443]
   4 malloc() ["../../../../src/kernel/bsd/kern_malloc.c":661]
   5 semop() ["../../../../src/kernel/bsd/svipc_sem.c":1210]


>  0 boot() ["../../../../src/kernel/arch/alpha/machdep.c":1735]
   1 panic("Unaligned kernel space access from kernel mode")
        ["../../../../src/kernel/bsd/subr_prf.c":757]
   2 afault_print() ["../../../../src/kernel/arch/alpha/trap.c":1418]
   3 _XentUna() ["../../../../src/kernel/arch/alpha/locore.s":1443]
   4 malloc() ["../../../../src/kernel/bsd/kern_malloc.c":661]
   5 msgsnd() ["../../../../src/kernel/bsd/svipc_msg.c":1007]
   6 syscall() ["../../../../src/kernel/arch/alpha/syscall_trap.c":519]
   7 _Xsyscall() ["../../../../src/kernel/arch/alpha/locore.s":1094]


FILE(s):

/usr/sys/BINARY/svipc_sem.o	subset OSFBIN350
CHECKSUM: 11057     21   RCS:   svipc_sem.c     Revision: 4.3.51.2
