From: Greg KH > Sent: 16 May 2017 11:19 > Format specifier %p can leak kernel addresses while not valuing the > kptr_restrict system settings. When kptr_restrict is set to (1), kernel > pointers printed using the %pK format specifier will be replaced with > Zeros. Debugging Note : &pK prints only Zeros as address. If you need > actual address information, write 0 to kptr_restrict. > > echo 0 > /proc/sys/kernel/kptr_restrict ISTM that kptr_restrict ought to affect all %p, except a few that would be annotated as user pointers (or look at the value??). Would also be better to output (say) <restricted> rather than 0. Although 0x0 could be output for NULL pointers. David -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html