Files
linux/fs/nfs
Stephen Smalley 9084ed79dd lsm,nfs: fix memory leak of lsm_context
commit b530104f50 ("lsm: lsm_context in security_dentry_init_security")
did not preserve the lsm id for subsequent release calls, which results
in a memory leak. Fix it by saving the lsm id in the nfs4_label and
providing it on the subsequent release call.

Fixes: b530104f50 ("lsm: lsm_context in security_dentry_init_security")
Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
2025-02-25 15:07:24 -05:00
..
2024-11-08 14:17:37 -05:00
2024-09-23 15:03:13 -04:00
2024-11-28 12:55:33 -05:00
2024-09-23 15:03:30 -04:00
2023-03-06 09:57:12 +01:00
2024-03-09 09:14:51 -05:00
2024-11-08 14:17:37 -05:00
2024-05-31 12:31:41 +02:00