af_key: Add lock to key dump

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

 



Subject: af_key: Add lock to key dump upstream sha 89e357d83c06b6fac581c3ca7f0ee3ae7e67109e

Please apply to 3.10, 3.18 (?, I see it is not under longterm support), 4.4 and 4.9 stable trees

Along with the stated reason (prevent a NULL pointer access), this also prevents unbounded reference counter activities which can lead to a Use After Free situation.

FYI: The back-port to 3.10.y has a minor conflict resolved by dropping one of the patch fragments. 4.4 and 4.9 were clear.

Signed-off-by: Mark Salyzyn <salyzyn@xxxxxxxxxxx>




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]