lkml.org 
[lkml]   [2023]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] nbd: fix uaf in nbd_open
I don't think this is actually enough on it's own.  You'll also
need to move al the teardown logic that is currently in
nbd_dev_remove. And with this you should be able to remove the
NULL check in nbd_open, and propably the nbd_index_mutex critical
section. Although that'll need a very careful audit.

\
 
 \ /
  Last update: 2023-11-20 13:52    [W:0.158 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site