Specifically, the underlying issue was fixed in Kinetic by these two commits:
4bd3e737cd45 Revert "UBUNTU: SAUCE: Audit: Add new record for multiple process LSM attributes"
dd547c837f7c UBUNTU: SAUCE: lsm stacking v37: Audit: Add record for multiple task security contexts
Together, these commits removed the affected function and replaced it with an implementation that does not have this memory leak.
For Kinetic, this was resolved in 5.19.0-17 by the apparmor and LSM stacking patchset described by this LP bug: https:/ /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1989983.
Specifically, the underlying issue was fixed in Kinetic by these two commits:
4bd3e737cd45 Revert "UBUNTU: SAUCE: Audit: Add new record for multiple process LSM attributes"
dd547c837f7c UBUNTU: SAUCE: lsm stacking v37: Audit: Add record for multiple task security contexts
Together, these commits removed the affected function and replaced it with an implementation that does not have this memory leak.