ntxn could blow pointer in mac_alloc()
the return value of kmem_zalloc() is not checked before using it as a pointer for assignment. The return value could be NULL, causing a blown pointer.
Updated by Yuri Pankov about 4 years ago
KM_SLEEP allocations may sleep but are guaranteed to succeed.
So it's likely shouldn't be a problem?