Files
linux/fs
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
..
2025-02-12 18:44:50 -05:00
2024-12-05 12:31:40 +01:00
2024-12-03 10:40:36 +01:00
2024-08-21 22:32:58 +02:00
2025-02-07 10:27:24 +01:00
2025-01-27 19:25:45 -05:00
2024-11-03 01:28:06 -05:00
2024-12-09 11:34:29 +01:00
2024-12-17 09:16:11 +01:00
2024-11-03 01:28:06 -05:00
2024-11-03 01:28:06 -05:00
2024-10-21 16:29:38 +02:00
2024-10-21 16:29:38 +02:00
2025-01-09 16:58:54 +01:00
2025-01-09 16:58:52 +01:00
2025-02-07 10:27:28 +01:00
2024-11-03 01:28:07 -05:00
2024-11-03 01:28:06 -05:00
2025-01-25 20:22:31 -08:00
2024-11-03 01:28:06 -05:00
2024-11-03 01:28:06 -05:00