[LU-4787] OOPS from null pointer dereference in mdc_unpack_acl Created: 20/Mar/14 Updated: 01/Nov/14 Resolved: 31/Oct/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0, Lustre 2.5.1, Lustre 2.4.3 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Roland Fehrenbacher | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
ZFS based 2.5.1 MGS/MDS/OSS + 2.5.1 or in-kernel client |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 13166 | ||||||||
| Description |
|
A kernel oops is generated when body->aclsize != 0 in mdc_unpack_acl, but posix_acl_from_xattr |
| Comments |
| Comment by Roland Fehrenbacher [ 20/Mar/14 ] |
|
The attached patch fixes the issue and can be applied |
| Comment by Andreas Dilger [ 31/Oct/14 ] |
|
Roland, apologies that we didn't see the patch here. I agree it would have been better to see and land it before more people hit the bug, but at least it was fixed in 2.6, and is scheduled to land for 2.5.4 also. Thanks for bringing the missing patch back to our attention. |
| Comment by Roland Fehrenbacher [ 01/Nov/14 ] |
|
Andreas, no hard feelings about this here |