[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 |
| 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/ |
| Comment by Joseph Gmitter (Inactive) [ 27/Apr/16 ] |
|
Landed to master for 2.9.0 |