[LU-7402] double free of request in ll_atomic_open() and ll_lookup_nd() Created: 06/Nov/15  Updated: 27/Apr/16  Resolved: 27/Apr/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0
Fix Version/s: Lustre 2.9.0

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In ll_atomic_open() and ll_lookup_nd() if the file is a FIFO then we drop a reference on the request pointed to by it_data but we do not clear DISP_ENQ_OPEN_REF leading to a double free/reference drop of the request in ll_intent_release(). These cases are unreachable in practice because of OBD_CONNECT_NODEVOH.



 Comments   
Comment by Gerrit Updater [ 06/Nov/15 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/17068
Subject: LU-7402 llite: correct request handling after ll_lookup_it()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2496039f3ac7982ea568a3fe39cae4c6b82ffd4f

Comment by Joseph Gmitter (Inactive) [ 06/Nov/15 ]

Assigning to John as there is already a patch in flight.

Comment by Gerrit Updater [ 22/Apr/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17068/
Subject: LU-7402 llite: correct request handling after ll_lookup_it()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 52f06644d6c7b9c72e42f45a39f695b4a1e7bf2d

Comment by Joseph Gmitter (Inactive) [ 27/Apr/16 ]

Landed to master for 2.9.0

Generated at Sat Feb 10 02:08:35 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.