RE: [patch 2/3] Staging: sst: more dereferencing user pointers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
> This is another patch about making a copy of the data into kernel space
> before using it.  It is easy to trigger a kernel oops in the original
> code.  If you passed a NULL to SNDRV_SST_SET_TARGET_DEVICE then it
> called BUG_ON().  And SNDRV_SST_DRIVER_INFO would let you write the
> information to arbitrary memory locations which is a security violation.
> 
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
Acked by: Vinod Koul <Vinod.koul@xxxxxxxxx>

~Vinod
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux