[LU-5840] Should Null pointer occurrence in mdc_unpack_acl throw a warning Created: 01/Nov/14  Updated: 09/Oct/21  Resolved: 09/Oct/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0, Lustre 2.5.3
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Roland Fehrenbacher Assignee: WC Triage
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

At least ZFS based MGS/MDS/OSS


Severity: 3
Rank (Obsolete): 16368

 Description   

A possible null pointer dereference in mdc_unpack_acl was reported and fixed in LU-4787 / LU-5150. While the patch in LU-5150 just prevents the dereference, the patch in LU-4787 in addition throws a warning. As explained in LU-5150, I have indications that this NULL pointer occurence can indicate some FS corruption and is thus worthwhile to notice. Working with the patch in LU-4787 for more than half a year now, judging from our experience on multiple clusters, the issue occurs rarely (actually just on one cluster so far) so I don't see a danger of log flooding.
I therefore propose to use the patch in LU-4787.



 Comments   
Comment by Peter Jones [ 05/Nov/14 ]

Roland

Can you push the patch to gerrit so we can test and review it?

Peter

Generated at Sat Feb 10 01:54:59 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.