Linus Torvalds writes: (Summary) But that's for a faulting address when you have an invalid pointer. But that's for a faulting address when you have an invalid pointer.
That's not the case here at all.
That's not the case here at all.
Here, we've explicitly checked that it's a kernel pointer of some particular type (in a slab cache in this case), and the pointer is valid but shouldn't be copied to/from user space.
valid but shouldn't be copied to/from user space.
That's not the case here at all.
Here, we've explicitly checked that it's a kernel pointer of some particular type (in a slab cache in this case), and the pointer is valid but shouldn't be copied to/from user space.
valid but shouldn't be copied to/from user space.
So it's not something like 0xfffffffffffffff4 or 0x6e69622f7273752f. People don't actually seem to *think* about what the %p is.