summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.ibm.com>2026-02-06 15:35:53 +0100
committerClaudio Imbrenda <imbrenda@linux.ibm.com>2026-02-10 11:33:34 +0100
commitf8f296ea1c61ce98a03dd9ede370adb864c4cde3 (patch)
tree5c8ecce558f6b6047853cf7f0113184b9caa2833 /scripts/checkpatch.pl
parentb6ab71a27c50942cfc10d12ca3f3c0cfb1634d19 (diff)
KVM: s390: vsie: Fix race in acquire_gmap_shadow()
The shadow gmap returned by gmap_create_shadow() could get dropped before taking the gmap->children_lock. This meant that the shadow gmap was sometimes being used while its reference count was 0. Fix this by taking the additional reference inside gmap_create_shadow() while still holding gmap->children_lock, instead of afterwards. Fixes: e38c884df921 ("KVM: s390: Switch to new gmap") Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions